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

%undefine	__cxx

%description
Ecore is the event/X abstraction layer that makes doing selections,
Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
optimized, and convenient. It's a separate library so anyone can make
use of the work put into Ecore to make this job easy for applications.

%description -l pl.UTF-8
Ecore to warstwa abstrakcji zdarzeń/X, która powoduje, że dokonywanie
zaznaczeń, Xdnd, ogólne operacje X, pętle zdarzeń, obsługa timeoutów i
bezczynności są szybkie, zoptymalizowane i wygodne. Jest to wydzielona
biblioteka, więc każdy może skorzystać z pracy włożonej w Ecore do
ułatwienia swojej pracy przy aplikacjach.

%package devel
Summary:	Header files for Ecore library
Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Ecore
Group:		Development/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	eina-devel >= 1.7.5
Requires:	glib2-devel >= 2.0

%description devel
Header files for Ecore library.

%description devel -l pl.UTF-8
Pliki nagłówkowe biblioteki Ecore.

%package static
Summary:	Static Ecore library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}

%description static
Static Ecore library.

%description static -l pl.UTF-8
Statyczna biblioteka Ecore.

%package con
Summary:	Ecore Con(nection) library
Summary(pl.UTF-8):	Biblioteka połączeń Ecore Con
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	gnutls >= 2.10.2

%description con
Ecore Con(nection) Library.

%description con -l pl.UTF-8
Biblioteka połączeń Ecore Con.

%package con-devel
Summary:	Header file for Ecore Con library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore Con
Group:		Development/Libraries
Requires:	%{name}-con = %{version}-%{release}
Requires:	%{name}-devel = %{version}-%{release}
%{?with_cares:Requires:	c-ares-devel >= 1.6.1}
Requires:	curl-devel
Requires:	gnutls-devel >= 2.10.2

%description con-devel
Header file for Ecore Con(nection) library.

%description con-devel -l pl.UTF-8
Plik nagłówkowy biblioteki połączeń Ecore Con.

%package con-static
Summary:	Static Ecore Con library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore Con
Group:		Development/Libraries
Requires:	%{name}-con-devel = %{version}-%{release}

%description con-static
Static Ecore Con(nection) library.

%description con-static -l pl.UTF-8
Statyczna biblioteka połączeń Ecore Con.

%package config
Summary:	Ecore Config library
Summary(pl.UTF-8):	Biblioteka właściwości Ecore Config
Group:		Libraries
Requires:	%{name}-ipc = %{version}-%{release}
Requires:	eet >= 1.7.5
Requires:	evas >= 1.7.5

%description config
Ecore Config library.

%description config -l pl.UTF-8
Biblioteka właściwości Ecore Config.

%package config-devel
Summary:	Header file for Ecore Config library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore Config
Group:		Development/Libraries
Requires:	%{name}-config = %{version}-%{release}
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-ipc-devel = %{version}-%{release}
Requires:	eet-devel >= 1.7.5
Requires:	evas-devel >= 1.7.5

%description config-devel
Header file for Ecore Config library.

%description config-devel -l pl.UTF-8
Plik nagłówkowy biblioteki właściwości Ecore Config.

%package config-static
Summary:	Static Ecore Config library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore Config
Group:		Development/Libraries
Requires:	%{name}-config-devel = %{version}-%{release}

%description config-static
Static Ecore Config library.

%description config-static -l pl.UTF-8
Statyczna biblioteka właściwości Ecore Config.

%package directfb
Summary:	Ecore DirectFB (frame buffer system functions) library
Summary(pl.UTF-8):	Biblioteka Ecore DirectFB (funkcji systemowych framebuffera)
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	DirectFB >= 0.9.16

%description directfb
Ecore DirectFB (frame buffer system functions) library.

%description directfb -l pl.UTF-8
Biblioteka Ecore DirectFB (funkcji systemowych framebuffera).

%package directfb-devel
Summary:	Header file for Ecore DirectFB library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore DirectFB
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-directfb = %{version}-%{release}
Requires:	DirectFB-devel >= 0.9.16

%description directfb-devel
Header file for Ecore DirectFB (frame buffer system functions)
library.

%description directfb-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore DirectFB (funkcji systemowych
framebuffera).

%package directfb-static
Summary:	Static Ecore DirectFB library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore DirectFB
Group:		Development/Libraries
Requires:	%{name}-directfb-devel = %{version}-%{release}

%description directfb-static
Static Ecore DirectFB (frame buffer system functions) library.

%description directfb-static -l pl.UTF-8
Statyczna biblioteka Ecore DirectFB (funkcji systemowych
framebuffera).

%package evas
Summary:	Ecore Evas library
Summary(pl.UTF-8):	Biblioteka Ecore Evas
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-directfb = %{version}-%{release}
Requires:	%{name}-fb = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	%{name}-input-evas = %{version}-%{release}
Requires:	%{name}-ipc = %{version}-%{release}
Requires:	%{name}-sdl = %{version}-%{release}
%if %{with wayland}
Requires:	%{name}-wayland = %{version}-%{release}
Requires:	Mesa-libEGL >= 7.10
%endif
Requires:	%{name}-x = %{version}-%{release}
Requires:	evas >= 1.7.5

%description evas
Ecore Evas library.

%description evas -l pl.UTF-8
Biblioteka Ecore Evas.

%package evas-devel
Summary:	Header file for Ecore Evas library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore Evas
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-directfb-devel = %{version}-%{release}
Requires:	%{name}-evas = %{version}-%{release}
Requires:	%{name}-fb-devel = %{version}-%{release}
Requires:	%{name}-input-devel = %{version}-%{release}
Requires:	%{name}-input-evas-devel = %{version}-%{release}
Requires:	%{name}-ipc-devel = %{version}-%{release}
Requires:	%{name}-sdl-devel = %{version}-%{release}
%if %{with wayland}
Requires:	%{name}-wayland-devel = %{version}-%{release}
Requires:	Mesa-libEGL-devel >= 7.10
Requires:	Mesa-libwayland-egl-devel
%endif
Requires:	%{name}-x-devel = %{version}-%{release}
Requires:	evas-devel >= 1.7.5

%description evas-devel
Header file for Ecore Evas library.

%description evas-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore Evas.

%package evas-static
Summary:	Static Ecore Evas library
Summary(pl.UTF-8):	Biblioteka statyczna Ecore Evas
Group:		Development/Libraries
Requires:	%{name}-evas-devel = %{version}-%{release}

%description evas-static
Static Ecore Evas library.

%description evas-static -l pl.UTF-8
Biblioteka statyczna Ecore Evas.

%package fb
Summary:	Ecore FB (frame buffer system functions) library
Summary(pl.UTF-8):	Biblioteka Ecore FB (funkcji systemowych framebuffera)
Group:		Libraries
Requires:	%{name} = %{version}-%{release}

%description fb
Ecore FB (frame buffer system functions) library.

%description fb -l pl.UTF-8
Biblioteka Ecore FB (funkcji systemowych framebuffera).

%package fb-devel
Summary:	Header file for Ecore FB library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore FB
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-fb = %{version}-%{release}
Requires:	tslib-devel

%description fb-devel
Header file for Ecore FB (frame buffer system functions) library.

%description fb-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore FB (funkcji systemowych
framebuffera).

%package fb-static
Summary:	Static Ecore FB library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore FB
Group:		Development/Libraries
Requires:	%{name}-fb-devel = %{version}-%{release}

%description fb-static
Static Ecore FB (frame buffer system functions) library.

%description fb-static -l pl.UTF-8
Statyczna biblioteka Ecore FB (funkcji systemowych framebuffera).

%package file
Summary:	Ecore File library
Summary(pl.UTF-8):	Biblioteka Ecore File
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-con = %{version}-%{release}

%description file
Ecore File library.

%description file -l pl.UTF-8
Biblioteka Ecore File.

%package file-devel
Summary:	Header file for Ecore File library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore File
Group:		Development/Libraries
Requires:	%{name}-con-devel = %{version}-%{release}
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-file = %{version}-%{release}

%description file-devel
Header file for Ecore File library.

%description file-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore File.

%package file-static
Summary:	Static Ecore File library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore File
Group:		Development/Libraries
Requires:	%{name}-file-devel = %{version}-%{release}

%description file-static
Static Ecore File library.

%description file-static -l pl.UTF-8
Statyczna biblioteka Ecore File.

%package imf
Summary:	Ecore IMF library
Summary(pl.UTF-8):	Biblioteka Ecore IMF
Group:		Libraries
Requires:	%{name} = %{version}-%{release}

%description imf
Ecore IMF library.

%description imf -l pl.UTF-8
Biblioteka Ecore IMF.

%package imf-devel
Summary:	Header file for Ecore IMF library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore IMF
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-imf = %{version}-%{release}

%description imf-devel
Header file for Ecore IMF library.

%description imf-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore IMF.

%package imf-static
Summary:	Static Ecore IMF library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore IMF
Group:		Development/Libraries
Requires:	%{name}-imf-devel = %{version}-%{release}

%description imf-static
Static Ecore IMF library.

%description imf-static -l pl.UTF-8
Statyczna biblioteka Ecore IMF.

%package imf-evas
Summary:	Ecore IMF Evas library
Summary(pl.UTF-8):	Biblioteka Ecore IMF Evas
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-imf = %{version}-%{release}
Requires:	evas >= 1.7.5

%description imf-evas
Ecore IMF Evas library.

%description imf-evas -l pl.UTF-8
Biblioteka Ecore IMF Evas.

%package imf-evas-devel
Summary:	Header file for Ecore IMF Evas library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore IMF Evas
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-imf-devel = %{version}-%{release}
Requires:	%{name}-imf-evas = %{version}-%{release}
Requires:	evas-devel >= 1.7.5

%description imf-evas-devel
Header file for Ecore IMF Evas library.

%description imf-evas-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore IMF Evas.

%package imf-evas-static
Summary:	Static Ecore IMF Evas library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore IMF Evas
Group:		Development/Libraries
Requires:	%{name}-imf-evas-devel = %{version}-%{release}

%description imf-evas-static
Static Ecore IMF Evas library.

%description imf-evas-static -l pl.UTF-8
Statyczna biblioteka Ecore IMF Evas.

%package input
Summary:	Ecore Input library
Summary(pl.UTF-8):	Biblioteka Ecore Input
Group:		Libraries
Requires:	%{name} = %{version}-%{release}

%description input
Ecore Input library.

%description input -l pl.UTF-8
Biblioteka Ecore Input.

%package input-devel
Summary:	Header file for Ecore Input library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore Input
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}

%description input-devel
Header file for Ecore Input library.

%description input-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore Input.

%package input-static
Summary:	Static Ecore Input library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore Input
Group:		Development/Libraries
Requires:	%{name}-input-devel = %{version}-%{release}

%description input-static
Static Ecore Input library.

%description input-static -l pl.UTF-8
Statyczna biblioteka Ecore Input.

%package input-evas
Summary:	Ecore Input Evas extension library
Summary(pl.UTF-8):	Biblioteka rozszerzenia Ecore Input Evas
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	evas >= 1.7.5

%description input-evas
Ecore Input Evas extension library.

%description input-evas -l pl.UTF-8
Biblioteka rozszerzenia Ecore Input Evas.

%package input-evas-devel
Summary:	Header file for Ecore Input Evas extension library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-input-devel = %{version}-%{release}
Requires:	evas-devel >= 1.7.5

%description input-evas-devel
Header file for Ecore Input Evas extension library.

%description input-evas-devel -l pl.UTF-8
Plik nagłówkowy biblioteki rozszerzenia Ecore Input Evas.

%package input-evas-static
Summary:	Static Ecore Input Evas extension library
Summary(pl.UTF-8):	Statyczna biblioteka rozszerzenia Ecore Input Evas
Group:		Libraries
Requires:	%{name}-input-evas-devel = %{version}-%{release}

%description input-evas-static
Static Ecore Input Evas extension library.

%description input-evas-static -l pl.UTF-8
Statyczna biblioteka rozszerzenia Ecore Input Evas.

%package ipc
Summary:	Ecore IPC (inter-process communication functions) library
Summary(pl.UTF-8):	Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej)
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-con = %{version}-%{release}

%description ipc
Ecore IPC (inter-process communication functions) library.

%description ipc -l pl.UTF-8
Biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej).

%package ipc-devel
Summary:	Header file for Ecore IPC library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore IPC
Group:		Development/Libraries
Requires:	%{name}-con-devel = %{version}-%{release}
Requires:	%{name}-ipc = %{version}-%{release}

%description ipc-devel
Header file for Ecore IPC (inter-process communication functions)
library.

%description ipc-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore IPC (funkcji komunikacji
międzyprocesowej).

%package ipc-static
Summary:	Static Ecore IPC library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore IPC
Group:		Development/Libraries
Requires:	%{name}-ipc-devel = %{version}-%{release}

%description ipc-static
Static Ecore IPC (inter-process communication functions) library.

%description ipc-static -l pl.UTF-8
Statyczna biblioteka Ecore IPC (funkcji komunikacji międzyprocesowej).

%package sdl
Summary:	Ecore SDL library
Summary(pl.UTF-8):	Biblioteka Ecore SDL
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	SDL >= 1.2.0

%description sdl
Ecore SDL library.

%description sdl -l pl.UTF-8
Biblioteka Ecore SDL.

%package sdl-devel
Summary:	Header file for Ecore SDL library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore SDL
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-input-devel = %{version}-%{release}
Requires:	SDL-devel >= 1.2.0

%description sdl-devel
Header file for Ecore SDL library.

%description sdl-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore SDL.

%package sdl-static
Summary:	Static Ecore SDL library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore SDL
Group:		Development/Libraries
Requires:	%{name}-sdl-devel = %{version}-%{release}

%description sdl-static
Static Ecore SDL library.

%description sdl-static -l pl.UTF-8
Statyczna biblioteka Ecore SDL.

%package wayland
Summary:	Ecore Wayland library
Summary(pl.UTF-8):	Biblioteka Ecore Wayland
Group:		Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	wayland >= 1.0.0

%description wayland
Ecore Wayland library.

%description wayland -l pl.UTF-8
Biblioteka Ecore Wayland.

%package wayland-devel
Summary:	Header file for Ecore Wayland library
Summary(pl.UTF-8):	Plik nagłówkowy biblioteki Ecore Wayland
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-input-devel = %{version}-%{release}
Requires:	wayland-devel >= 1.0.0

%description wayland-devel
Header file for Ecore Wayland library.

%description wayland-devel -l pl.UTF-8
Plik nagłówkowy biblioteki Ecore Wayland.

%package wayland-static
Summary:	Static Ecore Wayland library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore Wayland
Group:		Development/Libraries
Requires:	%{name}-wayland-devel = %{version}-%{release}

%description wayland-static
Static Ecore Wayland library.

%description wayland-static -l pl.UTF-8
Statyczna biblioteka Ecore Wayland.

%package x
Summary:	Ecore X (functions for dealing with the X Window System) library
Summary(pl.UTF-8):	Biblioteka Ecore X (funkcji do obsługi X Window System)
Group:		X11/Libraries
Requires:	%{name} = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}

%description x
Ecore X (functions for dealing with the X Window System) library.

%description x -l pl.UTF-8
Biblioteka Ecore X (funkcji do obsługi X Window System).

%package x-devel
Summary:	Header files for Ecore X library
Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki Ecore X
Group:		Development/Libraries
Requires:	%{name}-devel = %{version}-%{release}
Requires:	%{name}-input-devel = %{version}-%{release}
Requires:	%{name}-x = %{version}-%{release}
%if %{with xcb}
Requires:	libxcb-devel
Requires:	pixman-devel
Requires:	xcb-util-devel >= 0.3.8
Requires:	xcb-util-image-devel
Requires:	xcb-util-keysyms-devel >= 0.3.8
Requires:	xcb-util-wm-devel >= 0.3.8
%else
Requires:	xorg-lib-libX11-devel
Requires:	xorg-lib-libXScrnSaver-devel
Requires:	xorg-lib-libXcomposite-devel
Requires:	xorg-lib-libXcursor-devel
Requires:	xorg-lib-libXdamage-devel
Requires:	xorg-lib-libXext-devel
Requires:	xorg-lib-libXfixes-devel
Requires:	xorg-lib-libXi-devel >= 1.3
Requires:	xorg-lib-libXinerama-devel
Requires:	xorg-lib-libXp-devel
Requires:	xorg-lib-libXrandr-devel
Requires:	xorg-lib-libXrender-devel
Requires:	xorg-lib-libXtst-devel
%endif

%description x-devel
Header files for Ecore X (functions for dealing with the X Window
System) library.

%description x-devel -l pl.UTF-8
Pliki nagłówkowe biblioteki Ecore X (funkcji do obsługi X Window
System).

%package x-static
Summary:	Static Ecore X library
Summary(pl.UTF-8):	Statyczna biblioteka Ecore X
Group:		Development/Libraries
Requires:	%{name}-x-devel = %{version}-%{release}

%description x-static
Static Ecore X (functions for dealing with the X Window System)
library.

%description x-static -l pl.UTF-8
Statyczna biblioteka Ecore X (funkcji do obsługi X Window System).

%package module-ibus
Summary:	Ecore IBus input method module
Summary(pl.UTF-8):	Ecore - moduł metody wprowadzania znaków IBus
Group:		X11/Libraries
Requires:	%{name}-imf = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	%{name}-x = %{version}-%{release}
Requires:	ibus >= 1.4

%description module-ibus
Ecore IBus input method module.

%description module-ibus -l pl.UTF-8
Ecore - moduł metody wprowadzania znaków IBus.

%package module-scim
Summary:	Ecore SCIM input method module
Summary(pl.UTF-8):	Ecore - moduł metody wprowadzania znaków SCIM
Group:		X11/Libraries
Requires:	%{name}-imf = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	%{name}-x = %{version}-%{release}
Requires:	scim

%description module-scim
Ecore SCIM input method module.

%description module-scim -l pl.UTF-8
Ecore - moduł metody wprowadzania znaków SCIM.

%package module-xim
Summary:	Ecore XIM input method module
Summary(pl.UTF-8):	Ecore - moduł metody wprowadzania znaków XIM
Group:		X11/Libraries
Requires:	%{name}-imf = %{version}-%{release}
Requires:	%{name}-input = %{version}-%{release}
Requires:	%{name}-x = %{version}-%{release}

%description module-xim
Ecore XIM input method module.

%description module-xim -l pl.UTF-8
Ecore - moduł metody wprowadzania znaków XIM.

%prep
%setup -q

%build
%{__libtoolize}
%{__aclocal} -I m4
%{__autoconf}
%{__autoheader}
%{__automake}
%configure \
	--disable-silent-rules \
	%{!?with_static_libs:--disable-static} \
	--disable-ecore-evas-software-8-x11 \
	--enable-ecore-con	\
	--enable-ecore-directfb	\
	--enable-ecore-fb	\
	--enable-ecore-file	\
	--enable-ecore-ipc	\
	--enable-ecore-sdl	\
	--enable-ecore-x	\
	%{?with_xcb_api:--enable-ecore-x-xcb}	\
	--enable-ecore-evas	\
	--enable-ecore-evas-fb	\
	--enable-cares		\
	--enable-curl		\
	--enable-inotify	\
	--enable-poll

%{__make}

%install
rm -rf $RPM_BUILD_ROOT

%{__make} install \
	DESTDIR=$RPM_BUILD_ROOT

%{__rm} $RPM_BUILD_ROOT%{_libdir}/ecore/immodules/*.la

%find_lang %{name} --all-name

%clean
rm -rf $RPM_BUILD_ROOT

%post	-p /sbin/ldconfig
%postun	-p /sbin/ldconfig
%post	con	-p /sbin/ldconfig
%postun	con	-p /sbin/ldconfig
%post	config	-p /sbin/ldconfig
%postun	config	-p /sbin/ldconfig
%post	directfb -p /sbin/ldconfig
%postun	directfb -p /sbin/ldconfig
%post	evas	-p /sbin/ldconfig
%postun	evas	-p /sbin/ldconfig
%post	fb	-p /sbin/ldconfig
%postun	fb	-p /sbin/ldconfig
%post	file	-p /sbin/ldconfig
%postun	file	-p /sbin/ldconfig
%post	imf	-p /sbin/ldconfig
%postun	imf	-p /sbin/ldconfig
%post	imf-evas -p /sbin/ldconfig
%postun	imf-evas -p /sbin/ldconfig
%post	input	-p /sbin/ldconfig
%postun	input	-p /sbin/ldconfig
%post	input-evas -p /sbin/ldconfig
%postun	input-evas -p /sbin/ldconfig
%post	ipc	-p /sbin/ldconfig
%postun	ipc	-p /sbin/ldconfig
%post	sdl	-p /sbin/ldconfig
%postun	sdl	-p /sbin/ldconfig
%post	x	-p /sbin/ldconfig
%postun	x	-p /sbin/ldconfig

%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS COPYING ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libecore.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore.so.1
%dir %{_libdir}/ecore
%dir %{_libdir}/ecore/immodules

%files devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore.so
%{_libdir}/libecore.la
%dir %{_includedir}/ecore-1
%{_includedir}/ecore-1/Ecore.h
%{_includedir}/ecore-1/Ecore_Getopt.h
%{_pkgconfigdir}/ecore.pc

%if %{with static_libs}
%files static
%defattr(644,root,root,755)
%{_libdir}/libecore.a
%endif

%files con
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_con.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_con.so.1

%files con-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_con.so
%{_libdir}/libecore_con.la
%{_includedir}/ecore-1/Ecore_Con.h
%{_pkgconfigdir}/ecore-con.pc

%if %{with static_libs}
%files con-static
%defattr(644,root,root,755)
%{_libdir}/libecore_con.a
%endif

%if 0
%files config
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/ecore_config
%attr(755,root,root) %{_libdir}/libecore_config.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_config.so.1

%files config-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_config.so
%{_libdir}/libecore_config.la
%{_includedir}/ecore-1/Ecore_Config.h
%{_pkgconfigdir}/ecore-config.pc

%if %{with static_libs}
%files config-static
%defattr(644,root,root,755)
%{_libdir}/libecore_config.a
%endif
%endif

%files directfb
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_directfb.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_directfb.so.1

%files directfb-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_directfb.so
%{_libdir}/libecore_directfb.la
%{_includedir}/ecore-1/Ecore_DirectFB.h
%{_pkgconfigdir}/ecore-directfb.pc

%if %{with static_libs}
%files directfb-static
%defattr(644,root,root,755)
%{_libdir}/libecore_directfb.a
%endif

%files evas
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_evas.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_evas.so.1

%files evas-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_evas.so
%{_libdir}/libecore_evas.la
%{_includedir}/ecore-1/Ecore_Evas.h
%{_pkgconfigdir}/ecore-evas.pc

%if %{with static_libs}
%files evas-static
%defattr(644,root,root,755)
%{_libdir}/libecore_evas.a
%endif

%files fb
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_fb.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_fb.so.1

%files fb-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_fb.so
%{_libdir}/libecore_fb.la
%{_includedir}/ecore-1/Ecore_Fb.h
%{_pkgconfigdir}/ecore-fb.pc

%if %{with static_libs}
%files fb-static
%defattr(644,root,root,755)
%{_libdir}/libecore_fb.a
%endif

%files file
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_file.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_file.so.1

%files file-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_file.so
%{_libdir}/libecore_file.la
%{_includedir}/ecore-1/Ecore_File.h
%{_pkgconfigdir}/ecore-file.pc

%if %{with static_libs}
%files file-static
%defattr(644,root,root,755)
%{_libdir}/libecore_file.a
%endif

%files imf
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_imf.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_imf.so.1

%files imf-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_imf.so
%{_libdir}/libecore_imf.la
%{_includedir}/ecore-1/Ecore_IMF.h
%{_pkgconfigdir}/ecore-imf.pc

%if %{with static_libs}
%files imf-static
%defattr(644,root,root,755)
%{_libdir}/libecore_imf.a
%endif

%files imf-evas
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_imf_evas.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_imf_evas.so.1

%files imf-evas-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_imf_evas.so
%{_libdir}/libecore_imf_evas.la
%{_includedir}/ecore-1/Ecore_IMF_Evas.h
%{_pkgconfigdir}/ecore-imf-evas.pc

%if %{with static_libs}
%files imf-evas-static
%defattr(644,root,root,755)
%{_libdir}/libecore_imf_evas.a
%endif

%files input
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_input.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_input.so.1

%files input-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_input.so
%{_libdir}/libecore_input.la
%{_includedir}/ecore-1/Ecore_Input.h
%{_pkgconfigdir}/ecore-input.pc

%if %{with static_libs}
%files input-static
%defattr(644,root,root,755)
%{_libdir}/libecore_input.a
%endif

%files input-evas
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_input_evas.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_input_evas.so.1

%files input-evas-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_input_evas.so
%{_libdir}/libecore_input_evas.la
%{_includedir}/ecore-1/Ecore_Input_Evas.h
%{_pkgconfigdir}/ecore-input-evas.pc

%if %{with static_libs}
%files input-evas-static
%defattr(644,root,root,755)
%{_libdir}/libecore_input_evas.a
%endif

%files ipc
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_ipc.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_ipc.so.1

%files ipc-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_ipc.so
%{_libdir}/libecore_ipc.la
%{_includedir}/ecore-1/Ecore_Ipc.h
%{_pkgconfigdir}/ecore-ipc.pc

%if %{with static_libs}
%files ipc-static
%defattr(644,root,root,755)
%{_libdir}/libecore_ipc.a
%endif

%files sdl
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_sdl.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_sdl.so.1

%files sdl-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_sdl.so
%{_libdir}/libecore_sdl.la
%{_includedir}/ecore-1/Ecore_Sdl.h
%{_pkgconfigdir}/ecore-sdl.pc

%if %{with static_libs}
%files sdl-static
%defattr(644,root,root,755)
%{_libdir}/libecore_sdl.a
%endif

%if %{with wayland}
%files wayland
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_wayland.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_wayland.so.1

%files wayland-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_wayland.so
%{_libdir}/libecore_wayland.la
%{_includedir}/ecore-1/Ecore_Wayland.h
%{_pkgconfigdir}/ecore-wayland.pc

%if %{with static_libs}
%files wayland-static
%defattr(644,root,root,755)
%{_libdir}/libecore_wayland.a
%endif
%endif

%files x
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_x.so.*.*.*
%attr(755,root,root) %ghost %{_libdir}/libecore_x.so.1

%files x-devel
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/libecore_x.so
%{_libdir}/libecore_x.la
%{_includedir}/ecore-1/Ecore_X.h
%{_includedir}/ecore-1/Ecore_X_Atoms.h
%{_includedir}/ecore-1/Ecore_X_Cursor.h
%{_pkgconfigdir}/ecore-x.pc

%if %{with static_libs}
%files x-static
%defattr(644,root,root,755)
%{_libdir}/libecore_x.a
%endif

%if %{with ibus}
%files module-ibus
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/ecore/immodules/ibus.so
%endif

%if %{with scim}
%files module-scim
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/ecore/immodules/scim.so
%endif

%if %{without xcb_api}
%files module-xim
%defattr(644,root,root,755)
%attr(755,root,root) %{_libdir}/ecore/immodules/xim.so
%endif