3 %bcond_without static_libs # don't build static library
5 Summary: Library for speedy data storage, retrieval, and compression
6 Summary(pl): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
12 Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
13 # Source0-md5: 01142c78613c2865a4f30523d99d89c6
14 URL: http://enlightenment.org/Libraries/Eet/
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: libjpeg-devel
18 BuildRequires: libtool
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 Eet is a tiny library designed to write an arbitary set of chunks of
26 data to a file and optionally compress each chunk (very much like a
27 zip file) and allow fast random-access reading of the file later on.
28 It does not do zip as a zip itself has more complexity than is needed,
29 and it was much simpler to implement this once here.
31 It also can encode and decode data structures in memory, as well as
32 image data for saving to eet files or sending across the network to
33 other machines, or just writing to arbitary files on the system. All
34 data is encoded in a platform independant way and can be written and
35 read by any architecture.
38 Eet to ma³a biblioteka zaprojektowana do zapisu dowolnego zbioru
39 porcji danych do pliku i opcjonalnej kompresji ka¿dej porcji (podobnie
40 do pliku zip) oraz umo¿liwienia pó¼niej szybkiego odczytu pliku ze
41 swobodnym dostêpem. Nie jest to zip, jako ¿e sam zip jest bardziej
42 z³o¿ony ni¿ trzeba, a by³o du¿o pro¶ciej zaimplementowaæ to tak, jak
45 Biblioteka mo¿e tak¿e kodowaæ i dekodowaæ struktury danych w pamiêci,
46 a tak¿e dane obrazów do zapisu do plików eet lub wysy³ania po sieci na
47 inne maszyny, lub po prostu zapisywania do dowolnych plików w
48 systemie. Wszystkie dane s± kodowane w sposób niezale¿ny od platformy
49 i mog± byæ zapisywane i odczytywane na dowolnej architekturze.
52 Summary: Header files for Eet library
53 Summary(pl): Pliki nag³ówkowe biblioteki Eet
54 Group: Development/Libraries
55 Requires: %{name} = %{version}-%{release}
56 Requires: libjpeg-devel
60 Header files for Eet library.
62 %description devel -l pl
63 Pliki nag³ówkowe biblioteki Eet.
66 Summary: Static Eet library
67 Summary(pl): Statyczna biblioteka Eet
68 Group: Development/Libraries
69 Requires: %{name}-devel = %{version}-%{release}
74 %description static -l pl
75 Statyczna biblioteka Eet.
82 %{!?with_static_libs:--disable-static}
86 rm -rf $RPM_BUILD_ROOT
89 DESTDIR=$RPM_BUILD_ROOT
92 rm -rf $RPM_BUILD_ROOT
94 %post -p /sbin/ldconfig
95 %postun -p /sbin/ldconfig
98 %defattr(644,root,root,755)
99 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
100 %attr(755,root,root) %{_bindir}/eet
101 %attr(755,root,root) %{_bindir}/eet_bench
102 %attr(755,root,root) %{_libdir}/libeet.so.*.*.*
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_bindir}/eet-config
107 %attr(755,root,root) %{_libdir}/libeet.so
109 %{_pkgconfigdir}/eet.pc
112 %if %{with static_libs}
114 %defattr(644,root,root,755)