spec changed
[profile/ivi/ecore.git] / packaging / ecore.spec
1 #sbs-git:slp/pkgs/e/ecore ecore 1.1.0+svn.69115slp2+build01 f1fcb7acee67ba61b43c4c5bcf6a0255195b3bbe
2 Name:       ecore
3 Summary:    Enlightened Core X interface library
4 Version:    1.1.0+svn.69655slp2+build01
5 Release:    1
6 Group:      TO_BE/FILLED_IN
7 License:    TO_BE/FILLED_IN
8 URL:        http://www.enlightenment.org
9 Source0:    %{name}-%{version}.tar.gz
10 Requires(post): /sbin/ldconfig
11 Requires(postun): /sbin/ldconfig
12 BuildRequires:  pkgconfig(eina)
13 BuildRequires:  pkgconfig(eet)
14 BuildRequires:  pkgconfig(evas)
15 BuildRequires:  pkgconfig(glib-2.0)
16 BuildRequires:  pkgconfig(xcursor)
17 BuildRequires:  pkgconfig(xrender)
18 BuildRequires:  pkgconfig(xinerama)
19 BuildRequires:  pkgconfig(xrandr)
20 BuildRequires:  pkgconfig(xext)
21 BuildRequires:  pkgconfig(xi)
22 BuildRequires:  pkgconfig(xfixes)
23 BuildRequires:  pkgconfig(xcomposite)
24 BuildRequires:  pkgconfig(xdamage)
25 BuildRequires:  pkgconfig(xextproto)
26 BuildRequires:  pkgconfig(xtst)
27 BuildRequires:  pkgconfig(libcurl)
28 BuildRequires:  libjpeg-devel
29
30
31 %description
32 Core abstraction layer for enlightenment DR 0.17 This is the core event abstraction layer and X abstraction layer that makes
33  doing selections, Xdnd, general X stuff, and event loops, timeouts and idle
34  handlers fast, optimized, and convenient. It's a separate library so anyone
35  can make use of the work put into Ecore to make this job easy for
36  applications.
37
38
39
40 %package devel
41 Summary:    Enlightened Core X interface library (devel)
42 Group:      Development/Libraries
43 Requires:   %{name} = %{version}-%{release}
44
45 %description devel
46 Core abstraction layer for enlightenment (devel)
47
48 %package tools
49 Summary:    Enlightened Core X interface library (bin)
50 Group:      Development/Libraries
51 Requires:   %{name} = %{version}-%{release}
52 Provides:   %{name}-bin
53 Obsoletes:  %{name}-bin
54
55 %description tools
56 Core abstraction layer for enlightenment (tools)
57
58 %package con
59 Summary:    Enlightened Core X interface library (con)
60 Group:      Development/Libraries
61 Requires:   %{name} = %{version}-%{release}
62 Requires(post): /sbin/ldconfig
63 Requires(postun): /sbin/ldconfig
64
65 %description con
66 Core abstraction layer for enlightenment (con)
67
68 %package evas
69 Summary:    Enlightened Core X interface library (evas)
70 Group:      Development/Libraries
71 Requires:   %{name} = %{version}-%{release}
72 Requires(post): /sbin/ldconfig
73 Requires(postun): /sbin/ldconfig
74
75 %description evas
76 Core abstraction layer for enlightenment (evas)
77
78 %package file
79 Summary:    Enlightened Core X interface library (file)
80 Group:      Development/Libraries
81 Requires:   %{name} = %{version}-%{release}
82 Requires(post): /sbin/ldconfig
83 Requires(postun): /sbin/ldconfig
84
85 %description file
86 Core abstraction layer for enlightenment (file)
87
88 %package imf
89 Summary:    Enlightened Core X interface library (imf)
90 Group:      Development/Libraries
91 Requires:   %{name} = %{version}-%{release}
92 Requires(post): /sbin/ldconfig
93 Requires(postun): /sbin/ldconfig
94
95 %description imf
96 Core abstraction layer for enlightenment (imf)
97
98 %package imf-evas
99 Summary:    Enlightened Core X interface library (imf-evas)
100 Group:      Development/Libraries
101 Requires:   %{name} = %{version}-%{release}
102 Requires(post): /sbin/ldconfig
103 Requires(postun): /sbin/ldconfig
104
105 %description imf-evas
106 Core abstraction layer for enlightenment (imf-evas)
107
108 %package input
109 Summary:    Enlightened Core X interface library (input)
110 Group:      Development/Libraries
111 Requires:   %{name} = %{version}-%{release}
112 Requires(post): /sbin/ldconfig
113 Requires(postun): /sbin/ldconfig
114
115 %description input
116 Core abstraction layer for enlightenment (input)
117
118 %package input-evas
119 Summary:    Enlightened Core X interface library (input-evas)
120 Group:      Development/Libraries
121 Requires:   %{name} = %{version}-%{release}
122 Requires(post): /sbin/ldconfig
123 Requires(postun): /sbin/ldconfig
124
125 %description input-evas
126 Core abstraction layer for enlightenment (input-evas)
127
128 %package ipc
129 Summary:    Enlightened Core X interface library (ipc)
130 Group:      Development/Libraries
131 Requires:   %{name} = %{version}-%{release}
132 Requires(post): /sbin/ldconfig
133 Requires(postun): /sbin/ldconfig
134
135 %description ipc
136 Core abstraction layer for enlightenment (ipc)
137
138 %package x
139 Summary:    Enlightened Core X interface library (x)
140 Group:      Development/Libraries
141 Requires:   %{name} = %{version}-%{release}
142 Requires(post): /sbin/ldconfig
143 Requires(postun): /sbin/ldconfig
144
145 %description x
146 Core abstraction layer for enlightenment (x)
147
148 %package fb
149 Summary:    Enlightened Core X interface library (fb)
150 Group:      Development/Libraries
151 Requires:   %{name} = %{version}-%{release}
152 Requires(post): /sbin/ldconfig
153 Requires(postun): /sbin/ldconfig
154
155 %description fb
156 Core abstraction layer for enlightenment (fb)
157
158
159 %prep
160 %setup -q
161
162
163 %build
164 export CFLAGS+=" -fvisibility=hidden -fPIC"
165 export LDFLAGS+=" -fvisibility=hidden -Wl,--hash-style=both -Wl,--as-needed"
166
167 %autogen
168 %configure --disable-static \
169         --enable-ecore-fb \
170         --enable-dependency-tracking \
171         --disable-ecore-directfb \
172         --enable-ecore-evas-fb \
173         --disable-rpath \
174         --disable-openssl \
175         --disable-gnutls \
176         --disable-tslib \
177         --enable-simple-x11 \
178         --enable-ecore-evas-opengl-x11 \
179         --disable-ecore-evas-xrender-x11 \
180         --enable-curl \
181         --enable-glib-integration-always \
182         --enable-ecore-x-gesture \
183         --disable-xim \
184         --disable-ecore-imf-scim
185
186 make %{?jobs:-j%jobs}
187
188 %install
189 rm -rf %{buildroot}
190 %make_install
191
192
193 %post -p /sbin/ldconfig
194
195 %postun -p /sbin/ldconfig
196
197 %post con -p /sbin/ldconfig
198
199 %postun con -p /sbin/ldconfig
200
201 %post evas -p /sbin/ldconfig
202
203 %postun evas -p /sbin/ldconfig
204
205
206 %post file -p /sbin/ldconfig
207
208 %postun file -p /sbin/ldconfig
209
210
211 %post imf -p /sbin/ldconfig
212
213 %postun imf -p /sbin/ldconfig
214
215
216 %post imf-evas -p /sbin/ldconfig
217
218 %postun imf-evas -p /sbin/ldconfig
219
220
221 %post input -p /sbin/ldconfig
222
223 %postun input -p /sbin/ldconfig
224
225
226 %post input-evas -p /sbin/ldconfig
227
228 %postun input-evas -p /sbin/ldconfig
229
230
231 %post ipc -p /sbin/ldconfig
232
233 %postun ipc -p /sbin/ldconfig
234
235
236 %post x -p /sbin/ldconfig
237
238 %postun x -p /sbin/ldconfig
239
240
241 %post fb -p /sbin/ldconfig
242
243 %postun fb -p /sbin/ldconfig
244
245 %files 
246 %defattr(-,root,root,-)
247 %{_libdir}/libecore.so.*
248
249 %files devel
250 %defattr(-,root,root,-)
251 %{_includedir}/ecore-1/*.h
252 %{_libdir}/pkgconfig/ecore*.pc
253 %{_libdir}/libecore.so
254 %{_libdir}/libecore_con.so
255 %{_libdir}/libecore_evas.so
256 %{_libdir}/libecore_file.so
257 %{_libdir}/libecore_imf.so
258 %{_libdir}/libecore_imf_evas.so
259 %{_libdir}/libecore_input.so
260 %{_libdir}/libecore_input_evas.so
261 %{_libdir}/libecore_ipc.so
262 %{_libdir}/libecore_x.so
263 %{_libdir}/libecore_fb.so
264
265 %files tools
266 %defattr(-,root,root,-)
267 #/usr/bin/ecore_test
268
269 %files con
270 %defattr(-,root,root,-)
271 %{_libdir}/libecore_con.so.*
272
273 %files evas
274 %defattr(-,root,root,-)
275 %{_libdir}/libecore_evas.so.*
276
277 %files file
278 %defattr(-,root,root,-)
279 %{_libdir}/libecore_file.so.*
280
281 %files imf
282 %defattr(-,root,root,-)
283 %{_libdir}/libecore_imf.so.*
284
285 %files imf-evas
286 %defattr(-,root,root,-)
287 %{_libdir}/libecore_imf_evas.so.*
288
289 %files input
290 %defattr(-,root,root,-)
291 %{_libdir}/libecore_input.so.*
292 /usr/lib/ecore/immodules/xim.so
293
294 %files input-evas
295 %defattr(-,root,root,-)
296 %{_libdir}/libecore_input_evas.so.*
297
298 %files ipc
299 %defattr(-,root,root,-)
300 %{_libdir}/libecore_ipc.so.*
301
302 %files x
303 %defattr(-,root,root,-)
304 %{_libdir}/libecore_x.so.*
305
306 %files fb
307 %defattr(-,root,root,-)
308 %{_libdir}/libecore_fb.so.*
309