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