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