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