3 %bcond_without xfce # Xfce support module
5 Summary: Delivery framework for general Input Method configuration
6 Summary(pl.UTF-8): Szkielet do ogólnej konfiguracji method wprowadzania znaków
11 Group: Applications/System
12 #Source0Download: http://code.google.com/p/imsettings/downloads/list
13 Source0: http://imsettings.googlecode.com/files/%{name}-%{version}.tar.bz2
14 # Source0-md5: 7104a2b7413b4ba91d9e12317ec8ee6f
15 Patch0: %{name}-constraint-of-language.patch
16 Patch1: %{name}-no-bash.patch
17 URL: http://code.google.com/p/imsettings/
18 BuildRequires: GConf2-devel >= 2.0
19 BuildRequires: desktop-file-utils
20 BuildRequires: gettext-devel
21 BuildRequires: glib2-devel >= 1:2.26.0
22 BuildRequires: gtk+2-devel >= 2:2.12.0
23 BuildRequires: gtk-doc >= 1.0
24 BuildRequires: libgxim-devel >= 0.3.1
25 BuildRequires: libnotify-devel >= 0.7.0
26 BuildRequires: pkgconfig
27 %{?with_xfce:BuildRequires: xfconf-devel}
28 BuildRequires: xorg-lib-libX11-devel
29 Requires: %{name}-desktop-module = %{version}-%{release}
30 Requires: %{name}-libs = %{version}-%{release}
31 Requires: libnotify >= 0.7.0
33 Requires: xorg-app-xinit
34 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37 IMSettings is a framework that delivers Input Method settings and
38 applies the changes so they take effect immediately without any need
39 to restart applications or the desktop.
41 This package contains the core DBus services and some utilities.
43 %description -l pl.UTF-8
44 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
45 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
46 natychmiast bez potrzeby restartu aplikacji ani środowiska
49 Ten pakiet zawiera główne usługi DBus oraz trochę narzędzi.
52 Summary: IMSettings library
53 Summary(pl.UTF-8): Biblioteka IMSettings
55 Requires: glib2 >= 1:2.26.0
60 %description libs -l pl.UTF-8
61 Biblioteka imsettings.
64 Summary: Header files for IMSettings library
65 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki IMSettings
66 Group: Development/Libraries
67 Requires: %{name}-libs = %{version}-%{release}
68 Requires: glib2-devel >= 1:2.26.0
71 Header files for IMSettings library.
73 %description devel -l pl.UTF-8
74 Pliki nagłówkowe biblioteki IMSettings.
77 Summary: Static IMSettings library
78 Summary(pl.UTF-8): Statyczna biblioteka IMSettings
79 Group: Development/Libraries
80 Requires: %{name}-devel = %{version}-%{release}
83 Static IMSettings library.
85 %description static -l pl.UTF-8
86 Statyczna biblioteka IMSettings.
89 Summary: XIM support on imsettings
90 Summary(pl.UTF-8): Obsługa XIM dla imsettings
91 Group: Applications/System
92 Requires: %{name} = %{version}-%{release}
94 Requires: libgxim >= 0.3.1
97 IMSettings is a framework that delivers Input Method settings and
98 applies the changes so they take effect immediately without any need
99 to restart applications or the desktop.
101 This package contains a module to get this working with XIM.
103 %description xim -l pl.UTF-8
104 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
105 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
106 natychmiast bez potrzeby restartu aplikacji ani środowiska
109 Ten pakiet zawiera moduł umożliwiający to dla usługi XIM.
112 Summary: GNOME 2 (GConf) support on imsettings
113 Summary(pl.UTF-8): Obsługa GNOME 2 (GConf) dla imsettings
114 Group: Applications/System
115 Requires: %{name} = %{version}-%{release}
117 Provides: %{name}-desktop-module = %{version}-%{release}
120 IMSettings is a framework that delivers Input Method settings and
121 applies the changes so they take effect immediately without any need
122 to restart applications or the desktop.
124 This package contains a module to get this working on GNOME 2 (using
127 %description gnome2 -l pl.UTF-8
128 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
129 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
130 natychmiast bez potrzeby restartu aplikacji ani środowiska
133 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 2
134 (korzystających z GConfa).
137 Summary: GNOME 3 (GSettings) support on imsettings
138 Summary(pl.UTF-8): Obsługa GNOME 3 (GSettings) dla imsettings
139 Group: Applications/System
140 Requires: %{name} = %{version}-%{release}
142 Provides: %{name}-desktop-module = %{version}-%{release}
145 IMSettings is a framework that delivers Input Method settings and
146 applies the changes so they take effect immediately without any need
147 to restart applications or the desktop.
149 This package contains a module to get this working on GNOME 3 (using
152 %description gnome3 -l pl.UTF-8
153 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
154 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
155 natychmiast bez potrzeby restartu aplikacji ani środowiska
158 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 3
159 (korzystających z GSettings).
162 Summary: Qt support on imsettings
163 Summary(pl.UTF-8): Obsługa Qt dla imsettings
164 Group: Applications/System
165 Requires: %{name} = %{version}-%{release}
167 Provides: %{name}-desktop-module = %{version}-%{release}
170 IMSettings is a framework that delivers Input Method settings and
171 applies the changes so they take effect immediately without any need
172 to restart applications or the desktop.
174 This package contains a module to get this working on Qt applications.
176 %description qt -l pl.UTF-8
177 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
178 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
179 natychmiast bez potrzeby restartu aplikacji ani środowiska
182 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Qt.
185 Summary: Xfce support on imsettings
186 Summary(pl.UTF-8): Obsługa Xfce dla imsettings
187 Group: Applications/System
188 Requires: %{name} = %{version}-%{release}
190 Requires: xfce4-settings >= 4.6.0
191 Provides: %{name}-desktop-module = %{version}-%{release}
194 IMSettings is a framework that delivers Input Method settings and
195 applies the changes so they take effect immediately without any need
196 to restart applications or the desktop.
198 This package contains a module to get this working on Xfce.
200 %description xfce -l pl.UTF-8
201 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
202 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
203 natychmiast bez potrzeby restartu aplikacji ani środowiska
206 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Xfce.
209 Summary: LXDE support on imsettings
210 Summary(pl.UTF-8): Obsługa LXDE dla imsettings
211 Group: Applications/System
212 Requires: %{name} = %{version}-%{release}
213 #Requires: lxde-settings-daemon
215 Provides: %{name}-desktop-module = %{version}-%{release}
218 IMSettings is a framework that delivers Input Method settings and
219 applies the changes so they take effect immediately without any need
220 to restart applications or the desktop.
222 This package contains a module to get this working on LXDE.
224 %description lxde -l pl.UTF-8
225 IMSettings to szkielet udostępniający ustawienia metod wprowadzania
226 znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
227 natychmiast bez potrzeby restartu aplikacji ani środowiska
230 Ten pakiet zawiera moduł umożliwiający to dla aplikacji LXDE.
239 --with-xinputsh=50-xinput.sh \
240 --with-html-dir=%{_gtkdocdir}
245 rm -rf $RPM_BUILD_ROOT
248 DESTDIR=$RPM_BUILD_ROOT
250 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
251 %{__rm} $RPM_BUILD_ROOT%{_libdir}/imsettings/*.{a,la}
256 rm -rf $RPM_BUILD_ROOT
258 %post libs -p /sbin/ldconfig
259 %postun libs -p /sbin/ldconfig
261 %files -f %{name}.lang
262 %defattr(644,root,root,755)
263 %doc AUTHORS ChangeLog NEWS README
265 %{_sysconfdir}/X11/xinit/xinitrc.d/50-xinput.sh
266 %dir %{_sysconfdir}/X11/xinit/xinput.d
267 %{_sysconfdir}/X11/xinit/xinput.d/*.conf
268 %{_sysconfdir}/xdg/autostart/imsettings-start.desktop
270 %attr(755,root,root) %{_bindir}/imsettings-reload
271 %attr(755,root,root) %{_bindir}/imsettings-list
272 %attr(755,root,root) %{_bindir}/imsettings-info
273 %attr(755,root,root) %{_bindir}/imsettings-check
274 %attr(755,root,root) %{_bindir}/imsettings-switch
276 %dir %{_libdir}/%{name}
277 %attr(755,root,root) %{_libdir}/imsettings-daemon
278 %attr(755,root,root) %{_libdir}/xinputinfo.sh
279 %{_datadir}/dbus-1/services/imsettings-daemon.service
280 %{_pixmapsdir}/imsettings-unknown.png
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/libimsettings.so.*.*.*
285 %attr(755,root,root) %ghost %{_libdir}/libimsettings.so.5
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/libimsettings.so
290 %{_pkgconfigdir}/imsettings.pc
291 %{_includedir}/imsettings
292 %{_gtkdocdir}/imsettings
295 %defattr(644,root,root,755)
296 %{_libdir}/libimsettings.a
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_bindir}/imsettings-xim
301 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xim.so
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gconf.so
308 %defattr(644,root,root,755)
309 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gsettings.so
312 %defattr(644,root,root,755)
313 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-qt.so
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xfce.so
322 %defattr(644,root,root,755)
323 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-lxde.so