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