3 %bcond_without mate # MATE support module
4 %bcond_without xfce # Xfce support module
6 Summary: Delivery framework for general Input Method configuration
7 Summary(pl.UTF-8): Szkielet do ogólnej konfiguracji method wprowadzania znaków
12 Group: Applications/System
13 #Source0Download: http://code.google.com/p/imsettings/downloads/list
14 Source0: http://imsettings.googlecode.com/files/%{name}-%{version}.tar.bz2
15 # Source0-md5: eb2e37056afe2f4be4b843a6b31f5bd1
16 Patch0: %{name}-constraint-of-language.patch
17 Patch1: %{name}-no-bash.patch
18 Patch2: %{name}-format-security.patch
19 URL: http://code.google.com/p/imsettings/
20 BuildRequires: GConf2-devel >= 2.0
21 BuildRequires: dbus-devel
22 BuildRequires: desktop-file-utils
23 BuildRequires: gettext-devel
24 BuildRequires: glib2-devel >= 1:2.26.0
25 BuildRequires: gobject-introspection-devel >= 1.30.0
26 BuildRequires: gtk+2-devel >= 2:2.12.0
27 # "fallback support in GTK+"
28 #BuildRequires: gtk+3-devel >= 3.3.3
29 BuildRequires: gtk-doc >= 1.0
30 BuildRequires: libgxim-devel >= 0.3.1
31 BuildRequires: libnotify-devel >= 0.7.0
32 %{?with_mate:BuildRequires: mate-conf-devel}
33 BuildRequires: pkgconfig
34 %{?with_xfce:BuildRequires: xfconf-devel}
35 BuildRequires: xorg-lib-libX11-devel
36 Requires: %{name}-desktop-module = %{version}-%{release}
37 Requires: %{name}-libs = %{version}-%{release}
38 Requires: libnotify >= 0.7.0
40 Requires: xorg-app-xinit
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 IMSettings is a framework that delivers Input Method settings and
45 applies the changes so they take effect immediately without any need
46 to restart applications or the desktop.
48 This package contains the core DBus services and some utilities.
50 %description -l pl.UTF-8
51 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
52 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
53 natychmiast bez potrzeby restartu aplikacji ani środowiska
56 Ten pakiet zawiera główne usługi DBus oraz trochę narzędzi.
59 Summary: IMSettings library
60 Summary(pl.UTF-8): Biblioteka IMSettings
62 Requires: glib2 >= 1:2.26.0
67 %description libs -l pl.UTF-8
68 Biblioteka imsettings.
71 Summary: Header files for IMSettings library
72 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki IMSettings
73 Group: Development/Libraries
74 Requires: %{name}-libs = %{version}-%{release}
75 Requires: glib2-devel >= 1:2.26.0
78 Header files for IMSettings library.
80 %description devel -l pl.UTF-8
81 Pliki nagłówkowe biblioteki IMSettings.
84 Summary: Static IMSettings library
85 Summary(pl.UTF-8): Statyczna biblioteka IMSettings
86 Group: Development/Libraries
87 Requires: %{name}-devel = %{version}-%{release}
90 Static IMSettings library.
92 %description static -l pl.UTF-8
93 Statyczna biblioteka IMSettings.
96 Summary: XIM support on imsettings
97 Summary(pl.UTF-8): Obsługa XIM dla imsettings
98 Group: Applications/System
99 Requires: %{name} = %{version}-%{release}
101 Requires: libgxim >= 0.3.1
104 IMSettings is a framework that delivers Input Method settings and
105 applies the changes so they take effect immediately without any need
106 to restart applications or the desktop.
108 This package contains a module to get this working with XIM.
110 %description xim -l pl.UTF-8
111 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
112 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
113 natychmiast bez potrzeby restartu aplikacji ani środowiska
116 Ten pakiet zawiera moduł umożliwiający to dla usługi XIM.
119 Summary: GNOME 2 (GConf) support on imsettings
120 Summary(pl.UTF-8): Obsługa GNOME 2 (GConfa) dla imsettings
121 Group: Applications/System
122 Requires: %{name} = %{version}-%{release}
124 Provides: %{name}-desktop-module = %{version}-%{release}
127 IMSettings is a framework that delivers Input Method settings and
128 applies the changes so they take effect immediately without any need
129 to restart applications or the desktop.
131 This package contains a module to get this working on GNOME 2 (using
134 %description gnome2 -l pl.UTF-8
135 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
136 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
137 natychmiast bez potrzeby restartu aplikacji ani środowiska
140 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 2
141 (korzystających z GConfa).
144 Summary: GNOME 3 (GSettings) support on imsettings
145 Summary(pl.UTF-8): Obsługa GNOME 3 (GSettings) dla imsettings
146 Group: Applications/System
147 Requires: %{name} = %{version}-%{release}
149 Provides: %{name}-desktop-module = %{version}-%{release}
152 IMSettings is a framework that delivers Input Method settings and
153 applies the changes so they take effect immediately without any need
154 to restart applications or the desktop.
156 This package contains a module to get this working on GNOME 3 (using
159 %description gnome3 -l pl.UTF-8
160 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
161 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
162 natychmiast bez potrzeby restartu aplikacji ani środowiska
165 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 3
166 (korzystających z GSettings).
169 Summary: MATE (MateConf) support on imsettings
170 Summary(pl.UTF-8): Obsługa MATE (MateConfa) dla imsettings
171 Group: Applications/System
172 Requires: %{name} = %{version}-%{release}
174 Provides: %{name}-desktop-module = %{version}-%{release}
177 IMSettings is a framework that delivers Input Method settings and
178 applies the changes so they take effect immediately without any need
179 to restart applications or the desktop.
181 This package contains a module to get this working on MATE (using
184 %description mate -l pl.UTF-8
185 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
186 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
187 natychmiast bez potrzeby restartu aplikacji ani środowiska
190 Ten pakiet zawiera moduł umożliwiający to dla aplikacji MATE
191 (korzystających z MateConfa).
194 Summary: Qt support on imsettings
195 Summary(pl.UTF-8): Obsługa Qt dla imsettings
196 Group: Applications/System
197 Requires: %{name} = %{version}-%{release}
199 Provides: %{name}-desktop-module = %{version}-%{release}
202 IMSettings is a framework that delivers Input Method settings and
203 applies the changes so they take effect immediately without any need
204 to restart applications or the desktop.
206 This package contains a module to get this working on Qt applications.
208 %description qt -l pl.UTF-8
209 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
210 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
211 natychmiast bez potrzeby restartu aplikacji ani środowiska
214 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Qt.
217 Summary: Xfce support on imsettings
218 Summary(pl.UTF-8): Obsługa Xfce dla imsettings
219 Group: Applications/System
220 Requires: %{name} = %{version}-%{release}
222 Requires: xfce4-settings >= 4.6.0
223 Provides: %{name}-desktop-module = %{version}-%{release}
226 IMSettings is a framework that delivers Input Method settings and
227 applies the changes so they take effect immediately without any need
228 to restart applications or the desktop.
230 This package contains a module to get this working on Xfce.
232 %description xfce -l pl.UTF-8
233 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
234 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
235 natychmiast bez potrzeby restartu aplikacji ani środowiska
238 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Xfce.
241 Summary: LXDE support on imsettings
242 Summary(pl.UTF-8): Obsługa LXDE dla imsettings
243 Group: Applications/System
244 Requires: %{name} = %{version}-%{release}
245 #Requires: lxde-settings-daemon
247 Provides: %{name}-desktop-module = %{version}-%{release}
250 IMSettings is a framework that delivers Input Method settings and
251 applies the changes so they take effect immediately without any need
252 to restart applications or the desktop.
254 This package contains a module to get this working on LXDE.
256 %description lxde -l pl.UTF-8
257 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
258 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
259 natychmiast bez potrzeby restartu aplikacji ani środowiska
262 Ten pakiet zawiera moduł umożliwiający to dla aplikacji LXDE.
272 --disable-silent-rules \
273 --with-xinputsh=50-xinput.sh \
274 --with-html-dir=%{_gtkdocdir}
279 rm -rf $RPM_BUILD_ROOT
282 DESTDIR=$RPM_BUILD_ROOT
284 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
285 %{__rm} $RPM_BUILD_ROOT%{_libdir}/imsettings/*.{a,la}
290 rm -rf $RPM_BUILD_ROOT
292 %post libs -p /sbin/ldconfig
293 %postun libs -p /sbin/ldconfig
295 %files -f %{name}.lang
296 %defattr(644,root,root,755)
297 %doc AUTHORS ChangeLog NEWS README
299 %{_sysconfdir}/X11/xinit/xinitrc.d/50-xinput.sh
300 %dir %{_sysconfdir}/X11/xinit/xinput.d
301 %{_sysconfdir}/X11/xinit/xinput.d/*.conf
302 %{_sysconfdir}/xdg/autostart/imsettings-start.desktop
304 %attr(755,root,root) %{_bindir}/imsettings-reload
305 %attr(755,root,root) %{_bindir}/imsettings-list
306 %attr(755,root,root) %{_bindir}/imsettings-info
307 %attr(755,root,root) %{_bindir}/imsettings-check
308 %attr(755,root,root) %{_bindir}/imsettings-switch
310 %dir %{_libdir}/%{name}
311 %attr(755,root,root) %{_libdir}/imsettings-daemon
312 %attr(755,root,root) %{_libdir}/xinputinfo.sh
313 %{_datadir}/dbus-1/services/imsettings-daemon.service
314 %{_pixmapsdir}/imsettings-unknown.png
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_libdir}/libimsettings.so.*.*.*
319 %attr(755,root,root) %ghost %{_libdir}/libimsettings.so.5
320 %{_libdir}/girepository-1.0/IMSettings-1.3.typelib
323 %defattr(644,root,root,755)
324 %attr(755,root,root) %{_libdir}/libimsettings.so
325 %{_pkgconfigdir}/imsettings.pc
326 %{_includedir}/imsettings
327 %{_datadir}/gir-1.0/IMSettings-1.3.gir
328 %{_gtkdocdir}/imsettings
331 %defattr(644,root,root,755)
332 %{_libdir}/libimsettings.a
335 %defattr(644,root,root,755)
336 %attr(755,root,root) %{_bindir}/imsettings-xim
337 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xim.so
340 %defattr(644,root,root,755)
341 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gconf.so
344 %defattr(644,root,root,755)
345 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gsettings.so
349 %defattr(644,root,root,755)
350 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-mateconf.so
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-qt.so
359 %defattr(644,root,root,755)
360 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xfce.so
364 %defattr(644,root,root,755)
365 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-lxde.so