]> git.pld-linux.org Git - packages/ecore.git/blob - ecore.spec
- pl
[packages/ecore.git] / ecore.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Enlightened Core X interface library
6 Summary(pl):    Biblioteka interfejsu X Enlightened Core
7 Name:           ecore
8 Version:        0.9.9.036
9 Release:        1
10 License:        BSD
11 Group:          X11/Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5:  b2f3ba94aa47a885c77c3ad7a686ee42
14 URL:            http://enlightenment.org/Libraries/Ecore/
15 BuildRequires:  DirectFB-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  curl-devel
19 BuildRequires:  evas-devel
20 BuildRequires:  libtool
21 BuildRequires:  openssl-devel
22 BuildRequires:  pkgconfig
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
29 Obsoletes:      ecore-libs
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %undefine       __cxx
33
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
40 %description -l pl
41 Ecore to warstwa abstracji 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.
46
47 %package con
48 Summary:        Ecore Connection Library
49 Summary(pl):    Biblioteka po³±czeñ Ecore
50 Group:          Libraries
51 Requires:       %{name} = %{version}-%{release}
52 Conflicts:      ecore-libs
53
54 %description con
55 Ecore Connection Library.
56
57 %description con -l pl
58 Biblioteka po³±czeñ Ecore.
59
60 %package config
61 Summary:        Ecore Enlightened Property Library
62 Summary(pl):    Biblioteka w³a¶ciwo¶ci Ecore
63 Group:          Libraries
64 Requires:       %{name} = %{version}-%{release}
65 Conflicts:      ecore-libs
66
67 %description config
68 Ecore Enlightened Property Library.
69
70 %description config -l pl
71 Biblioteka w³a¶ciwo¶ci Ecore.
72
73 %package dbus
74 Summary:        Ecore DBus Library
75 Summary(pl):    Biblioteka Ecore DBus
76 Group:          Libraries
77 Requires:       %{name} = %{version}-%{release}
78 Conflicts:      ecore-libs
79
80 %description dbus
81 Ecore DBus Library.
82
83 %description dbus -l pl
84 Biblioteka Ecore DBus.
85
86 %package desktop
87 Summary:        Ecore freedesktop.org .desktop, icon, menu parsing Library
88 Summary(pl):    Biblioteka przetwarzania plików .desktop, ikon i menu
89 Group:          X11/Libraries
90 Requires:       %{name} = %{version}-%{release}
91 Conflicts:      ecore-libs
92
93 %description desktop
94 Ecore freedesktop.org .desktop, icon, menu parsing Library.
95
96 %description desktop -l pl
97 Biblioteka przetwarzania plików .desktop, ikon i menu.
98
99 %package directfb
100 Summary:        Ecore frame buffer system functions
101 Summary(pl):    Funkcje systemowe framebuffera Ecore
102 Group:          Libraries
103 Requires:       %{name} = %{version}-%{release}
104 Conflicts:      ecore-libs
105
106 %description directfb
107 Ecore frame buffer system functions.
108
109 %description directfb -l pl
110 Funkcje systemowe framebuffera Ecore.
111
112 %package evas
113 Summary:        Ecore Evas Wrapper Library
114 Summary(pl):    Biblioteka Ecore Evas Wrapper
115 Group:          Libraries
116 Requires:       %{name} = %{version}-%{release}
117 Conflicts:      ecore-libs
118
119 %description evas
120 Ecore Evas Wrapper Library.
121
122 %description evas -l pl
123 Biblioteka Ecore Evas Wrapper.
124
125 %package fb
126 Summary:        Ecore frame buffer system functions
127 Summary(pl):    Funkcje systemowe framebuffera Ecore
128 Group:          Libraries
129 Requires:       %{name} = %{version}-%{release}
130 Conflicts:      ecore-libs
131
132 %description fb
133 Ecore frame buffer system functions.
134
135 %description fb -l pl
136 Funkcje systemowe framebuffera Ecore.
137
138 %package file
139 Summary:        Ecore File Library
140 Summary(pl):    Biblioteka Ecore File
141 Group:          Libraries
142 Requires:       %{name} = %{version}-%{release}
143 Conflicts:      ecore-libs
144
145 %description file
146 Ecore File Library.
147
148 %description file -l lp
149 Biblioteka Ecore File.
150
151 %package ipc
152 Summary:        Ecore inter-process communication functions
153 Summary(pl):    Funkcje komunikacji miêdzyprocesowej Ecore
154 Group:          Libraries
155 Requires:       %{name} = %{version}-%{release}
156 Conflicts:      ecore-libs
157
158 %description ipc
159 Ecore inter-process communication functions.
160
161 %description ipc -l pl
162 Funkcje komunikacji miêdzyprocesowej Ecore.
163
164 %package job
165 Summary:        Ecore job dealing functions
166 Summary(pl):    Funkcje obs³ugi zadañ Ecore
167 Group:          Libraries
168 Requires:       %{name} = %{version}-%{release}
169 Conflicts:      ecore-libs
170
171 %description job
172 Ecore job dealing functions.
173
174 %description job -l pl
175 Funkcje obs³ugi zadañ Ecore.
176
177 %package txt
178 Summary:        Ecore text encoding conversion functions
179 Summary(pl):    Funkcje konwersji kodowania tekstu Ecore
180 Group:          Libraries
181 Requires:       %{name} = %{version}-%{release}
182 Conflicts:      ecore-libs
183
184 %description txt
185 Ecore text encoding conversion functions.
186
187 %description txt -l pl
188 Funkcje konwersji kodowania tekstu Ecore.
189
190 %package x
191 Summary:        Ecore functions for dealing with the X Window System
192 Summary(pl):    Funkcje Ecore do obs³ugi X Window System
193 Group:          X11/Libraries
194 Requires:       %{name} = %{version}-%{release}
195 Conflicts:      ecore-libs
196
197 %description x
198 Ecore functions for dealing with the X Window System.
199
200 %description x -l pl
201 Funkcje Ecore do obs³ugi X Window System.
202
203 %package devel
204 Summary:        Ecore header files
205 Summary(pl):    Pliki nag³ówkowe Ecore
206 Group:          Development/Libraries
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}
220 Requires:       curl-devel
221 Requires:       evas-devel
222 Requires:       openssl-devel
223
224 %description devel
225 Ecore development files.
226
227 %description devel -l pl
228 Pliki programistyczne Ecore.
229
230 %package static
231 Summary:        Static Ecore libraries
232 Summary(pl):    Statyczne biblioteki Ecore
233 Group:          Development/Libraries
234 Requires:       %{name}-devel = %{version}-%{release}
235
236 %description static
237 Static Ecore libraries.
238
239 %description static -l pl
240 Statyczne biblioteki Ecore.
241
242 %prep
243 %setup -q
244
245 %build
246 %{__libtoolize}
247 %{__aclocal} -I m4
248 %{__autoconf}
249 %{__autoheader}
250 %{__automake}
251 %configure \
252         %{!?with_static_libs:--disable-static} \
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  \
259         --enable-ecore-evas-xrender \
260         --enable-ecore-evas-dfb \
261         --enable-ecore-evas-fb  \
262         --enable-ecore-evas-buffer \
263         --enable-ecore-con      \
264         --enable-openssl        \
265         --enable-ecore-ipc      \
266         --enable-ecore-dbus     \
267         --enable-ecore-config   \
268         --enable-ecore-file     \
269         --enable-inotify        \
270         --enable-poll           \
271         --enable-curl           \
272         --enable-pthreads
273
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
284 %post   -p /sbin/ldconfig
285 %postun -p /sbin/ldconfig
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
310
311 %files
312 %defattr(644,root,root,755)
313 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
314 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
315
316 %files con
317 %defattr(644,root,root,755)
318 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
319
320 %files config
321 %defattr(644,root,root,755)
322 %attr(755,root,root) %{_bindir}/ecore_config
323 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
324
325 %files dbus
326 %defattr(644,root,root,755)
327 %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.*
328
329 %files directfb
330 %defattr(644,root,root,755)
331 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
332
333 %files desktop
334 %defattr(644,root,root,755)
335 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
336
337 %files evas
338 %defattr(644,root,root,755)
339 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
340
341 %files fb
342 %defattr(644,root,root,755)
343 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
344
345 %files file
346 %defattr(644,root,root,755)
347 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
348
349 %files ipc
350 %defattr(644,root,root,755)
351 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
352
353 %files job
354 %defattr(644,root,root,755)
355 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
356
357 %files txt
358 %defattr(644,root,root,755)
359 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
360
361 %files x
362 %defattr(644,root,root,755)
363 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
364
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
370 %{_pkgconfigdir}/ecore.pc
371 %{_aclocaldir}/ecore.m4
372 %{_includedir}/Ecore*.h
373
374 %if %{with static_libs}
375 %files static
376 %defattr(644,root,root,755)
377 %{_libdir}/libecore*.a
378 %endif
This page took 0.196013 seconds and 3 git commands to generate.