updated debian/changelog
[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.70444slp2+build05
5 Release:    2
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:  eina-devel
13 BuildRequires:  eet-devel
14 BuildRequires:  evas-devel
15 BuildRequires:  glib2-devel
16 BuildRequires:  libxcursor-devel
17 BuildRequires:  libxrender-devel
18 BuildRequires:  libxinerama-devel
19 BuildRequires:  libxrandr-devel
20 BuildRequires:  libxext-devel
21 BuildRequires:  libxi-devel
22 BuildRequires:  libxfixes-devel
23 BuildRequires:  libxcomposite-devel
24 BuildRequires:  libxdamage-devel
25 BuildRequires:  x11proto-xext
26 BuildRequires:  libxtst-devel
27 BuildRequires:  curl-devel
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-xim \
185         --disable-ecore-imf-scim
186
187 make %{?jobs:-j%jobs}
188
189 %install
190 rm -rf %{buildroot}
191 %make_install
192
193
194 %post -p /sbin/ldconfig
195
196 %postun -p /sbin/ldconfig
197
198 %post con -p /sbin/ldconfig
199
200 %postun con -p /sbin/ldconfig
201
202 %post evas -p /sbin/ldconfig
203
204 %postun evas -p /sbin/ldconfig
205
206
207 %post file -p /sbin/ldconfig
208
209 %postun file -p /sbin/ldconfig
210
211
212 %post imf -p /sbin/ldconfig
213
214 %postun imf -p /sbin/ldconfig
215
216
217 %post imf-evas -p /sbin/ldconfig
218
219 %postun imf-evas -p /sbin/ldconfig
220
221
222 %post input -p /sbin/ldconfig
223
224 %postun input -p /sbin/ldconfig
225
226
227 %post input-evas -p /sbin/ldconfig
228
229 %postun input-evas -p /sbin/ldconfig
230
231
232 %post ipc -p /sbin/ldconfig
233
234 %postun ipc -p /sbin/ldconfig
235
236
237 %post x -p /sbin/ldconfig
238
239 %postun x -p /sbin/ldconfig
240
241
242 %post fb -p /sbin/ldconfig
243
244 %postun fb -p /sbin/ldconfig
245
246 %files 
247 %defattr(-,root,root,-)
248 %{_libdir}/libecore.so.*
249
250 %files devel
251 %defattr(-,root,root,-)
252 %{_includedir}/ecore-1/*.h
253 %{_libdir}/pkgconfig/ecore*.pc
254 %{_libdir}/libecore.so
255 %{_libdir}/libecore_con.so
256 %{_libdir}/libecore_evas.so
257 %{_libdir}/libecore_file.so
258 %{_libdir}/libecore_imf.so
259 %{_libdir}/libecore_imf_evas.so
260 %{_libdir}/libecore_input.so
261 %{_libdir}/libecore_input_evas.so
262 %{_libdir}/libecore_ipc.so
263 %{_libdir}/libecore_x.so
264 %{_libdir}/libecore_fb.so
265
266 %files tools
267 %defattr(-,root,root,-)
268 #/usr/bin/ecore_test
269
270 %files con
271 %defattr(-,root,root,-)
272 %{_libdir}/libecore_con.so.*
273
274 %files evas
275 %defattr(-,root,root,-)
276 %{_libdir}/libecore_evas.so.*
277
278 %files file
279 %defattr(-,root,root,-)
280 %{_libdir}/libecore_file.so.*
281
282 %files imf
283 %defattr(-,root,root,-)
284 %{_libdir}/libecore_imf.so.*
285
286 %files imf-evas
287 %defattr(-,root,root,-)
288 %{_libdir}/libecore_imf_evas.so.*
289
290 %files input
291 %defattr(-,root,root,-)
292 %{_libdir}/libecore_input.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