]>
Commit | Line | Data |
---|---|---|
95b32668 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
320931eb | 5 | Summary: Enlightened Core X interface library |
967c161c | 6 | Summary(pl.UTF-8): Biblioteka interfejsu X Enlightened Core |
320931eb | 7 | Name: ecore |
62c463f2 | 8 | Version: 0.9.9.036 |
06ec10f2 | 9 | Release: 5 |
320931eb | 10 | License: BSD |
11 | Group: X11/Libraries | |
c3b5ffaf | 12 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
62c463f2 | 13 | # Source0-md5: b2f3ba94aa47a885c77c3ad7a686ee42 |
7fdb4a0f | 14 | URL: http://enlightenment.org/Libraries/Ecore/ |
8bd9691e | 15 | BuildRequires: DirectFB-devel |
320931eb | 16 | BuildRequires: autoconf |
17 | BuildRequires: automake | |
fcac574f | 18 | BuildRequires: curl-devel |
320931eb | 19 | BuildRequires: evas-devel |
20 | BuildRequires: libtool | |
21 | BuildRequires: openssl-devel | |
c3b5ffaf | 22 | BuildRequires: pkgconfig |
8bd9691e | 23 | BuildRequires: xorg-lib-libXScrnSaver-devel |
24 | BuildRequires: xorg-lib-libXcursor-devel | |
25 | BuildRequires: xorg-lib-libXdamage-devel | |
26 | BuildRequires: xorg-lib-libXinerama-devel | |
27 | BuildRequires: xorg-lib-libXp-devel | |
28 | BuildRequires: xorg-lib-libXrandr-devel | |
76bceaba | 29 | Obsoletes: ecore-libs |
320931eb | 30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
4acfc032 | 32 | %undefine __cxx |
33 | ||
320931eb | 34 | %description |
35 | Ecore is the event/X abstraction layer that makes doing selections, | |
36 | Xdnd, general X stuff, event loops, timeouts and idle handlers fast, | |
37 | optimized, and convenient. It's a separate library so anyone can make | |
38 | use of the work put into Ecore to make this job easy for applications. | |
39 | ||
e84a11fe JR |
40 | %description -l pl.UTF-8 |
41 | Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie | |
42 | zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i | |
43 | bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona | |
44 | biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do | |
45 | ułatwienia swojej pracy przy aplikacjach. | |
f95d65ff | 46 | |
76bceaba | 47 | %package con |
48 | Summary: Ecore Connection Library | |
967c161c | 49 | Summary(pl.UTF-8): Biblioteka połączeń Ecore |
76bceaba | 50 | Group: Libraries |
51 | Requires: %{name} = %{version}-%{release} | |
52 | Conflicts: ecore-libs | |
53 | ||
54 | %description con | |
55 | Ecore Connection Library. | |
56 | ||
e84a11fe JR |
57 | %description con -l pl.UTF-8 |
58 | Biblioteka połączeń Ecore. | |
4127e42d | 59 | |
76bceaba | 60 | %package config |
61 | Summary: Ecore Enlightened Property Library | |
967c161c | 62 | Summary(pl.UTF-8): Biblioteka właściwości Ecore |
76bceaba | 63 | Group: Libraries |
64 | Requires: %{name} = %{version}-%{release} | |
65 | Conflicts: ecore-libs | |
66 | ||
67 | %description config | |
68 | Ecore Enlightened Property Library. | |
69 | ||
e84a11fe JR |
70 | %description config -l pl.UTF-8 |
71 | Biblioteka właściwości Ecore. | |
4127e42d | 72 | |
76bceaba | 73 | %package dbus |
74 | Summary: Ecore DBus Library | |
967c161c | 75 | Summary(pl.UTF-8): Biblioteka Ecore DBus |
76bceaba | 76 | Group: Libraries |
77 | Requires: %{name} = %{version}-%{release} | |
78 | Conflicts: ecore-libs | |
79 | ||
80 | %description dbus | |
81 | Ecore DBus Library. | |
82 | ||
e84a11fe | 83 | %description dbus -l pl.UTF-8 |
4127e42d JB |
84 | Biblioteka Ecore DBus. |
85 | ||
76bceaba | 86 | %package desktop |
87 | Summary: Ecore freedesktop.org .desktop, icon, menu parsing Library | |
967c161c | 88 | Summary(pl.UTF-8): Biblioteka przetwarzania plików .desktop, ikon i menu |
ef89d0f2 | 89 | Group: X11/Libraries |
76bceaba | 90 | Requires: %{name} = %{version}-%{release} |
91 | Conflicts: ecore-libs | |
92 | ||
93 | %description desktop | |
94 | Ecore freedesktop.org .desktop, icon, menu parsing Library. | |
95 | ||
e84a11fe JR |
96 | %description desktop -l pl.UTF-8 |
97 | Biblioteka przetwarzania plików .desktop, ikon i menu. | |
4127e42d | 98 | |
76bceaba | 99 | %package directfb |
100 | Summary: Ecore frame buffer system functions | |
967c161c | 101 | Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore |
76bceaba | 102 | Group: Libraries |
103 | Requires: %{name} = %{version}-%{release} | |
104 | Conflicts: ecore-libs | |
105 | ||
106 | %description directfb | |
107 | Ecore frame buffer system functions. | |
108 | ||
e84a11fe | 109 | %description directfb -l pl.UTF-8 |
4127e42d JB |
110 | Funkcje systemowe framebuffera Ecore. |
111 | ||
76bceaba | 112 | %package evas |
113 | Summary: Ecore Evas Wrapper Library | |
967c161c | 114 | Summary(pl.UTF-8): Biblioteka Ecore Evas Wrapper |
76bceaba | 115 | Group: Libraries |
116 | Requires: %{name} = %{version}-%{release} | |
117 | Conflicts: ecore-libs | |
118 | ||
119 | %description evas | |
120 | Ecore Evas Wrapper Library. | |
121 | ||
e84a11fe | 122 | %description evas -l pl.UTF-8 |
4127e42d JB |
123 | Biblioteka Ecore Evas Wrapper. |
124 | ||
76bceaba | 125 | %package fb |
126 | Summary: Ecore frame buffer system functions | |
967c161c | 127 | Summary(pl.UTF-8): Funkcje systemowe framebuffera Ecore |
76bceaba | 128 | Group: Libraries |
129 | Requires: %{name} = %{version}-%{release} | |
130 | Conflicts: ecore-libs | |
ef89d0f2 | 131 | |
76bceaba | 132 | %description fb |
133 | Ecore frame buffer system functions. | |
ef89d0f2 | 134 | |
e84a11fe | 135 | %description fb -l pl.UTF-8 |
4127e42d JB |
136 | Funkcje systemowe framebuffera Ecore. |
137 | ||
76bceaba | 138 | %package file |
139 | Summary: Ecore File Library | |
967c161c | 140 | Summary(pl.UTF-8): Biblioteka Ecore File |
76bceaba | 141 | Group: Libraries |
142 | Requires: %{name} = %{version}-%{release} | |
143 | Conflicts: ecore-libs | |
144 | ||
145 | %description file | |
146 | Ecore File Library. | |
147 | ||
e84a11fe | 148 | %description file -l pl.UTF-8 |
4127e42d JB |
149 | Biblioteka Ecore File. |
150 | ||
76bceaba | 151 | %package ipc |
152 | Summary: Ecore inter-process communication functions | |
967c161c | 153 | Summary(pl.UTF-8): Funkcje komunikacji międzyprocesowej Ecore |
76bceaba | 154 | Group: Libraries |
155 | Requires: %{name} = %{version}-%{release} | |
156 | Conflicts: ecore-libs | |
157 | ||
158 | %description ipc | |
159 | Ecore inter-process communication functions. | |
160 | ||
e84a11fe JR |
161 | %description ipc -l pl.UTF-8 |
162 | Funkcje komunikacji międzyprocesowej Ecore. | |
4127e42d | 163 | |
76bceaba | 164 | %package job |
165 | Summary: Ecore job dealing functions | |
967c161c | 166 | Summary(pl.UTF-8): Funkcje obsługi zadań Ecore |
76bceaba | 167 | Group: Libraries |
168 | Requires: %{name} = %{version}-%{release} | |
169 | Conflicts: ecore-libs | |
170 | ||
171 | %description job | |
172 | Ecore job dealing functions. | |
173 | ||
e84a11fe JR |
174 | %description job -l pl.UTF-8 |
175 | Funkcje obsługi zadań Ecore. | |
4127e42d | 176 | |
76bceaba | 177 | %package txt |
178 | Summary: Ecore text encoding conversion functions | |
967c161c | 179 | Summary(pl.UTF-8): Funkcje konwersji kodowania tekstu Ecore |
76bceaba | 180 | Group: Libraries |
181 | Requires: %{name} = %{version}-%{release} | |
182 | Conflicts: ecore-libs | |
183 | ||
184 | %description txt | |
185 | Ecore text encoding conversion functions. | |
186 | ||
e84a11fe | 187 | %description txt -l pl.UTF-8 |
4127e42d JB |
188 | Funkcje konwersji kodowania tekstu Ecore. |
189 | ||
76bceaba | 190 | %package x |
4127e42d | 191 | Summary: Ecore functions for dealing with the X Window System |
967c161c | 192 | Summary(pl.UTF-8): Funkcje Ecore do obsługi X Window System |
76bceaba | 193 | Group: X11/Libraries |
194 | Requires: %{name} = %{version}-%{release} | |
195 | Conflicts: ecore-libs | |
196 | ||
197 | %description x | |
4127e42d JB |
198 | Ecore functions for dealing with the X Window System. |
199 | ||
e84a11fe JR |
200 | %description x -l pl.UTF-8 |
201 | Funkcje Ecore do obsługi X Window System. | |
ef89d0f2 | 202 | |
320931eb | 203 | %package devel |
f95d65ff | 204 | Summary: Ecore header files |
967c161c | 205 | Summary(pl.UTF-8): Pliki nagłówkowe Ecore |
320931eb | 206 | Group: Development/Libraries |
76bceaba | 207 | Requires: %{name} = %{version}-%{release} |
208 | Requires: %{name}-con = %{version}-%{release} | |
209 | Requires: %{name}-config = %{version}-%{release} | |
210 | Requires: %{name}-dbus = %{version}-%{release} | |
211 | Requires: %{name}-desktop = %{version}-%{release} | |
212 | Requires: %{name}-directfb = %{version}-%{release} | |
213 | Requires: %{name}-evas = %{version}-%{release} | |
214 | Requires: %{name}-fb = %{version}-%{release} | |
215 | Requires: %{name}-file = %{version}-%{release} | |
216 | Requires: %{name}-ipc = %{version}-%{release} | |
217 | Requires: %{name}-job = %{version}-%{release} | |
218 | Requires: %{name}-txt = %{version}-%{release} | |
219 | Requires: %{name}-x = %{version}-%{release} | |
fcac574f | 220 | Requires: curl-devel |
320931eb | 221 | Requires: evas-devel |
222 | Requires: openssl-devel | |
223 | ||
224 | %description devel | |
225 | Ecore development files. | |
226 | ||
e84a11fe | 227 | %description devel -l pl.UTF-8 |
f95d65ff JB |
228 | Pliki programistyczne Ecore. |
229 | ||
320931eb | 230 | %package static |
f95d65ff | 231 | Summary: Static Ecore libraries |
967c161c | 232 | Summary(pl.UTF-8): Statyczne biblioteki Ecore |
320931eb | 233 | Group: Development/Libraries |
f95d65ff | 234 | Requires: %{name}-devel = %{version}-%{release} |
320931eb | 235 | |
236 | %description static | |
f95d65ff JB |
237 | Static Ecore libraries. |
238 | ||
e84a11fe | 239 | %description static -l pl.UTF-8 |
f95d65ff | 240 | Statyczne biblioteki Ecore. |
320931eb | 241 | |
242 | %prep | |
c3b5ffaf | 243 | %setup -q |
320931eb | 244 | |
245 | %build | |
de1254be | 246 | %{__libtoolize} |
247 | %{__aclocal} -I m4 | |
248 | %{__autoconf} | |
249 | %{__autoheader} | |
250 | %{__automake} | |
dd0b420b | 251 | %configure \ |
95b32668 | 252 | %{!?with_static_libs:--disable-static} \ |
dd0b420b | 253 | --enable-ecore-txt \ |
254 | --enable-ecore-x \ | |
255 | --enable-ecore-job \ | |
256 | --enable-ecore-fb \ | |
257 | --enable-ecore-evas \ | |
258 | --enable-ecore-evas-gl \ | |
fcac574f | 259 | --enable-ecore-evas-xrender \ |
90ee177a | 260 | --enable-ecore-evas-dfb \ |
dd0b420b | 261 | --enable-ecore-evas-fb \ |
262 | --enable-ecore-evas-buffer \ | |
263 | --enable-ecore-con \ | |
264 | --enable-openssl \ | |
265 | --enable-ecore-ipc \ | |
966ee925 | 266 | --enable-ecore-dbus \ |
dd0b420b | 267 | --enable-ecore-config \ |
268 | --enable-ecore-file \ | |
fcac574f | 269 | --enable-inotify \ |
270 | --enable-poll \ | |
271 | --enable-curl \ | |
dd0b420b | 272 | --enable-pthreads |
273 | ||
320931eb | 274 | %{__make} |
275 | ||
276 | %install | |
277 | rm -rf $RPM_BUILD_ROOT | |
278 | %{__make} install \ | |
279 | DESTDIR=$RPM_BUILD_ROOT | |
280 | ||
281 | %clean | |
282 | rm -rf $RPM_BUILD_ROOT | |
283 | ||
76bceaba | 284 | %post -p /sbin/ldconfig |
285 | %postun -p /sbin/ldconfig | |
4127e42d JB |
286 | %post con -p /sbin/ldconfig |
287 | %postun con -p /sbin/ldconfig | |
288 | %post config -p /sbin/ldconfig | |
289 | %postun config -p /sbin/ldconfig | |
290 | %post dbus -p /sbin/ldconfig | |
291 | %postun dbus -p /sbin/ldconfig | |
292 | %post directfb -p /sbin/ldconfig | |
293 | %postun directfb -p /sbin/ldconfig | |
294 | %post desktop -p /sbin/ldconfig | |
295 | %postun desktop -p /sbin/ldconfig | |
296 | %post evas -p /sbin/ldconfig | |
297 | %postun evas -p /sbin/ldconfig | |
298 | %post fb -p /sbin/ldconfig | |
299 | %postun fb -p /sbin/ldconfig | |
300 | %post file -p /sbin/ldconfig | |
301 | %postun file -p /sbin/ldconfig | |
302 | %post ipc -p /sbin/ldconfig | |
303 | %postun ipc -p /sbin/ldconfig | |
304 | %post job -p /sbin/ldconfig | |
305 | %postun job -p /sbin/ldconfig | |
306 | %post txt -p /sbin/ldconfig | |
307 | %postun txt -p /sbin/ldconfig | |
308 | %post x -p /sbin/ldconfig | |
309 | %postun x -p /sbin/ldconfig | |
320931eb | 310 | |
311 | %files | |
312 | %defattr(644,root,root,755) | |
966ee925 | 313 | %doc AUTHORS COPYING COPYING-PLAIN INSTALL README |
76bceaba | 314 | %attr(755,root,root) %{_libdir}/libecore.so.*.*.* |
320931eb | 315 | |
76bceaba | 316 | %files con |
ef89d0f2 | 317 | %defattr(644,root,root,755) |
7565dfdb | 318 | %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.* |
76bceaba | 319 | |
320 | %files config | |
321 | %defattr(644,root,root,755) | |
322 | %attr(755,root,root) %{_bindir}/ecore_config | |
7565dfdb | 323 | %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.* |
76bceaba | 324 | |
325 | %files dbus | |
326 | %defattr(644,root,root,755) | |
7565dfdb | 327 | %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.* |
76bceaba | 328 | |
329 | %files directfb | |
330 | %defattr(644,root,root,755) | |
7565dfdb | 331 | %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.* |
76bceaba | 332 | |
333 | %files desktop | |
334 | %defattr(644,root,root,755) | |
62c463f2 | 335 | %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.* |
76bceaba | 336 | |
337 | %files evas | |
338 | %defattr(644,root,root,755) | |
7565dfdb | 339 | %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.* |
76bceaba | 340 | |
341 | %files fb | |
342 | %defattr(644,root,root,755) | |
7565dfdb | 343 | %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.* |
76bceaba | 344 | |
345 | %files file | |
346 | %defattr(644,root,root,755) | |
7565dfdb | 347 | %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.* |
76bceaba | 348 | |
349 | %files ipc | |
350 | %defattr(644,root,root,755) | |
7565dfdb | 351 | %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.* |
76bceaba | 352 | |
353 | %files job | |
354 | %defattr(644,root,root,755) | |
7565dfdb | 355 | %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.* |
76bceaba | 356 | |
357 | %files txt | |
358 | %defattr(644,root,root,755) | |
7565dfdb | 359 | %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.* |
76bceaba | 360 | |
361 | %files x | |
362 | %defattr(644,root,root,755) | |
7565dfdb | 363 | %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.* |
ef89d0f2 | 364 | |
320931eb | 365 | %files devel |
366 | %defattr(644,root,root,755) | |
367 | %attr(755,root,root) %{_bindir}/ecore-config | |
368 | %attr(755,root,root) %{_libdir}/libecore*.so | |
369 | %{_libdir}/libecore*.la | |
320931eb | 370 | %{_pkgconfigdir}/ecore.pc |
371 | %{_aclocaldir}/ecore.m4 | |
372 | %{_includedir}/Ecore*.h | |
373 | ||
95b32668 | 374 | %if %{with static_libs} |
320931eb | 375 | %files static |
376 | %defattr(644,root,root,755) | |
377 | %{_libdir}/libecore*.a | |
95b32668 | 378 | %endif |