]> git.pld-linux.org Git - packages/imsettings.git/blob - imsettings.spec
- updated to 1.2.6
[packages/imsettings.git] / imsettings.spec
1 #
2 # Conditional build:
3 %bcond_without  xfce    # Xfce support module
4 #
5 Summary:        Delivery framework for general Input Method configuration
6 Summary(pl.UTF-8):      Szkielet do ogólnej konfiguracji method wprowadzania znaków
7 Name:           imsettings
8 Version:        1.2.6
9 Release:        1
10 License:        LGPL v2+
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
32 Requires:       xinitrc-ng
33 Requires:       xorg-app-xinit
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
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.
40
41 This package contains the core DBus services and some utilities.
42
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
47 graficznego.
48
49 Ten pakiet zawiera główne usługi DBus oraz trochę narzędzi.
50
51 %package libs
52 Summary:        IMSettings library
53 Summary(pl.UTF-8):      Biblioteka IMSettings
54 Group:          Libraries
55 Requires:       glib2 >= 1:2.26.0
56
57 %description libs
58 IMSettings library.
59
60 %description libs -l pl.UTF-8
61 Biblioteka imsettings.
62
63 %package devel
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
69
70 %description devel
71 Header files for IMSettings library.
72
73 %description devel -l pl.UTF-8
74 Pliki nagłówkowe biblioteki IMSettings.
75
76 %package static
77 Summary:        Static IMSettings library
78 Summary(pl.UTF-8):      Statyczna biblioteka IMSettings
79 Group:          Development/Libraries
80 Requires:       %{name}-devel = %{version}-%{release}
81
82 %description static
83 Static IMSettings library.
84
85 %description static -l pl.UTF-8
86 Statyczna biblioteka IMSettings.
87
88 %package xim
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}
93 Requires:       im-chooser
94 Requires:       libgxim >= 0.3.1
95
96 %description xim
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.
100
101 This package contains a module to get this working with XIM.
102
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
107 graficznego.
108
109 Ten pakiet zawiera moduł umożliwiający to dla usługi XIM.
110
111 %package gnome2
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}
116 Requires:       im-chooser
117 Provides:       %{name}-desktop-module = %{version}-%{release}
118
119 %description gnome2
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.
123
124 This package contains a module to get this working on GNOME 2 (using
125 GConf).
126
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
131 graficznego.
132
133 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 2
134 (korzystających z GConfa).
135
136 %package gnome3
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}
141 Requires:       im-chooser
142 Provides:       %{name}-desktop-module = %{version}-%{release}
143
144 %description gnome3
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.
148
149 This package contains a module to get this working on GNOME 3 (using
150 GSettings).
151
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
156 graficznego.
157
158 Ten pakiet zawiera moduł umożliwiający to dla aplikacji GNOME 3
159 (korzystających z GSettings).
160
161 %package qt
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}
166 Requires:       im-chooser
167 Provides:       %{name}-desktop-module = %{version}-%{release}
168
169 %description qt
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.
173
174 This package contains a module to get this working on Qt applications.
175
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
180 graficznego.
181
182 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Qt.
183
184 %package xfce
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}
189 Requires:       im-chooser
190 Requires:       xfce4-settings >= 4.6.0
191 Provides:       %{name}-desktop-module = %{version}-%{release}
192
193 %description xfce
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.
197
198 This package contains a module to get this working on Xfce.
199
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
204 graficznego.
205
206 Ten pakiet zawiera moduł umożliwiający to dla aplikacji Xfce.
207
208 %package lxde
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
214 Requires:       lxsession
215 Provides:       %{name}-desktop-module = %{version}-%{release}
216
217 %description lxde
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.
221
222 This package contains a module to get this working on LXDE.
223
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
228 graficznego.
229
230 Ten pakiet zawiera moduł umożliwiający to dla aplikacji LXDE.
231
232 %prep
233 %setup -q
234 %patch0 -p1
235 %patch1 -p1
236
237 %build
238 %configure \
239         --with-xinputsh=50-xinput.sh \
240         --with-html-dir=%{_gtkdocdir}
241
242 %{__make}
243
244 %install
245 rm -rf $RPM_BUILD_ROOT
246
247 %{__make} install \
248         DESTDIR=$RPM_BUILD_ROOT
249
250 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
251 %{__rm} $RPM_BUILD_ROOT%{_libdir}/imsettings/*.{a,la}
252
253 %find_lang %{name}
254
255 %clean
256 rm -rf $RPM_BUILD_ROOT
257
258 %post   libs -p /sbin/ldconfig
259 %postun libs -p /sbin/ldconfig
260
261 %files -f %{name}.lang
262 %defattr(644,root,root,755)
263 %doc AUTHORS ChangeLog NEWS README
264
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
269
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
275
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
281
282 %files libs
283 %defattr(644,root,root,755)
284 %attr(755,root,root) %{_libdir}/libimsettings.so.*.*.*
285 %attr(755,root,root) %ghost %{_libdir}/libimsettings.so.5
286
287 %files devel
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_libdir}/libimsettings.so
290 %{_pkgconfigdir}/imsettings.pc
291 %{_includedir}/imsettings
292 %{_gtkdocdir}/imsettings
293
294 %files static
295 %defattr(644,root,root,755)
296 %{_libdir}/libimsettings.a
297
298 %files xim
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_bindir}/imsettings-xim
301 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xim.so
302
303 %files gnome2
304 %defattr(644,root,root,755)
305 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gconf.so
306
307 %files gnome3
308 %defattr(644,root,root,755)
309 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-gsettings.so
310
311 %files qt
312 %defattr(644,root,root,755)
313 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-qt.so
314
315 %if %{with xfce}
316 %files xfce
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-xfce.so
319 %endif
320
321 %files lxde
322 %defattr(644,root,root,755)
323 %attr(755,root,root) %{_libdir}/%{name}/libimsettings-lxde.so
This page took 0.125502 seconds and 3 git commands to generate.