]> git.pld-linux.org Git - packages/eio.git/blame - eio.spec
- x32 rebuild
[packages/eio.git] / eio.spec
CommitLineData
b74d1994 1# NOTE: for versions >= 1.8 see efl.spec
cd18c247
ER
2# TODO
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
774e5c30
JB
6#
7# Conditional build:
8%bcond_without static_libs # don't build static libraries
9#
dd55ce11
JB
10%define ecore_ver 1.7.10
11%define eet_ver 1.7.10
12%define eina_ver 1.7.10
774e5c30
JB
13Summary: Enlightenment Input Output Library
14Summary(pl.UTF-8): Enlightenment Input Output - biblioteka wejścia/wyjścia z projektu Enlightenment
15Name: eio
dd55ce11 16Version: 1.7.10
15de01bf 17Release: 2
774e5c30
JB
18License: LGPL v2.1+
19Group: Libraries
bb537c0c 20Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
dd55ce11 21# Source0-md5: 7c36b8e98ba06ecd2ab6c67768601944
774e5c30 22URL: http://trac.enlightenment.org/e/wiki/Eio
4f3b05d4
JB
23BuildRequires: ecore-devel >= %{ecore_ver}
24BuildRequires: eet-devel >= %{eet_ver}
25BuildRequires: eina-devel >= %{eina_ver}
774e5c30 26BuildRequires: pkgconfig >= 1:0.22
4f3b05d4
JB
27Requires: ecore >= %{ecore_ver}
28Requires: eet >= %{eet_ver}
29Requires: eina >= %{eina_ver}
774e5c30
JB
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32%description
33This library is intended to provide non blocking I/O by using thread
34for all operation that may block. It depends only on eina and ecore
35right now. It should integrate all the features/functions of
36Ecore_File that could block.
37
38%description -l pl.UTF-8
39Ta biblioteka na za zadanie zapewniać nieblokujące operacje we/wy
40poprzez użycie wątków dla wszystkich operacji, które mogę być
41blokujące. Na razie wymaga tylko bibliotek eina i ecore. Powinna
42zawierać wszystkie funkcje Ecore_File, które mogą być blokujące.
43
44%package devel
45Summary: Header files for Eio library
46Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eio
47Group: Development/Libraries
48Requires: %{name} = %{version}-%{release}
4f3b05d4
JB
49Requires: ecore-devel >= %{ecore_ver}
50Requires: eet-devel >= %{eet_ver}
51Requires: eina-devel >= %{eina_ver}
cd18c247 52Conflicts: libeio-devel
774e5c30
JB
53
54%description devel
55Header files for Eio library.
56
57%description devel -l pl.UTF-8
58Pliki nagłówkowe biblioteki Eio.
59
60%package static
61Summary: Static Eio library
62Summary(pl.UTF-8): Statyczna biblioteka Eio
63Group: Development/Libraries
64Requires: %{name}-devel = %{version}-%{release}
65
66%description static
67Static Eio library.
68
69%description static -l pl.UTF-8
70Statyczna biblioteka Eio.
71
72%prep
73%setup -q
74
75%build
76%configure \
77 --disable-silent-rules \
78 %{!?with_static_libs:--disable-static}
79%{__make}
80
81%install
82rm -rf $RPM_BUILD_ROOT
83
84%{__make} install \
85 DESTDIR=$RPM_BUILD_ROOT
86
87%clean
88rm -rf $RPM_BUILD_ROOT
89
90%post -p /sbin/ldconfig
91%postun -p /sbin/ldconfig
92
93%files
94%defattr(644,root,root,755)
95%doc AUTHORS README
bb537c0c
JB
96%attr(755,root,root) %{_libdir}/libeio.so.*.*.*
97%attr(755,root,root) %ghost %{_libdir}/libeio.so.1
774e5c30
JB
98
99%files devel
100%defattr(644,root,root,755)
101%attr(755,root,root) %{_libdir}/libeio.so
102%{_libdir}/libeio.la
bb537c0c 103%{_includedir}/eio-1
774e5c30
JB
104%{_pkgconfigdir}/eio.pc
105
106%if %{with static_libs}
107%files static
108%defattr(644,root,root,755)
109%{_libdir}/libeio.a
110%endif
This page took 0.156623 seconds and 5 git commands to generate.