]> git.pld-linux.org Git - packages/ecore.git/blob - ecore.spec
b187146338c1c8872300e6b6d91854ea01cd86a5
[packages/ecore.git] / ecore.spec
1 Summary:        Enlightened Core X interface library
2 Summary(pl):    Biblioteka interfejsu X Enlightened Core
3 Name:           ecore
4 Version:        0.9.9.019
5 Release:        1
6 License:        BSD
7 Group:          X11/Libraries
8 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
9 # Source0-md5:  ae89e91893b02d9d2ad486fa4e63fcee
10 Patch0:         %{name}-missing_m4.patch
11 URL:            http://enlightenment.org/Libraries/Ecore/
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  curl-devel
15 BuildRequires:  evas-devel
16 BuildRequires:  libtool
17 BuildRequires:  openssl-devel
18 BuildRequires:  pkgconfig
19 Requires:       %{name}-libs = %{version}-%{release}
20 Requires:       fonts-TTF-bitstream-vera
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Ecore is the event/X abstraction layer that makes doing selections,
25 Xdnd, general X stuff, event loops, timeouts and idle handlers fast,
26 optimized, and convenient. It's a separate library so anyone can make
27 use of the work put into Ecore to make this job easy for applications.
28
29 %description -l pl
30 Ecore to warstwa abstracji zdarzeñ/X, która powoduje, ¿e dokonywanie
31 zaznaczeñ, Xdnd, ogólne operacje X, pêtle zdarzeñ, obs³uga timeoutów i
32 bezczynno¶ci s± szybkie, zoptymalizowane i wygodne. Jest to wydzielona
33 biblioteka, wiêc ka¿dy mo¿e skorzystaæ z pracy w³o¿onej w Ecore do
34 u³atwienia swojej pracy przy aplikacjach.
35
36 %package libs
37 Summary:        Ecore library
38 Summary(pl):    Biblioteka ecore
39 Group:          X11/Libraries
40
41 %description libs
42 Ecore library.
43
44 %description libs -l pl
45 Biblioteka ecore.
46
47 %package devel
48 Summary:        Ecore header files
49 Summary(pl):    Pliki nag³ówkowe Ecore
50 Group:          Development/Libraries
51 Requires:       %{name}-libs = %{version}-%{release}
52 Requires:       curl-devel
53 Requires:       evas-devel
54 Requires:       openssl-devel
55
56 %description devel
57 Ecore development files.
58
59 %description devel -l pl
60 Pliki programistyczne Ecore.
61
62 %package static
63 Summary:        Static Ecore libraries
64 Summary(pl):    Statyczne biblioteki Ecore
65 Group:          Development/Libraries
66 Requires:       %{name}-devel = %{version}-%{release}
67
68 %description static
69 Static Ecore libraries.
70
71 %description static -l pl
72 Statyczne biblioteki Ecore.
73
74 %prep
75 %setup -q
76 %patch0 -p1
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 sed -e  's/^@BUILD_ECORE_DIRECTFB_TRUE@/#/'     \
85     -e  's/^@BUILD_ECORE_DIRECTFB_FALSE@//'     \
86     -i  src/lib/ecore_directfb/Makefile.in      \
87         src/lib/ecore_evas/Makefile.in
88 %configure \
89         --enable-ecore-txt      \
90         --enable-ecore-x        \
91         --enable-ecore-job      \
92         --enable-ecore-fb       \
93         --enable-ecore-evas     \
94         --enable-ecore-evas-gl  \
95         --enable-ecore-evas-xrender \
96         --disable-ecore-evas-dfb        \
97         --enable-ecore-evas-fb  \
98         --enable-ecore-evas-buffer \
99         --enable-ecore-con      \
100         --enable-openssl        \
101         --enable-ecore-ipc      \
102         --enable-ecore-dbus     \
103         --enable-ecore-config   \
104         --enable-ecore-file     \
105         --enable-inotify        \
106         --enable-poll           \
107         --enable-curl           \
108         --enable-pthreads
109
110 %{__make}
111
112 %install
113 rm -rf $RPM_BUILD_ROOT
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT
116
117 cd $RPM_BUILD_ROOT%{_datadir}/%{name}/fonts
118 VERA=$(ls Vera*.ttf)
119 for FONT in $VERA; do
120         rm -f $FONT
121         ln -s %{_fontsdir}/TTF/$FONT .
122 done
123
124 %clean
125 rm -rf $RPM_BUILD_ROOT
126
127 %post libs      -p /sbin/ldconfig
128 %postun libs    -p /sbin/ldconfig
129
130 %files
131 %defattr(644,root,root,755)
132 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
133 %attr(755,root,root) %{_bindir}/ecore_*
134 %{_datadir}/%{name}
135
136 %files libs
137 %defattr(644,root,root,755)
138 %attr(755,root,root) %{_libdir}/libecore*.so.*.*.*
139
140 %files devel
141 %defattr(644,root,root,755)
142 %attr(755,root,root) %{_bindir}/ecore-config
143 %attr(755,root,root) %{_libdir}/libecore*.so
144 %{_libdir}/libecore*.la
145 %{_pkgconfigdir}/ecore.pc
146 %{_aclocaldir}/ecore.m4
147 %{_includedir}/Ecore*.h
148
149 %files static
150 %defattr(644,root,root,755)
151 %{_libdir}/libecore*.a
This page took 0.073969 seconds and 3 git commands to generate.