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