]> git.pld-linux.org Git - packages/imsettings.git/blame - imsettings.spec
- missed hunk in patch
[packages/imsettings.git] / imsettings.spec
CommitLineData
cd384468
JB
1#
2# Conditional build:
90d7596d 3%bcond_without mate # MATE support module
cd384468
JB
4%bcond_without xfce # Xfce support module
5#
90527fe8 6Summary: Delivery framework for general Input Method configuration
cd384468 7Summary(pl.UTF-8): Szkielet do ogólnej konfiguracji method wprowadzania znaków
90527fe8 8Name: imsettings
11261e79 9Version: 1.4.0
d168b977 10Release: 3
cd384468 11License: LGPL v2+
90527fe8 12Group: Applications/System
cd384468 13#Source0Download: http://code.google.com/p/imsettings/downloads/list
90527fe8 14Source0: http://imsettings.googlecode.com/files/%{name}-%{version}.tar.bz2
11261e79 15# Source0-md5: eb2e37056afe2f4be4b843a6b31f5bd1
90527fe8 16Patch0: %{name}-constraint-of-language.patch
8c5db2e1 17Patch1: %{name}-no-bash.patch
ceaa4e5c 18Patch2: %{name}-format-security.patch
90527fe8 19URL: http://code.google.com/p/imsettings/
cd384468 20BuildRequires: GConf2-devel >= 2.0
501f6d48 21BuildRequires: dbus-devel
90527fe8
JR
22BuildRequires: desktop-file-utils
23BuildRequires: gettext-devel
cd384468 24BuildRequires: glib2-devel >= 1:2.26.0
b312cd55 25BuildRequires: gobject-introspection-devel >= 1.30.0
cd384468 26BuildRequires: gtk+2-devel >= 2:2.12.0
857bdfe0
JB
27# "fallback support in GTK+"
28#BuildRequires: gtk+3-devel >= 3.3.3
cd384468 29BuildRequires: gtk-doc >= 1.0
90527fe8 30BuildRequires: libgxim-devel >= 0.3.1
cd384468 31BuildRequires: libnotify-devel >= 0.7.0
90d7596d 32%{?with_mate:BuildRequires: mate-conf-devel}
cd384468
JB
33BuildRequires: pkgconfig
34%{?with_xfce:BuildRequires: xfconf-devel}
90527fe8 35BuildRequires: xorg-lib-libX11-devel
cd384468
JB
36Requires: %{name}-desktop-module = %{version}-%{release}
37Requires: %{name}-libs = %{version}-%{release}
38Requires: libnotify >= 0.7.0
90527fe8
JR
39Requires: xinitrc-ng
40Requires: xorg-app-xinit
41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
42
43%description
44IMSettings is a framework that delivers Input Method settings and
45applies the changes so they take effect immediately without any need
46to restart applications or the desktop.
47
48This package contains the core DBus services and some utilities.
49
cd384468
JB
50%description -l pl.UTF-8
51IMSettings to szkielet udostępniający ustawienia metod wprowadzania
52znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
53natychmiast bez potrzeby restartu aplikacji ani środowiska
54graficznego.
55
56Ten pakiet zawiera główne usługi DBus oraz trochę narzędzi.
90527fe8
JR
57
58%package libs
59Summary: IMSettings library
60Summary(pl.UTF-8): Biblioteka IMSettings
61Group: Libraries
cd384468 62Requires: glib2 >= 1:2.26.0
90527fe8
JR
63
64%description libs
65IMSettings library.
66
67%description libs -l pl.UTF-8
68Biblioteka imsettings.
69
70%package devel
71Summary: Header files for IMSettings library
72Summary(pl.UTF-8): Pliki nagłówkowe biblioteki IMSettings
73Group: Development/Libraries
74Requires: %{name}-libs = %{version}-%{release}
cd384468 75Requires: glib2-devel >= 1:2.26.0
90527fe8
JR
76
77%description devel
78Header files for IMSettings library.
79
80%description devel -l pl.UTF-8
81Pliki nagłówkowe biblioteki IMSettings.
82
83%package static
84Summary: Static IMSettings library
85Summary(pl.UTF-8): Statyczna biblioteka IMSettings
86Group: Development/Libraries
87Requires: %{name}-devel = %{version}-%{release}
88
89%description static
90Static IMSettings library.
91
92%description static -l pl.UTF-8
93Statyczna biblioteka IMSettings.
94
cd384468 95%package xim
90527fe8 96Summary: XIM support on imsettings
cd384468 97Summary(pl.UTF-8): Obsługa XIM dla imsettings
90527fe8
JR
98Group: Applications/System
99Requires: %{name} = %{version}-%{release}
100Requires: im-chooser
cd384468 101Requires: libgxim >= 0.3.1
90527fe8 102
cd384468 103%description xim
90527fe8
JR
104IMSettings is a framework that delivers Input Method settings and
105applies the changes so they take effect immediately without any need
106to restart applications or the desktop.
107
108This package contains a module to get this working with XIM.
109
cd384468
JB
110%description xim -l pl.UTF-8
111IMSettings to szkielet udostępniający ustawienia metod wprowadzania
112znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
113natychmiast bez potrzeby restartu aplikacji ani środowiska
114graficznego.
115
116Ten pakiet zawiera moduł umożliwiający to dla usługi XIM.
117
118%package gnome2
119Summary: GNOME 2 (GConf) support on imsettings
90d7596d 120Summary(pl.UTF-8): Obsługa GNOME 2 (GConfa) dla imsettings
90527fe8
JR
121Group: Applications/System
122Requires: %{name} = %{version}-%{release}
123Requires: im-chooser
cd384468 124Provides: %{name}-desktop-module = %{version}-%{release}
90527fe8 125
cd384468 126%description gnome2
90527fe8
JR
127IMSettings is a framework that delivers Input Method settings and
128applies the changes so they take effect immediately without any need
129to restart applications or the desktop.
130
cd384468
JB
131This package contains a module to get this working on GNOME 2 (using
132GConf).
90527fe8 133
cd384468
JB
134%description gnome2 -l pl.UTF-8
135IMSettings to szkielet udostępniający ustawienia metod wprowadzania
136znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
137natychmiast bez potrzeby restartu aplikacji ani środowiska
138graficznego.
139
140Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 2
141(korzystających z GConfa).
142
143%package gnome3
144Summary: GNOME 3 (GSettings) support on imsettings
145Summary(pl.UTF-8): Obsługa GNOME 3 (GSettings) dla imsettings
90527fe8
JR
146Group: Applications/System
147Requires: %{name} = %{version}-%{release}
148Requires: im-chooser
cd384468 149Provides: %{name}-desktop-module = %{version}-%{release}
90527fe8 150
cd384468 151%description gnome3
90527fe8
JR
152IMSettings is a framework that delivers Input Method settings and
153applies the changes so they take effect immediately without any need
154to restart applications or the desktop.
155
cd384468
JB
156This package contains a module to get this working on GNOME 3 (using
157GSettings).
158
159%description gnome3 -l pl.UTF-8
160IMSettings to szkielet udostępniający ustawienia metod wprowadzania
161znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
162natychmiast bez potrzeby restartu aplikacji ani środowiska
163graficznego.
90527fe8 164
cd384468
JB
165Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 3
166(korzystających z GSettings).
167
90d7596d
JB
168%package mate
169Summary: MATE (MateConf) support on imsettings
170Summary(pl.UTF-8): Obsługa MATE (MateConfa) dla imsettings
171Group: Applications/System
172Requires: %{name} = %{version}-%{release}
173Requires: im-chooser
174Provides: %{name}-desktop-module = %{version}-%{release}
175
176%description mate
177IMSettings is a framework that delivers Input Method settings and
178applies the changes so they take effect immediately without any need
179to restart applications or the desktop.
180
181This package contains a module to get this working on MATE (using
182MateConf).
183
184%description mate -l pl.UTF-8
185IMSettings to szkielet udostępniający ustawienia metod wprowadzania
186znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
187natychmiast bez potrzeby restartu aplikacji ani środowiska
188graficznego.
189
190Ten pakiet zawiera moduł umożliwiający to dla aplikacji MATE
191(korzystających z MateConfa).
192
cd384468 193%package qt
90527fe8 194Summary: Qt support on imsettings
cd384468 195Summary(pl.UTF-8): Obsługa Qt dla imsettings
90527fe8
JR
196Group: Applications/System
197Requires: %{name} = %{version}-%{release}
198Requires: im-chooser
cd384468 199Provides: %{name}-desktop-module = %{version}-%{release}
90527fe8 200
cd384468 201%description qt
90527fe8
JR
202IMSettings is a framework that delivers Input Method settings and
203applies the changes so they take effect immediately without any need
204to restart applications or the desktop.
205
206This package contains a module to get this working on Qt applications.
207
cd384468
JB
208%description qt -l pl.UTF-8
209IMSettings to szkielet udostępniający ustawienia metod wprowadzania
210znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
211natychmiast bez potrzeby restartu aplikacji ani środowiska
212graficznego.
213
214Ten pakiet zawiera moduł umożliwiający to dla aplikacji Qt.
215
216%package xfce
90527fe8 217Summary: Xfce support on imsettings
cd384468 218Summary(pl.UTF-8): Obsługa Xfce dla imsettings
90527fe8
JR
219Group: Applications/System
220Requires: %{name} = %{version}-%{release}
221Requires: im-chooser
222Requires: xfce4-settings >= 4.6.0
cd384468 223Provides: %{name}-desktop-module = %{version}-%{release}
90527fe8 224
cd384468 225%description xfce
90527fe8
JR
226IMSettings is a framework that delivers Input Method settings and
227applies the changes so they take effect immediately without any need
228to restart applications or the desktop.
229
230This package contains a module to get this working on Xfce.
231
cd384468
JB
232%description xfce -l pl.UTF-8
233IMSettings to szkielet udostępniający ustawienia metod wprowadzania
234znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
235natychmiast bez potrzeby restartu aplikacji ani środowiska
236graficznego.
237
238Ten pakiet zawiera moduł umożliwiający to dla aplikacji Xfce.
239
240%package lxde
90527fe8 241Summary: LXDE support on imsettings
cd384468 242Summary(pl.UTF-8): Obsługa LXDE dla imsettings
90527fe8
JR
243Group: Applications/System
244Requires: %{name} = %{version}-%{release}
aed6bafe 245#Requires: lxde-settings-daemon
90527fe8 246Requires: lxsession
cd384468 247Provides: %{name}-desktop-module = %{version}-%{release}
90527fe8 248
cd384468 249%description lxde
90527fe8
JR
250IMSettings is a framework that delivers Input Method settings and
251applies the changes so they take effect immediately without any need
252to restart applications or the desktop.
253
254This package contains a module to get this working on LXDE.
255
cd384468
JB
256%description lxde -l pl.UTF-8
257IMSettings to szkielet udostępniający ustawienia metod wprowadzania
258znaków (Input Method) i wykonujący zmiany tak, że wchodzą w życie
259natychmiast bez potrzeby restartu aplikacji ani środowiska
260graficznego.
261
262Ten pakiet zawiera moduł umożliwiający to dla aplikacji LXDE.
263
90527fe8
JR
264%prep
265%setup -q
266%patch0 -p1
8c5db2e1 267%patch1 -p1
ceaa4e5c 268%patch2 -p1
90527fe8
JR
269
270%build
271%configure \
a9984d9e 272 --disable-silent-rules \
90527fe8
JR
273 --with-xinputsh=50-xinput.sh \
274 --with-html-dir=%{_gtkdocdir}
275
276%{__make}
277
278%install
279rm -rf $RPM_BUILD_ROOT
280
281%{__make} install \
282 DESTDIR=$RPM_BUILD_ROOT
283
284%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
285%{__rm} $RPM_BUILD_ROOT%{_libdir}/imsettings/*.{a,la}
286
287%find_lang %{name}
288
289%clean
290rm -rf $RPM_BUILD_ROOT
291
292%post libs -p /sbin/ldconfig
293%postun libs -p /sbin/ldconfig
294
295%files -f %{name}.lang
296%defattr(644,root,root,755)
297%doc AUTHORS ChangeLog NEWS README
298
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
303
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
309
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
315
316%files libs
317%defattr(644,root,root,755)
318%attr(755,root,root) %{_libdir}/libimsettings.so.*.*.*
cd384468 319%attr(755,root,root) %ghost %{_libdir}/libimsettings.so.5
4c331558 320%{_libdir}/girepository-1.0/IMSettings-1.3.typelib
90527fe8
JR
321
322%files devel
323%defattr(644,root,root,755)
324%attr(755,root,root) %{_libdir}/libimsettings.so
325%{_pkgconfigdir}/imsettings.pc
326%{_includedir}/imsettings
4c331558 327%{_datadir}/gir-1.0/IMSettings-1.3.gir
90527fe8
JR
328%{_gtkdocdir}/imsettings
329
330%files static
331%defattr(644,root,root,755)
332%{_libdir}/libimsettings.a
333
cd384468 334%files xim
90527fe8
JR
335%defattr(644,root,root,755)
336%attr(755,root,root) %{_bindir}/imsettings-xim
337%attr(755,root,root) %{_libdir}/%{name}/libimsettings-xim.so
338
cd384468 339%files gnome2
90527fe8
JR
340%defattr(644,root,root,755)
341%attr(755,root,root) %{_libdir}/%{name}/libimsettings-gconf.so
342
cd384468 343%files gnome3
90527fe8
JR
344%defattr(644,root,root,755)
345%attr(755,root,root) %{_libdir}/%{name}/libimsettings-gsettings.so
346
90d7596d
JB
347%if %{with mate}
348%files mate
349%defattr(644,root,root,755)
350%attr(755,root,root) %{_libdir}/%{name}/libimsettings-mateconf.so
351%endif
352
cd384468 353%files qt
90527fe8
JR
354%defattr(644,root,root,755)
355%attr(755,root,root) %{_libdir}/%{name}/libimsettings-qt.so
356
cd384468
JB
357%if %{with xfce}
358%files xfce
90527fe8
JR
359%defattr(644,root,root,755)
360%attr(755,root,root) %{_libdir}/%{name}/libimsettings-xfce.so
cd384468 361%endif
90527fe8 362
cd384468 363%files lxde
90527fe8
JR
364%defattr(644,root,root,755)
365%attr(755,root,root) %{_libdir}/%{name}/libimsettings-lxde.so
This page took 0.168483 seconds and 4 git commands to generate.