3 %bcond_without static_libs # don't build static library
5 Summary: Library for speedy data storage, retrieval, and compression
6 Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
12 Source0: http://download.enlightenment.org/releases/%{name}-%{version}.tar.bz2
13 # Source0-md5: ec3fffbeff0be2699aeed1ed4377ee9d
14 URL: http://trac.enlightenment.org/e/wiki/Eet
15 BuildRequires: autoconf >= 2.52
16 BuildRequires: automake >= 1.6
17 BuildRequires: eina-devel >= 1.2.0
18 BuildRequires: gnutls-devel >= 1.7.6
19 BuildRequires: libgcrypt-devel
20 BuildRequires: libjpeg-devel
21 BuildRequires: libtool
22 BuildRequires: pkgconfig >= 1:0.22
23 BuildRequires: sed >= 4.0
24 BuildRequires: zlib-devel
25 Requires: eina >= 1.2.0
26 Requires: gnutls >= 1.7.6
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Eet is a tiny library designed to write an arbitary set of chunks of
31 data to a file and optionally compress each chunk (very much like a
32 zip file) and allow fast random-access reading of the file later on.
33 It does not do zip as a zip itself has more complexity than is needed,
34 and it was much simpler to implement this once here.
36 It also can encode and decode data structures in memory, as well as
37 image data for saving to eet files or sending across the network to
38 other machines, or just writing to arbitary files on the system. All
39 data is encoded in a platform independant way and can be written and
40 read by any architecture.
42 %description -l pl.UTF-8
43 Eet to mała biblioteka zaprojektowana do zapisu dowolnego zbioru
44 porcji danych do pliku i opcjonalnej kompresji każdej porcji (podobnie
45 do pliku zip) oraz umożliwienia później szybkiego odczytu pliku ze
46 swobodnym dostępem. Nie jest to zip, jako że sam zip jest bardziej
47 złożony niż trzeba, a było dużo prościej zaimplementować to tak, jak
50 Biblioteka może także kodować i dekodować struktury danych w pamięci,
51 a także dane obrazów do zapisu do plików eet lub wysyłania po sieci na
52 inne maszyny, lub po prostu zapisywania do dowolnych plików w
53 systemie. Wszystkie dane są kodowane w sposób niezależny od platformy
54 i mogą być zapisywane i odczytywane na dowolnej architekturze.
57 Summary: Header files for Eet library
58 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet
59 Group: Development/Libraries
60 Requires: %{name} = %{version}-%{release}
61 Requires: eina-devel >= 1.2.0
62 Requires: gnutls-devel >= 1.7.6
63 Requires: libgcrypt-devel
64 Requires: libjpeg-devel
68 Header files for Eet library.
70 %description devel -l pl.UTF-8
71 Pliki nagłówkowe biblioteki Eet.
74 Summary: Static Eet library
75 Summary(pl.UTF-8): Statyczna biblioteka Eet
76 Group: Development/Libraries
77 Requires: %{name}-devel = %{version}-%{release}
82 %description static -l pl.UTF-8
83 Statyczna biblioteka Eet.
95 --disable-silent-rules \
96 %{!?with_static_libs:--disable-static}
100 rm -rf $RPM_BUILD_ROOT
103 DESTDIR=$RPM_BUILD_ROOT
105 install -d $RPM_BUILD_ROOT%{_examplesdir}
106 mv -f $RPM_BUILD_ROOT%{_datadir}/eet/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
109 rm -rf $RPM_BUILD_ROOT
111 %post -p /sbin/ldconfig
112 %postun -p /sbin/ldconfig
115 %defattr(644,root,root,755)
116 %doc AUTHORS COPYING NEWS README
117 %attr(755,root,root) %{_bindir}/eet
118 %attr(755,root,root) %{_libdir}/libeet.so.*.*.*
119 %attr(755,root,root) %ghost %{_libdir}/libeet.so.1
122 %defattr(644,root,root,755)
123 %attr(755,root,root) %{_libdir}/libeet.so
126 %{_pkgconfigdir}/eet.pc
127 %{_examplesdir}/%{name}-%{version}
129 %if %{with static_libs}
131 %defattr(644,root,root,755)