]> git.pld-linux.org Git - packages/ecore.git/blob - ecore.spec
12ba899943e80083a3682c9776471642f3d92f7a
[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 Group:          Libraries
50 Requires:       %{name} = %{version}-%{release}
51 Conflicts:      ecore-libs
52
53 %description con
54 Ecore Connection Library.
55
56 %package config
57 Summary:        Ecore Enlightened Property Library
58 Group:          Libraries
59 Requires:       %{name} = %{version}-%{release}
60 Conflicts:      ecore-libs
61
62 %description config
63 Ecore Enlightened Property Library.
64
65 %package dbus
66 Summary:        Ecore DBus Library
67 Group:          Libraries
68 Requires:       %{name} = %{version}-%{release}
69 Conflicts:      ecore-libs
70
71 %description dbus
72 Ecore DBus Library.
73
74 %package desktop
75 Summary:        Ecore freedesktop.org .desktop, icon, menu parsing Library
76 Group:          X11/Libraries
77 Requires:       %{name} = %{version}-%{release}
78 Conflicts:      ecore-libs
79
80 %description desktop
81 Ecore freedesktop.org .desktop, icon, menu parsing Library.
82
83 %package directfb
84 Summary:        Ecore frame buffer system functions
85 Group:          Libraries
86 Requires:       %{name} = %{version}-%{release}
87 Conflicts:      ecore-libs
88
89 %description directfb
90 Ecore frame buffer system functions.
91
92 %package evas
93 Summary:        Ecore Evas Wrapper Library
94 Group:          Libraries
95 Requires:       %{name} = %{version}-%{release}
96 Conflicts:      ecore-libs
97
98 %description evas
99 Ecore Evas Wrapper Library.
100
101 %package fb
102 Summary:        Ecore frame buffer system functions
103 Group:          Libraries
104 Requires:       %{name} = %{version}-%{release}
105 Conflicts:      ecore-libs
106
107 %description fb
108 Ecore frame buffer system functions.
109
110 %package file
111 Summary:        Ecore File Library
112 Group:          Libraries
113 Requires:       %{name} = %{version}-%{release}
114 Conflicts:      ecore-libs
115
116 %description file
117 Ecore File Library.
118
119 %package ipc
120 Summary:        Ecore inter-process communication functions
121 Group:          Libraries
122 Requires:       %{name} = %{version}-%{release}
123 Conflicts:      ecore-libs
124
125 %description ipc
126 Ecore inter-process communication functions.
127
128 %package job
129 Summary:        Ecore job dealing functions
130 Group:          Libraries
131 Requires:       %{name} = %{version}-%{release}
132 Conflicts:      ecore-libs
133
134 %description job
135 Ecore job dealing functions.
136
137 %package txt
138 Summary:        Ecore text encoding conversion functions
139 Group:          Libraries
140 Requires:       %{name} = %{version}-%{release}
141 Conflicts:      ecore-libs
142
143 %description txt
144 Ecore text encoding conversion functions.
145
146 %package x
147 Summary:        Ecore functions for dealing with the X Windows System
148 Group:          X11/Libraries
149 Requires:       %{name} = %{version}-%{release}
150 Conflicts:      ecore-libs
151
152 %description x
153 Ecore functions for dealing with the X Windows System.
154
155 %package devel
156 Summary:        Ecore header files
157 Summary(pl):    Pliki nag³ówkowe Ecore
158 Group:          Development/Libraries
159 Requires:       %{name} = %{version}-%{release}
160 Requires:       %{name}-con = %{version}-%{release}
161 Requires:       %{name}-config = %{version}-%{release}
162 Requires:       %{name}-dbus = %{version}-%{release}
163 Requires:       %{name}-desktop = %{version}-%{release}
164 Requires:       %{name}-directfb = %{version}-%{release}
165 Requires:       %{name}-evas = %{version}-%{release}
166 Requires:       %{name}-fb = %{version}-%{release}
167 Requires:       %{name}-file = %{version}-%{release}
168 Requires:       %{name}-ipc = %{version}-%{release}
169 Requires:       %{name}-job = %{version}-%{release}
170 Requires:       %{name}-txt = %{version}-%{release}
171 Requires:       %{name}-x = %{version}-%{release}
172 Requires:       curl-devel
173 Requires:       evas-devel
174 Requires:       openssl-devel
175
176 %description devel
177 Ecore development files.
178
179 %description devel -l pl
180 Pliki programistyczne Ecore.
181
182 %package static
183 Summary:        Static Ecore libraries
184 Summary(pl):    Statyczne biblioteki Ecore
185 Group:          Development/Libraries
186 Requires:       %{name}-devel = %{version}-%{release}
187
188 %description static
189 Static Ecore libraries.
190
191 %description static -l pl
192 Statyczne biblioteki Ecore.
193
194 %prep
195 %setup -q
196
197 %build
198 %{__libtoolize}
199 %{__aclocal} -I m4
200 %{__autoconf}
201 %{__autoheader}
202 %{__automake}
203 %configure \
204         %{!?with_static_libs:--disable-static} \
205         --enable-ecore-txt      \
206         --enable-ecore-x        \
207         --enable-ecore-job      \
208         --enable-ecore-fb       \
209         --enable-ecore-evas     \
210         --enable-ecore-evas-gl  \
211         --enable-ecore-evas-xrender \
212         --enable-ecore-evas-dfb \
213         --enable-ecore-evas-fb  \
214         --enable-ecore-evas-buffer \
215         --enable-ecore-con      \
216         --enable-openssl        \
217         --enable-ecore-ipc      \
218         --enable-ecore-dbus     \
219         --enable-ecore-config   \
220         --enable-ecore-file     \
221         --enable-inotify        \
222         --enable-poll           \
223         --enable-curl           \
224         --enable-pthreads
225
226 %{__make}
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230 %{__make} install \
231         DESTDIR=$RPM_BUILD_ROOT
232
233 %clean
234 rm -rf $RPM_BUILD_ROOT
235
236 %post   -p /sbin/ldconfig
237 %postun -p /sbin/ldconfig
238 %post con       -p /sbin/ldconfig
239 %postun con     -p /sbin/ldconfig
240 %post config    -p /sbin/ldconfig
241 %postun config  -p /sbin/ldconfig
242 %post dbus      -p /sbin/ldconfig
243 %postun dbus    -p /sbin/ldconfig
244 %post directfb  -p /sbin/ldconfig
245 %postun directfb -p /sbin/ldconfig
246 %post desktop   -p /sbin/ldconfig
247 %postun desktop -p /sbin/ldconfig
248 %post evas      -p /sbin/ldconfig
249 %postun evas    -p /sbin/ldconfig
250 %post fb        -p /sbin/ldconfig
251 %postun fb      -p /sbin/ldconfig
252 %post file      -p /sbin/ldconfig
253 %postun file    -p /sbin/ldconfig
254 %post ipc       -p /sbin/ldconfig
255 %postun ipc     -p /sbin/ldconfig
256 %post job       -p /sbin/ldconfig
257 %postun job     -p /sbin/ldconfig
258 %post txt       -p /sbin/ldconfig
259 %postun txt     -p /sbin/ldconfig
260 %post x         -p /sbin/ldconfig
261 %postun x       -p /sbin/ldconfig
262
263 %files
264 %defattr(644,root,root,755)
265 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
266 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
267
268 %files con
269 %defattr(644,root,root,755)
270 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
271
272 %files config
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/ecore_config
275 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
276
277 %files dbus
278 %defattr(644,root,root,755)
279 %attr(755,root,root) %{_libdir}/libecore_dbus.so.*.*.*
280
281 %files directfb
282 %defattr(644,root,root,755)
283 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
284
285 %files desktop
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_libdir}/libecore_desktop.so.*.*.*
288
289 %files evas
290 %defattr(644,root,root,755)
291 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
292
293 %files fb
294 %defattr(644,root,root,755)
295 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
296
297 %files file
298 %defattr(644,root,root,755)
299 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
300
301 %files ipc
302 %defattr(644,root,root,755)
303 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
304
305 %files job
306 %defattr(644,root,root,755)
307 %attr(755,root,root) %{_libdir}/libecore_job.so.*.*.*
308
309 %files txt
310 %defattr(644,root,root,755)
311 %attr(755,root,root) %{_libdir}/libecore_txt.so.*.*.*
312
313 %files x
314 %defattr(644,root,root,755)
315 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
316
317 %files devel
318 %defattr(644,root,root,755)
319 %attr(755,root,root) %{_bindir}/ecore-config
320 %attr(755,root,root) %{_libdir}/libecore*.so
321 %{_libdir}/libecore*.la
322 %{_pkgconfigdir}/ecore.pc
323 %{_aclocaldir}/ecore.m4
324 %{_includedir}/Ecore*.h
325
326 %if %{with static_libs}
327 %files static
328 %defattr(644,root,root,755)
329 %{_libdir}/libecore*.a
330 %endif
This page took 0.067278 seconds and 3 git commands to generate.