]> git.pld-linux.org Git - packages/ecore.git/blob - ecore.spec
88159dfcbb81e08bbec515622eb568ffaea5f118
[packages/ecore.git] / ecore.spec
1 # TODO: drop --disable-ecore-evas-software-8-x11 when fixed (xcb_api only)
2 #
3 # Conditional build:
4 %bcond_without  static_libs     # don't build static library
5 %bcond_without  xcb             # force disabling XCB usage
6 %bcond_with     xcb_api         # XCB instead of Xlib (highly experimental, no XIM module)
7                                 # must be consistent with xcb_api setting in evas!
8 %bcond_without  cares           # use c-ares
9 %bcond_without  ibus            # IBus module
10 %bcond_without  scim            # SCIM module
11 %bcond_without  wayland         # Wayland library module
12 #
13 %if %{without xcb}
14 %undefine       xcb_api
15 %endif
16 %if %{with xcb_api}
17 %undefine       with_wayland
18 %define         xapi    xcb
19 %else
20 %define         xapi    xlib
21 %endif
22 Summary:        Enlightened Core X interface library
23 Summary(pl.UTF-8):      Biblioteka interfejsu X Enlightened Core
24 Name:           ecore
25 Version:        1.7.2
26 Release:        1
27 License:        BSD
28 Group:          X11/Libraries
29 Source0:        http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
30 # Source0-md5:  bcd3d4be2dfa597b54e75aa1dd91b054
31 Patch0:         %{name}-wayland.patch
32 URL:            http://trac.enlightenment.org/e/wiki/Ecore
33 BuildRequires:  DirectFB-devel >= 0.9.16
34 BuildRequires:  SDL-devel >= 1.2.0
35 BuildRequires:  autoconf >= 2.52
36 BuildRequires:  automake >= 1.6
37 %if %{with cares}
38 BuildRequires:  c-ares-devel >= 1.6.1
39 %endif
40 BuildRequires:  curl-devel
41 BuildRequires:  eina-devel >= 1.7.0
42 # for disabled config library
43 #BuildRequires: eet-devel >= 1.7.0
44 BuildRequires:  evas-devel(%{xapi}) >= 1.7.0
45 BuildRequires:  gettext-devel >= 0.17
46 BuildRequires:  glib2-devel >= 2.0
47 BuildRequires:  gnutls-devel >= 2.10.2
48 %{?with_ibus:BuildRequires:     ibus-devel >= 1.4}
49 BuildRequires:  libtool
50 BuildRequires:  pkgconfig >= 1:0.22
51 %{?with_scim:BuildRequires:     scim-devel}
52 BuildRequires:  tslib-devel
53 %if %{with xcb_api}
54 BuildRequires:  libxcb-devel
55 BuildRequires:  pixman-devel
56 BuildRequires:  xcb-util-devel >= 0.3.8
57 BuildRequires:  xcb-util-image-devel
58 BuildRequires:  xcb-util-keysyms-devel >= 0.3.8
59 BuildRequires:  xcb-util-wm-devel >= 0.3.8
60 %else
61 BuildRequires:  xorg-lib-libX11-devel
62 BuildRequires:  xorg-lib-libXScrnSaver-devel
63 BuildRequires:  xorg-lib-libXcomposite-devel
64 BuildRequires:  xorg-lib-libXcursor-devel
65 BuildRequires:  xorg-lib-libXdamage-devel
66 BuildRequires:  xorg-lib-libXext-devel
67 BuildRequires:  xorg-lib-libXfixes-devel
68 BuildRequires:  xorg-lib-libXi-devel >= 1.3
69 BuildRequires:  xorg-lib-libXinerama-devel
70 BuildRequires:  xorg-lib-libXp-devel
71 BuildRequires:  xorg-lib-libXrandr-devel
72 BuildRequires:  xorg-lib-libXrender-devel
73 BuildRequires:  xorg-lib-libXtst-devel
74 # xorg-lib-libXgesture-devel
75 %endif
76 %if %{with wayland}
77 BuildRequires:  wayland-devel >= 1.0.0
78 BuildRequires:  xorg-lib-libxkbcommon-devel
79 %endif
80 Requires:       eina >= 1.7.0
81 Obsoletes:      ecore-desktop
82 Obsoletes:      ecore-job
83 Obsoletes:      ecore-libs
84 Obsoletes:      ecore-txt
85 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
86
87 %undefine       __cxx
88
89 %description
90 Ecore is the event/X abstraction layer that makes doing selections,
91 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
92 optimized, and convenient. It's a separate library so anyone can make
93 use of the work put into Ecore to make this job easy for applications.
94
95 %description -l pl.UTF-8
96 Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
97 zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
98 bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
99 biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
100 ułatwienia swojej pracy przy aplikacjach.
101
102 %package devel
103 Summary:        Header files for Ecore library
104 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ecore
105 Group:          Development/Libraries
106 Requires:       %{name} = %{version}-%{release}
107 Requires:       eina-devel >= 1.7.0
108 Requires:       glib2-devel >= 2.0
109
110 %description devel
111 Header files for Ecore library.
112
113 %description devel -l pl.UTF-8
114 Pliki nagłówkowe biblioteki Ecore.
115
116 %package static
117 Summary:        Static Ecore library
118 Summary(pl.UTF-8):      Statyczna biblioteka Ecore
119 Group:          Development/Libraries
120 Requires:       %{name}-devel = %{version}-%{release}
121
122 %description static
123 Static Ecore library.
124
125 %description static -l pl.UTF-8
126 Statyczna biblioteka Ecore.
127
128 %package con
129 Summary:        Ecore Con(nection) library
130 Summary(pl.UTF-8):      Biblioteka połączeń Ecore Con
131 Group:          Libraries
132 Requires:       %{name} = %{version}-%{release}
133 Requires:       gnutls >= 2.10.2
134
135 %description con
136 Ecore Con(nection) Library.
137
138 %description con -l pl.UTF-8
139 Biblioteka połączeń Ecore Con.
140
141 %package con-devel
142 Summary:        Header file for Ecore Con library
143 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore Con
144 Group:          Development/Libraries
145 Requires:       %{name}-con = %{version}-%{release}
146 Requires:       %{name}-devel = %{version}-%{release}
147 %{?with_cares:Requires: c-ares-devel >= 1.6.1}
148 Requires:       curl-devel
149 Requires:       gnutls-devel >= 2.10.2
150
151 %description con-devel
152 Header file for Ecore Con(nection) library.
153
154 %description con-devel -l pl.UTF-8
155 Plik nagłówkowy biblioteki połączeń Ecore Con.
156
157 %package con-static
158 Summary:        Static Ecore Con library
159 Summary(pl.UTF-8):      Statyczna biblioteka Ecore Con
160 Group:          Development/Libraries
161 Requires:       %{name}-con-devel = %{version}-%{release}
162
163 %description con-static
164 Static Ecore Con(nection) library.
165
166 %description con-static -l pl.UTF-8
167 Statyczna biblioteka połączeń Ecore Con.
168
169 %package config
170 Summary:        Ecore Config library
171 Summary(pl.UTF-8):      Biblioteka właściwości Ecore Config
172 Group:          Libraries
173 Requires:       %{name}-ipc = %{version}-%{release}
174 Requires:       eet >= 1.7.0
175 Requires:       evas >= 1.7.0
176
177 %description config
178 Ecore Config library.
179
180 %description config -l pl.UTF-8
181 Biblioteka właściwości Ecore Config.
182
183 %package config-devel
184 Summary:        Header file for Ecore Config library
185 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore Config
186 Group:          Development/Libraries
187 Requires:       %{name}-config = %{version}-%{release}
188 Requires:       %{name}-devel = %{version}-%{release}
189 Requires:       %{name}-ipc-devel = %{version}-%{release}
190 Requires:       eet-devel >= 1.7.0
191 Requires:       evas-devel >= 1.7.0
192
193 %description config-devel
194 Header file for Ecore Config library.
195
196 %description config-devel -l pl.UTF-8
197 Plik nagłówkowy biblioteki właściwości Ecore Config.
198
199 %package config-static
200 Summary:        Static Ecore Config library
201 Summary(pl.UTF-8):      Statyczna biblioteka Ecore Config
202 Group:          Development/Libraries
203 Requires:       %{name}-config-devel = %{version}-%{release}
204
205 %description config-static
206 Static Ecore Config library.
207
208 %description config-static -l pl.UTF-8
209 Statyczna biblioteka właściwości Ecore Config.
210
211 %package directfb
212 Summary:        Ecore DirectFB (frame buffer system functions) library
213 Summary(pl.UTF-8):      Biblioteka Ecore DirectFB (funkcji systemowych framebuffera)
214 Group:          Libraries
215 Requires:       %{name} = %{version}-%{release}
216 Requires:       DirectFB >= 0.9.16
217
218 %description directfb
219 Ecore DirectFB (frame buffer system functions) library.
220
221 %description directfb -l pl.UTF-8
222 Biblioteka Ecore DirectFB (funkcji systemowych framebuffera).
223
224 %package directfb-devel
225 Summary:        Header file for Ecore DirectFB library
226 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore DirectFB
227 Group:          Development/Libraries
228 Requires:       %{name}-devel = %{version}-%{release}
229 Requires:       %{name}-directfb = %{version}-%{release}
230 Requires:       DirectFB-devel >= 0.9.16
231
232 %description directfb-devel
233 Header file for Ecore DirectFB (frame buffer system functions)
234 library.
235
236 %description directfb-devel -l pl.UTF-8
237 Plik nagłówkowy biblioteki Ecore DirectFB (funkcji systemowych
238 framebuffera).
239
240 %package directfb-static
241 Summary:        Static Ecore DirectFB library
242 Summary(pl.UTF-8):      Statyczna biblioteka Ecore DirectFB
243 Group:          Development/Libraries
244 Requires:       %{name}-directfb-devel = %{version}-%{release}
245
246 %description directfb-static
247 Static Ecore DirectFB (frame buffer system functions) library.
248
249 %description directfb-static -l pl.UTF-8
250 Statyczna biblioteka Ecore DirectFB (funkcji systemowych
251 framebuffera).
252
253 %package evas
254 Summary:        Ecore Evas library
255 Summary(pl.UTF-8):      Biblioteka Ecore Evas
256 Group:          Libraries
257 Requires:       %{name} = %{version}-%{release}
258 Requires:       %{name}-directfb = %{version}-%{release}
259 Requires:       %{name}-fb = %{version}-%{release}
260 Requires:       %{name}-input = %{version}-%{release}
261 Requires:       %{name}-input-evas = %{version}-%{release}
262 Requires:       %{name}-ipc = %{version}-%{release}
263 Requires:       %{name}-sdl = %{version}-%{release}
264 %if %{with wayland}
265 Requires:       %{name}-wayland = %{version}-%{release}
266 %endif
267 Requires:       %{name}-x = %{version}-%{release}
268 Requires:       evas >= 1.7.0
269
270 %description evas
271 Ecore Evas library.
272
273 %description evas -l pl.UTF-8
274 Biblioteka Ecore Evas.
275
276 %package evas-devel
277 Summary:        Header file for Ecore Evas library
278 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore Evas
279 Group:          Development/Libraries
280 Requires:       %{name}-devel = %{version}-%{release}
281 Requires:       %{name}-directfb-devel = %{version}-%{release}
282 Requires:       %{name}-evas = %{version}-%{release}
283 Requires:       %{name}-fb-devel = %{version}-%{release}
284 Requires:       %{name}-input-devel = %{version}-%{release}
285 Requires:       %{name}-input-evas-devel = %{version}-%{release}
286 Requires:       %{name}-ipc-devel = %{version}-%{release}
287 Requires:       %{name}-sdl-devel = %{version}-%{release}
288 %if %{with wayland}
289 Requires:       %{name}-wayland-devel = %{version}-%{release}
290 %endif
291 Requires:       %{name}-x-devel = %{version}-%{release}
292 Requires:       evas-devel >= 1.7.0
293
294 %description evas-devel
295 Header file for Ecore Evas library.
296
297 %description evas-devel -l pl.UTF-8
298 Plik nagłówkowy biblioteki Ecore Evas.
299
300 %package evas-static
301 Summary:        Static Ecore Evas library
302 Summary(pl.UTF-8):      Biblioteka statyczna Ecore Evas
303 Group:          Development/Libraries
304 Requires:       %{name}-evas-devel = %{version}-%{release}
305
306 %description evas-static
307 Static Ecore Evas library.
308
309 %description evas-static -l pl.UTF-8
310 Biblioteka statyczna Ecore Evas.
311
312 %package fb
313 Summary:        Ecore FB (frame buffer system functions) library
314 Summary(pl.UTF-8):      Biblioteka Ecore FB (funkcji systemowych framebuffera)
315 Group:          Libraries
316 Requires:       %{name} = %{version}-%{release}
317
318 %description fb
319 Ecore FB (frame buffer system functions) library.
320
321 %description fb -l pl.UTF-8
322 Biblioteka Ecore FB (funkcji systemowych framebuffera).
323
324 %package fb-devel
325 Summary:        Header file for Ecore FB library
326 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore FB
327 Group:          Development/Libraries
328 Requires:       %{name}-devel = %{version}-%{release}
329 Requires:       %{name}-fb = %{version}-%{release}
330 Requires:       tslib-devel
331
332 %description fb-devel
333 Header file for Ecore FB (frame buffer system functions) library.
334
335 %description fb-devel -l pl.UTF-8
336 Plik nagłówkowy biblioteki Ecore FB (funkcji systemowych
337 framebuffera).
338
339 %package fb-static
340 Summary:        Static Ecore FB library
341 Summary(pl.UTF-8):      Statyczna biblioteka Ecore FB
342 Group:          Development/Libraries
343 Requires:       %{name}-fb-devel = %{version}-%{release}
344
345 %description fb-static
346 Static Ecore FB (frame buffer system functions) library.
347
348 %description fb-static -l pl.UTF-8
349 Statyczna biblioteka Ecore FB (funkcji systemowych framebuffera).
350
351 %package file
352 Summary:        Ecore File library
353 Summary(pl.UTF-8):      Biblioteka Ecore File
354 Group:          Libraries
355 Requires:       %{name} = %{version}-%{release}
356 Requires:       %{name}-con = %{version}-%{release}
357
358 %description file
359 Ecore File library.
360
361 %description file -l pl.UTF-8
362 Biblioteka Ecore File.
363
364 %package file-devel
365 Summary:        Header file for Ecore File library
366 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore File
367 Group:          Development/Libraries
368 Requires:       %{name}-con-devel = %{version}-%{release}
369 Requires:       %{name}-devel = %{version}-%{release}
370 Requires:       %{name}-file = %{version}-%{release}
371
372 %description file-devel
373 Header file for Ecore File library.
374
375 %description file-devel -l pl.UTF-8
376 Plik nagłówkowy biblioteki Ecore File.
377
378 %package file-static
379 Summary:        Static Ecore File library
380 Summary(pl.UTF-8):      Statyczna biblioteka Ecore File
381 Group:          Development/Libraries
382 Requires:       %{name}-file-devel = %{version}-%{release}
383
384 %description file-static
385 Static Ecore File library.
386
387 %description file-static -l pl.UTF-8
388 Statyczna biblioteka Ecore File.
389
390 %package imf
391 Summary:        Ecore IMF library
392 Summary(pl.UTF-8):      Biblioteka Ecore IMF
393 Group:          Libraries
394 Requires:       %{name} = %{version}-%{release}
395
396 %description imf
397 Ecore IMF library.
398
399 %description imf -l pl.UTF-8
400 Biblioteka Ecore IMF.
401
402 %package imf-devel
403 Summary:        Header file for Ecore IMF library
404 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore IMF
405 Group:          Development/Libraries
406 Requires:       %{name}-devel = %{version}-%{release}
407 Requires:       %{name}-imf = %{version}-%{release}
408
409 %description imf-devel
410 Header file for Ecore IMF library.
411
412 %description imf-devel -l pl.UTF-8
413 Plik nagłówkowy biblioteki Ecore IMF.
414
415 %package imf-static
416 Summary:        Static Ecore IMF library
417 Summary(pl.UTF-8):      Statyczna biblioteka Ecore IMF
418 Group:          Development/Libraries
419 Requires:       %{name}-imf-devel = %{version}-%{release}
420
421 %description imf-static
422 Static Ecore IMF library.
423
424 %description imf-static -l pl.UTF-8
425 Statyczna biblioteka Ecore IMF.
426
427 %package imf-evas
428 Summary:        Ecore IMF Evas library
429 Summary(pl.UTF-8):      Biblioteka Ecore IMF Evas
430 Group:          Libraries
431 Requires:       %{name} = %{version}-%{release}
432 Requires:       %{name}-imf = %{version}-%{release}
433 Requires:       evas >= 1.7.0
434
435 %description imf-evas
436 Ecore IMF Evas library.
437
438 %description imf-evas -l pl.UTF-8
439 Biblioteka Ecore IMF Evas.
440
441 %package imf-evas-devel
442 Summary:        Header file for Ecore IMF Evas library
443 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore IMF Evas
444 Group:          Development/Libraries
445 Requires:       %{name}-devel = %{version}-%{release}
446 Requires:       %{name}-imf-devel = %{version}-%{release}
447 Requires:       %{name}-imf-evas = %{version}-%{release}
448 Requires:       evas-devel >= 1.7.0
449
450 %description imf-evas-devel
451 Header file for Ecore IMF Evas library.
452
453 %description imf-evas-devel -l pl.UTF-8
454 Plik nagłówkowy biblioteki Ecore IMF Evas.
455
456 %package imf-evas-static
457 Summary:        Static Ecore IMF Evas library
458 Summary(pl.UTF-8):      Statyczna biblioteka Ecore IMF Evas
459 Group:          Development/Libraries
460 Requires:       %{name}-imf-evas-devel = %{version}-%{release}
461
462 %description imf-evas-static
463 Static Ecore IMF Evas library.
464
465 %description imf-evas-static -l pl.UTF-8
466 Statyczna biblioteka Ecore IMF Evas.
467
468 %package input
469 Summary:        Ecore Input library
470 Summary(pl.UTF-8):      Biblioteka Ecore Input
471 Group:          Libraries
472 Requires:       %{name} = %{version}-%{release}
473
474 %description input
475 Ecore Input library.
476
477 %description input -l pl.UTF-8
478 Biblioteka Ecore Input.
479
480 %package input-devel
481 Summary:        Header file for Ecore Input library
482 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore Input
483 Group:          Development/Libraries
484 Requires:       %{name}-devel = %{version}-%{release}
485 Requires:       %{name}-input = %{version}-%{release}
486
487 %description input-devel
488 Header file for Ecore Input library.
489
490 %description input-devel -l pl.UTF-8
491 Plik nagłówkowy biblioteki Ecore Input.
492
493 %package input-static
494 Summary:        Static Ecore Input library
495 Summary(pl.UTF-8):      Statyczna biblioteka Ecore Input
496 Group:          Development/Libraries
497 Requires:       %{name}-input-devel = %{version}-%{release}
498
499 %description input-static
500 Static Ecore Input library.
501
502 %description input-static -l pl.UTF-8
503 Statyczna biblioteka Ecore Input.
504
505 %package input-evas
506 Summary:        Ecore Input Evas extension library
507 Summary(pl.UTF-8):      Biblioteka rozszerzenia Ecore Input Evas
508 Group:          Libraries
509 Requires:       %{name} = %{version}-%{release}
510 Requires:       %{name}-input = %{version}-%{release}
511 Requires:       evas >= 1.7.0
512
513 %description input-evas
514 Ecore Input Evas extension library.
515
516 %description input-evas -l pl.UTF-8
517 Biblioteka rozszerzenia Ecore Input Evas.
518
519 %package input-evas-devel
520 Summary:        Header file for Ecore Input Evas extension library
521 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas
522 Group:          Development/Libraries
523 Requires:       %{name}-devel = %{version}-%{release}
524 Requires:       %{name}-input-devel = %{version}-%{release}
525 Requires:       evas-devel >= 1.7.0
526
527 %description input-evas-devel
528 Header file for Ecore Input Evas extension library.
529
530 %description input-evas-devel -l pl.UTF-8
531 Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas.
532
533 %package input-evas-static
534 Summary:        Static Ecore Input Evas extension library
535 Summary(pl.UTF-8):      Statyczna biblioteka rozszerzenia Ecore Input Evas
536 Group:          Libraries
537 Requires:       %{name}-input-evas-devel = %{version}-%{release}
538
539 %description input-evas-static
540 Static Ecore Input Evas extension library.
541
542 %description input-evas-static -l pl.UTF-8
543 Statyczna biblioteka rozszerzenia Ecore Input Evas.
544
545 %package ipc
546 Summary:        Ecore IPC (inter-process communication functions) library
547 Summary(pl.UTF-8):      Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej)
548 Group:          Libraries
549 Requires:       %{name} = %{version}-%{release}
550 Requires:       %{name}-con = %{version}-%{release}
551
552 %description ipc
553 Ecore IPC (inter-process communication functions) library.
554
555 %description ipc -l pl.UTF-8
556 Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej).
557
558 %package ipc-devel
559 Summary:        Header file for Ecore IPC library
560 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore IPC
561 Group:          Development/Libraries
562 Requires:       %{name}-con-devel = %{version}-%{release}
563 Requires:       %{name}-ipc = %{version}-%{release}
564
565 %description ipc-devel
566 Header file for Ecore IPC (inter-process communication functions)
567 library.
568
569 %description ipc-devel -l pl.UTF-8
570 Plik nagłówkowy biblioteki Ecore IPC (funkcji komunikacji
571 międzyprocesowej).
572
573 %package ipc-static
574 Summary:        Static Ecore IPC library
575 Summary(pl.UTF-8):      Statyczna biblioteka Ecore IPC
576 Group:          Development/Libraries
577 Requires:       %{name}-ipc-devel = %{version}-%{release}
578
579 %description ipc-static
580 Static Ecore IPC (inter-process communication functions) library.
581
582 %description ipc-static -l pl.UTF-8
583 Statyczna biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej).
584
585 %package sdl
586 Summary:        Ecore SDL library
587 Summary(pl.UTF-8):      Biblioteka Ecore SDL
588 Group:          Libraries
589 Requires:       %{name} = %{version}-%{release}
590 Requires:       %{name}-input = %{version}-%{release}
591 Requires:       SDL >= 1.2.0
592
593 %description sdl
594 Ecore SDL library.
595
596 %description sdl -l pl.UTF-8
597 Biblioteka Ecore SDL.
598
599 %package sdl-devel
600 Summary:        Header file for Ecore SDL library
601 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore SDL
602 Group:          Development/Libraries
603 Requires:       %{name}-devel = %{version}-%{release}
604 Requires:       %{name}-input-devel = %{version}-%{release}
605 Requires:       SDL-devel >= 1.2.0
606
607 %description sdl-devel
608 Header file for Ecore SDL library.
609
610 %description sdl-devel -l pl.UTF-8
611 Plik nagłówkowy biblioteki Ecore SDL.
612
613 %package sdl-static
614 Summary:        Static Ecore SDL library
615 Summary(pl.UTF-8):      Statyczna biblioteka Ecore SDL
616 Group:          Development/Libraries
617 Requires:       %{name}-sdl-devel = %{version}-%{release}
618
619 %description sdl-static
620 Static Ecore SDL library.
621
622 %description sdl-static -l pl.UTF-8
623 Statyczna biblioteka Ecore SDL.
624
625 %package wayland
626 Summary:        Ecore Wayland library
627 Summary(pl.UTF-8):      Biblioteka Ecore Wayland
628 Group:          Libraries
629 Requires:       %{name} = %{version}-%{release}
630 Requires:       %{name}-input = %{version}-%{release}
631 Requires:       wayland >= 1.0.0
632
633 %description wayland
634 Ecore Wayland library.
635
636 %description wayland -l pl.UTF-8
637 Biblioteka Ecore Wayland.
638
639 %package wayland-devel
640 Summary:        Header file for Ecore Wayland library
641 Summary(pl.UTF-8):      Plik nagłówkowy biblioteki Ecore Wayland
642 Group:          Development/Libraries
643 Requires:       %{name}-devel = %{version}-%{release}
644 Requires:       %{name}-input-devel = %{version}-%{release}
645 Requires:       wayland-devel >= 1.0.0
646
647 %description wayland-devel
648 Header file for Ecore Wayland library.
649
650 %description wayland-devel -l pl.UTF-8
651 Plik nagłówkowy biblioteki Ecore Wayland.
652
653 %package wayland-static
654 Summary:        Static Ecore Wayland library
655 Summary(pl.UTF-8):      Statyczna biblioteka Ecore Wayland
656 Group:          Development/Libraries
657 Requires:       %{name}-wayland-devel = %{version}-%{release}
658
659 %description wayland-static
660 Static Ecore Wayland library.
661
662 %description wayland-static -l pl.UTF-8
663 Statyczna biblioteka Ecore Wayland.
664
665 %package x
666 Summary:        Ecore X (functions for dealing with the X Window System) library
667 Summary(pl.UTF-8):      Biblioteka Ecore X (funkcji do obsługi X Window System)
668 Group:          X11/Libraries
669 Requires:       %{name} = %{version}-%{release}
670 Requires:       %{name}-input = %{version}-%{release}
671
672 %description x
673 Ecore X (functions for dealing with the X Window System) library.
674
675 %description x -l pl.UTF-8
676 Biblioteka Ecore X (funkcji do obsługi X Window System).
677
678 %package x-devel
679 Summary:        Header files for Ecore X library
680 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki Ecore X
681 Group:          Development/Libraries
682 Requires:       %{name}-devel = %{version}-%{release}
683 Requires:       %{name}-input-devel = %{version}-%{release}
684 Requires:       %{name}-x = %{version}-%{release}
685 %if %{with xcb}
686 Requires:       libxcb-devel
687 Requires:       pixman-devel
688 Requires:       xcb-util-devel >= 0.3.8
689 Requires:       xcb-util-image-devel
690 Requires:       xcb-util-keysyms-devel >= 0.3.8
691 Requires:       xcb-util-wm-devel >= 0.3.8
692 %else
693 Requires:       xorg-lib-libX11-devel
694 Requires:       xorg-lib-libXScrnSaver-devel
695 Requires:       xorg-lib-libXcomposite-devel
696 Requires:       xorg-lib-libXcursor-devel
697 Requires:       xorg-lib-libXdamage-devel
698 Requires:       xorg-lib-libXext-devel
699 Requires:       xorg-lib-libXfixes-devel
700 Requires:       xorg-lib-libXi-devel >= 1.3
701 Requires:       xorg-lib-libXinerama-devel
702 Requires:       xorg-lib-libXp-devel
703 Requires:       xorg-lib-libXrandr-devel
704 Requires:       xorg-lib-libXrender-devel
705 Requires:       xorg-lib-libXtst-devel
706 %endif
707
708 %description x-devel
709 Header files for Ecore X (functions for dealing with the X Window
710 System) library.
711
712 %description x-devel -l pl.UTF-8
713 Pliki nagłówkowe biblioteki Ecore X (funkcji do obsługi X Window
714 System).
715
716 %package x-static
717 Summary:        Static Ecore X library
718 Summary(pl.UTF-8):      Statyczna biblioteka Ecore X
719 Group:          Development/Libraries
720 Requires:       %{name}-x-devel = %{version}-%{release}
721
722 %description x-static
723 Static Ecore X (functions for dealing with the X Window System)
724 library.
725
726 %description x-static -l pl.UTF-8
727 Statyczna biblioteka Ecore X (funkcji do obsługi X Window System).
728
729 %package module-ibus
730 Summary:        Ecore IBus input method module
731 Summary(pl.UTF-8):      Ecore - moduł metody wprowadzania znaków IBus
732 Group:          X11/Libraries
733 Requires:       %{name}-imf = %{version}-%{release}
734 Requires:       %{name}-input = %{version}-%{release}
735 Requires:       %{name}-x = %{version}-%{release}
736 Requires:       ibus >= 1.4
737
738 %description module-ibus
739 Ecore IBus input method module.
740
741 %description module-ibus -l pl.UTF-8
742 Ecore - moduł metody wprowadzania znaków IBus.
743
744 %package module-scim
745 Summary:        Ecore SCIM input method module
746 Summary(pl.UTF-8):      Ecore - moduł metody wprowadzania znaków SCIM
747 Group:          X11/Libraries
748 Requires:       %{name}-imf = %{version}-%{release}
749 Requires:       %{name}-input = %{version}-%{release}
750 Requires:       %{name}-x = %{version}-%{release}
751 Requires:       scim
752
753 %description module-scim
754 Ecore SCIM input method module.
755
756 %description module-scim -l pl.UTF-8
757 Ecore - moduł metody wprowadzania znaków SCIM.
758
759 %package module-xim
760 Summary:        Ecore XIM input method module
761 Summary(pl.UTF-8):      Ecore - moduł metody wprowadzania znaków XIM
762 Group:          X11/Libraries
763 Requires:       %{name}-imf = %{version}-%{release}
764 Requires:       %{name}-input = %{version}-%{release}
765 Requires:       %{name}-x = %{version}-%{release}
766
767 %description module-xim
768 Ecore XIM input method module.
769
770 %description module-xim -l pl.UTF-8
771 Ecore - moduł metody wprowadzania znaków XIM.
772
773 %prep
774 %setup -q
775 %patch0 -p3
776
777 %build
778 %{__libtoolize}
779 %{__aclocal} -I m4
780 %{__autoconf}
781 %{__autoheader}
782 %{__automake}
783 %configure \
784         --disable-silent-rules \
785         %{!?with_static_libs:--disable-static} \
786         --disable-ecore-evas-software-8-x11 \
787         --enable-ecore-con      \
788         --enable-ecore-directfb \
789         --enable-ecore-fb       \
790         --enable-ecore-file     \
791         --enable-ecore-ipc      \
792         --enable-ecore-sdl      \
793         --enable-ecore-x        \
794         %{?with_xcb_api:--enable-ecore-x-xcb}   \
795         --enable-ecore-evas     \
796         --enable-ecore-evas-fb  \
797         --enable-cares          \
798         --enable-curl           \
799         --enable-inotify        \
800         --enable-poll
801
802 %{__make}
803
804 %install
805 rm -rf $RPM_BUILD_ROOT
806
807 %{__make} install \
808         DESTDIR=$RPM_BUILD_ROOT
809
810 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ecore/immodules/*.la
811
812 %find_lang %{name} --all-name
813
814 %clean
815 rm -rf $RPM_BUILD_ROOT
816
817 %post   -p /sbin/ldconfig
818 %postun -p /sbin/ldconfig
819 %post   con     -p /sbin/ldconfig
820 %postun con     -p /sbin/ldconfig
821 %post   config  -p /sbin/ldconfig
822 %postun config  -p /sbin/ldconfig
823 %post   directfb -p /sbin/ldconfig
824 %postun directfb -p /sbin/ldconfig
825 %post   evas    -p /sbin/ldconfig
826 %postun evas    -p /sbin/ldconfig
827 %post   fb      -p /sbin/ldconfig
828 %postun fb      -p /sbin/ldconfig
829 %post   file    -p /sbin/ldconfig
830 %postun file    -p /sbin/ldconfig
831 %post   imf     -p /sbin/ldconfig
832 %postun imf     -p /sbin/ldconfig
833 %post   imf-evas -p /sbin/ldconfig
834 %postun imf-evas -p /sbin/ldconfig
835 %post   input   -p /sbin/ldconfig
836 %postun input   -p /sbin/ldconfig
837 %post   input-evas -p /sbin/ldconfig
838 %postun input-evas -p /sbin/ldconfig
839 %post   ipc     -p /sbin/ldconfig
840 %postun ipc     -p /sbin/ldconfig
841 %post   sdl     -p /sbin/ldconfig
842 %postun sdl     -p /sbin/ldconfig
843 %post   x       -p /sbin/ldconfig
844 %postun x       -p /sbin/ldconfig
845
846 %files -f %{name}.lang
847 %defattr(644,root,root,755)
848 %doc AUTHORS COPYING ChangeLog NEWS README
849 %attr(755,root,root) %{_libdir}/libecore.so.*.*.*
850 %attr(755,root,root) %ghost %{_libdir}/libecore.so.1
851 %dir %{_libdir}/ecore
852 %dir %{_libdir}/ecore/immodules
853
854 %files devel
855 %defattr(644,root,root,755)
856 %attr(755,root,root) %{_libdir}/libecore.so
857 %{_libdir}/libecore.la
858 %dir %{_includedir}/ecore-1
859 %{_includedir}/ecore-1/Ecore.h
860 %{_includedir}/ecore-1/Ecore_Getopt.h
861 %{_pkgconfigdir}/ecore.pc
862
863 %if %{with static_libs}
864 %files static
865 %defattr(644,root,root,755)
866 %{_libdir}/libecore.a
867 %endif
868
869 %files con
870 %defattr(644,root,root,755)
871 %attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
872 %attr(755,root,root) %ghost %{_libdir}/libecore_con.so.1
873
874 %files con-devel
875 %defattr(644,root,root,755)
876 %attr(755,root,root) %{_libdir}/libecore_con.so
877 %{_libdir}/libecore_con.la
878 %{_includedir}/ecore-1/Ecore_Con.h
879 %{_pkgconfigdir}/ecore-con.pc
880
881 %if %{with static_libs}
882 %files con-static
883 %defattr(644,root,root,755)
884 %{_libdir}/libecore_con.a
885 %endif
886
887 %if 0
888 %files config
889 %defattr(644,root,root,755)
890 %attr(755,root,root) %{_bindir}/ecore_config
891 %attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
892 %attr(755,root,root) %ghost %{_libdir}/libecore_config.so.1
893
894 %files config-devel
895 %defattr(644,root,root,755)
896 %attr(755,root,root) %{_libdir}/libecore_config.so
897 %{_libdir}/libecore_config.la
898 %{_includedir}/ecore-1/Ecore_Config.h
899 %{_pkgconfigdir}/ecore-config.pc
900
901 %if %{with static_libs}
902 %files config-static
903 %defattr(644,root,root,755)
904 %{_libdir}/libecore_config.a
905 %endif
906 %endif
907
908 %files directfb
909 %defattr(644,root,root,755)
910 %attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
911 %attr(755,root,root) %ghost %{_libdir}/libecore_directfb.so.1
912
913 %files directfb-devel
914 %defattr(644,root,root,755)
915 %attr(755,root,root) %{_libdir}/libecore_directfb.so
916 %{_libdir}/libecore_directfb.la
917 %{_includedir}/ecore-1/Ecore_DirectFB.h
918 %{_pkgconfigdir}/ecore-directfb.pc
919
920 %if %{with static_libs}
921 %files directfb-static
922 %defattr(644,root,root,755)
923 %{_libdir}/libecore_directfb.a
924 %endif
925
926 %files evas
927 %defattr(644,root,root,755)
928 %attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
929 %attr(755,root,root) %ghost %{_libdir}/libecore_evas.so.1
930
931 %files evas-devel
932 %defattr(644,root,root,755)
933 %attr(755,root,root) %{_libdir}/libecore_evas.so
934 %{_libdir}/libecore_evas.la
935 %{_includedir}/ecore-1/Ecore_Evas.h
936 %{_pkgconfigdir}/ecore-evas.pc
937
938 %if %{with static_libs}
939 %files evas-static
940 %defattr(644,root,root,755)
941 %{_libdir}/libecore_evas.a
942 %endif
943
944 %files fb
945 %defattr(644,root,root,755)
946 %attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
947 %attr(755,root,root) %ghost %{_libdir}/libecore_fb.so.1
948
949 %files fb-devel
950 %defattr(644,root,root,755)
951 %attr(755,root,root) %{_libdir}/libecore_fb.so
952 %{_libdir}/libecore_fb.la
953 %{_includedir}/ecore-1/Ecore_Fb.h
954 %{_pkgconfigdir}/ecore-fb.pc
955
956 %if %{with static_libs}
957 %files fb-static
958 %defattr(644,root,root,755)
959 %{_libdir}/libecore_fb.a
960 %endif
961
962 %files file
963 %defattr(644,root,root,755)
964 %attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
965 %attr(755,root,root) %ghost %{_libdir}/libecore_file.so.1
966
967 %files file-devel
968 %defattr(644,root,root,755)
969 %attr(755,root,root) %{_libdir}/libecore_file.so
970 %{_libdir}/libecore_file.la
971 %{_includedir}/ecore-1/Ecore_File.h
972 %{_pkgconfigdir}/ecore-file.pc
973
974 %if %{with static_libs}
975 %files file-static
976 %defattr(644,root,root,755)
977 %{_libdir}/libecore_file.a
978 %endif
979
980 %files imf
981 %defattr(644,root,root,755)
982 %attr(755,root,root) %{_libdir}/libecore_imf.so.*.*.*
983 %attr(755,root,root) %ghost %{_libdir}/libecore_imf.so.1
984
985 %files imf-devel
986 %defattr(644,root,root,755)
987 %attr(755,root,root) %{_libdir}/libecore_imf.so
988 %{_libdir}/libecore_imf.la
989 %{_includedir}/ecore-1/Ecore_IMF.h
990 %{_pkgconfigdir}/ecore-imf.pc
991
992 %if %{with static_libs}
993 %files imf-static
994 %defattr(644,root,root,755)
995 %{_libdir}/libecore_imf.a
996 %endif
997
998 %files imf-evas
999 %defattr(644,root,root,755)
1000 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*.*.*
1001 %attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas.so.1
1002
1003 %files imf-evas-devel
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{_libdir}/libecore_imf_evas.so
1006 %{_libdir}/libecore_imf_evas.la
1007 %{_includedir}/ecore-1/Ecore_IMF_Evas.h
1008 %{_pkgconfigdir}/ecore-imf-evas.pc
1009
1010 %if %{with static_libs}
1011 %files imf-evas-static
1012 %defattr(644,root,root,755)
1013 %{_libdir}/libecore_imf_evas.a
1014 %endif
1015
1016 %files input
1017 %defattr(644,root,root,755)
1018 %attr(755,root,root) %{_libdir}/libecore_input.so.*.*.*
1019 %attr(755,root,root) %ghost %{_libdir}/libecore_input.so.1
1020
1021 %files input-devel
1022 %defattr(644,root,root,755)
1023 %attr(755,root,root) %{_libdir}/libecore_input.so
1024 %{_libdir}/libecore_input.la
1025 %{_includedir}/ecore-1/Ecore_Input.h
1026 %{_pkgconfigdir}/ecore-input.pc
1027
1028 %if %{with static_libs}
1029 %files input-static
1030 %defattr(644,root,root,755)
1031 %{_libdir}/libecore_input.a
1032 %endif
1033
1034 %files input-evas
1035 %defattr(644,root,root,755)
1036 %attr(755,root,root) %{_libdir}/libecore_input_evas.so.*.*.*
1037 %attr(755,root,root) %ghost %{_libdir}/libecore_input_evas.so.1
1038
1039 %files input-evas-devel
1040 %defattr(644,root,root,755)
1041 %attr(755,root,root) %{_libdir}/libecore_input_evas.so
1042 %{_libdir}/libecore_input_evas.la
1043 %{_includedir}/ecore-1/Ecore_Input_Evas.h
1044 %{_pkgconfigdir}/ecore-input-evas.pc
1045
1046 %if %{with static_libs}
1047 %files input-evas-static
1048 %defattr(644,root,root,755)
1049 %{_libdir}/libecore_input_evas.a
1050 %endif
1051
1052 %files ipc
1053 %defattr(644,root,root,755)
1054 %attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
1055 %attr(755,root,root) %ghost %{_libdir}/libecore_ipc.so.1
1056
1057 %files ipc-devel
1058 %defattr(644,root,root,755)
1059 %attr(755,root,root) %{_libdir}/libecore_ipc.so
1060 %{_libdir}/libecore_ipc.la
1061 %{_includedir}/ecore-1/Ecore_Ipc.h
1062 %{_pkgconfigdir}/ecore-ipc.pc
1063
1064 %if %{with static_libs}
1065 %files ipc-static
1066 %defattr(644,root,root,755)
1067 %{_libdir}/libecore_ipc.a
1068 %endif
1069
1070 %files sdl
1071 %defattr(644,root,root,755)
1072 %attr(755,root,root) %{_libdir}/libecore_sdl.so.*.*.*
1073 %attr(755,root,root) %ghost %{_libdir}/libecore_sdl.so.1
1074
1075 %files sdl-devel
1076 %defattr(644,root,root,755)
1077 %attr(755,root,root) %{_libdir}/libecore_sdl.so
1078 %{_libdir}/libecore_sdl.la
1079 %{_includedir}/ecore-1/Ecore_Sdl.h
1080 %{_pkgconfigdir}/ecore-sdl.pc
1081
1082 %if %{with static_libs}
1083 %files sdl-static
1084 %defattr(644,root,root,755)
1085 %{_libdir}/libecore_sdl.a
1086 %endif
1087
1088 %if %{with wayland}
1089 %files wayland
1090 %defattr(644,root,root,755)
1091 %attr(755,root,root) %{_libdir}/libecore_wayland.so.*.*.*
1092 %attr(755,root,root) %ghost %{_libdir}/libecore_wayland.so.1
1093
1094 %files wayland-devel
1095 %defattr(644,root,root,755)
1096 %attr(755,root,root) %{_libdir}/libecore_wayland.so
1097 %{_libdir}/libecore_wayland.la
1098 %{_includedir}/ecore-1/Ecore_Wayland.h
1099 %{_pkgconfigdir}/ecore-wayland.pc
1100
1101 %if %{with static_libs}
1102 %files wayland-static
1103 %defattr(644,root,root,755)
1104 %{_libdir}/libecore_wayland.a
1105 %endif
1106 %endif
1107
1108 %files x
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
1111 %attr(755,root,root) %ghost %{_libdir}/libecore_x.so.1
1112
1113 %files x-devel
1114 %defattr(644,root,root,755)
1115 %attr(755,root,root) %{_libdir}/libecore_x.so
1116 %{_libdir}/libecore_x.la
1117 %{_includedir}/ecore-1/Ecore_X.h
1118 %{_includedir}/ecore-1/Ecore_X_Atoms.h
1119 %{_includedir}/ecore-1/Ecore_X_Cursor.h
1120 %{_pkgconfigdir}/ecore-x.pc
1121
1122 %if %{with static_libs}
1123 %files x-static
1124 %defattr(644,root,root,755)
1125 %{_libdir}/libecore_x.a
1126 %endif
1127
1128 %if %{with ibus}
1129 %files module-ibus
1130 %defattr(644,root,root,755)
1131 %attr(755,root,root) %{_libdir}/ecore/immodules/ibus.so
1132 %endif
1133
1134 %if %{with scim}
1135 %files module-scim
1136 %defattr(644,root,root,755)
1137 %attr(755,root,root) %{_libdir}/ecore/immodules/scim.so
1138 %endif
1139
1140 %if %{without xcb_api}
1141 %files module-xim
1142 %defattr(644,root,root,755)
1143 %attr(755,root,root) %{_libdir}/ecore/immodules/xim.so
1144 %endif
This page took 0.095589 seconds and 2 git commands to generate.