]>
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 | # | |
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 |
12 | Summary: Enlightenment Input Output Library |
13 | Summary(pl.UTF-8): Enlightenment Input Output - biblioteka wejścia/wyjścia z projektu Enlightenment | |
14 | Name: eio | |
336ec06c | 15 | Version: 1.7.9 |
bb537c0c | 16 | Release: 1 |
774e5c30 JB |
17 | License: LGPL v2.1+ |
18 | Group: Libraries | |
bb537c0c | 19 | Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2 |
336ec06c | 20 | # Source0-md5: d4ce4c9c5882538f5e49ccf963de3595 |
774e5c30 | 21 | URL: http://trac.enlightenment.org/e/wiki/Eio |
4f3b05d4 JB |
22 | BuildRequires: ecore-devel >= %{ecore_ver} |
23 | BuildRequires: eet-devel >= %{eet_ver} | |
24 | BuildRequires: eina-devel >= %{eina_ver} | |
774e5c30 | 25 | BuildRequires: pkgconfig >= 1:0.22 |
4f3b05d4 JB |
26 | Requires: ecore >= %{ecore_ver} |
27 | Requires: eet >= %{eet_ver} | |
28 | Requires: eina >= %{eina_ver} | |
774e5c30 JB |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
31 | %description | |
32 | This library is intended to provide non blocking I/O by using thread | |
33 | for all operation that may block. It depends only on eina and ecore | |
34 | right now. It should integrate all the features/functions of | |
35 | Ecore_File that could block. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | Ta biblioteka na za zadanie zapewniać nieblokujące operacje we/wy | |
39 | poprzez użycie wątków dla wszystkich operacji, które mogę być | |
40 | blokujące. Na razie wymaga tylko bibliotek eina i ecore. Powinna | |
41 | zawierać wszystkie funkcje Ecore_File, które mogą być blokujące. | |
42 | ||
43 | %package devel | |
44 | Summary: Header files for Eio library | |
45 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eio | |
46 | Group: Development/Libraries | |
47 | Requires: %{name} = %{version}-%{release} | |
4f3b05d4 JB |
48 | Requires: ecore-devel >= %{ecore_ver} |
49 | Requires: eet-devel >= %{eet_ver} | |
50 | Requires: eina-devel >= %{eina_ver} | |
cd18c247 | 51 | Conflicts: libeio-devel |
774e5c30 JB |
52 | |
53 | %description devel | |
54 | Header files for Eio library. | |
55 | ||
56 | %description devel -l pl.UTF-8 | |
57 | Pliki nagłówkowe biblioteki Eio. | |
58 | ||
59 | %package static | |
60 | Summary: Static Eio library | |
61 | Summary(pl.UTF-8): Statyczna biblioteka Eio | |
62 | Group: Development/Libraries | |
63 | Requires: %{name}-devel = %{version}-%{release} | |
64 | ||
65 | %description static | |
66 | Static Eio library. | |
67 | ||
68 | %description static -l pl.UTF-8 | |
69 | Statyczna 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 | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | ||
83 | %{__make} install \ | |
84 | DESTDIR=$RPM_BUILD_ROOT | |
85 | ||
86 | %clean | |
87 | rm -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 |