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