1 # NOTE: for versions >= 1.8 see efl.spec
3 # - -devel conflicts with libeio-devel
4 # file /usr/lib64/libeio.la from install of eio-devel-0.1.0.65643-1.x86_64 conflicts with file from package libeio-devel-1.0-1.x86_64
5 # file /usr/lib64/libeio.so from install of eio-devel-0.1.0.65643-1.x86_64 conflicts with file from package libeio-devel-1.0-1.x86_64
8 %bcond_without static_libs # don't build static libraries
10 %define ecore_ver 1.7.10
11 %define eet_ver 1.7.10
12 %define eina_ver 1.7.10
13 Summary: Enlightenment Input Output Library
14 Summary(pl.UTF-8): Enlightenment Input Output - biblioteka wejścia/wyjścia z projektu Enlightenment
20 Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
21 # Source0-md5: 7c36b8e98ba06ecd2ab6c67768601944
22 URL: http://trac.enlightenment.org/e/wiki/Eio
23 BuildRequires: ecore-devel >= %{ecore_ver}
24 BuildRequires: eet-devel >= %{eet_ver}
25 BuildRequires: eina-devel >= %{eina_ver}
26 BuildRequires: pkgconfig >= 1:0.22
27 Requires: ecore >= %{ecore_ver}
28 Requires: eet >= %{eet_ver}
29 Requires: eina >= %{eina_ver}
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33 This library is intended to provide non blocking I/O by using thread
34 for all operation that may block. It depends only on eina and ecore
35 right now. It should integrate all the features/functions of
36 Ecore_File that could block.
38 %description -l pl.UTF-8
39 Ta biblioteka na za zadanie zapewniać nieblokujące operacje we/wy
40 poprzez użycie wątków dla wszystkich operacji, które mogę być
41 blokujące. Na razie wymaga tylko bibliotek eina i ecore. Powinna
42 zawierać wszystkie funkcje Ecore_File, które mogą być blokujące.
45 Summary: Header files for Eio library
46 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eio
47 Group: Development/Libraries
48 Requires: %{name} = %{version}-%{release}
49 Requires: ecore-devel >= %{ecore_ver}
50 Requires: eet-devel >= %{eet_ver}
51 Requires: eina-devel >= %{eina_ver}
52 Conflicts: libeio-devel
55 Header files for Eio library.
57 %description devel -l pl.UTF-8
58 Pliki nagłówkowe biblioteki Eio.
61 Summary: Static Eio library
62 Summary(pl.UTF-8): Statyczna biblioteka Eio
63 Group: Development/Libraries
64 Requires: %{name}-devel = %{version}-%{release}
69 %description static -l pl.UTF-8
70 Statyczna biblioteka Eio.
77 --disable-silent-rules \
78 %{!?with_static_libs:--disable-static}
82 rm -rf $RPM_BUILD_ROOT
85 DESTDIR=$RPM_BUILD_ROOT
88 rm -rf $RPM_BUILD_ROOT
90 %post -p /sbin/ldconfig
91 %postun -p /sbin/ldconfig
94 %defattr(644,root,root,755)
96 %attr(755,root,root) %{_libdir}/libeio.so.*.*.*
97 %attr(755,root,root) %ghost %{_libdir}/libeio.so.1
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_libdir}/libeio.so
104 %{_pkgconfigdir}/eio.pc
106 %if %{with static_libs}
108 %defattr(644,root,root,755)