]>
Commit | Line | Data |
---|---|---|
2fb44219 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without static_libs # don't build static library | |
4 | # | |
146ac757 | 5 | Summary: Library for speedy data storage, retrieval, and compression |
347bfef3 | 6 | Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych |
146ac757 | 7 | Name: eet |
f2726464 | 8 | Version: 0.9.10.036 |
cbdcfdb6 | 9 | Release: 2 |
146ac757 | 10 | License: BSD |
11 | Group: Libraries | |
f6dec708 | 12 | Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz |
f2726464 | 13 | # Source0-md5: 78baeaec84bd0b773bb8d6c68fdc9053 |
c5578d1e | 14 | URL: http://enlightenment.org/Libraries/Eet/ |
146ac757 | 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) | |
21 | ||
c4f6e73f | 22 | %undefine __cxx |
23 | ||
146ac757 | 24 | %description |
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. | |
30 | ||
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. | |
36 | ||
347bfef3 JR |
37 | %description -l pl.UTF-8 |
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 | |
2760e594 JB |
43 | jest. |
44 | ||
347bfef3 JR |
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. | |
2760e594 | 50 | |
146ac757 | 51 | %package devel |
2760e594 | 52 | Summary: Header files for Eet library |
347bfef3 | 53 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet |
146ac757 | 54 | Group: Development/Libraries |
2760e594 | 55 | Requires: %{name} = %{version}-%{release} |
f6dec708 KK |
56 | Requires: libjpeg-devel |
57 | Requires: zlib-devel | |
146ac757 | 58 | |
59 | %description devel | |
2760e594 JB |
60 | Header files for Eet library. |
61 | ||
347bfef3 JR |
62 | %description devel -l pl.UTF-8 |
63 | Pliki nagłówkowe biblioteki Eet. | |
146ac757 | 64 | |
65 | %package static | |
2760e594 | 66 | Summary: Static Eet library |
347bfef3 | 67 | Summary(pl.UTF-8): Statyczna biblioteka Eet |
146ac757 | 68 | Group: Development/Libraries |
2760e594 | 69 | Requires: %{name}-devel = %{version}-%{release} |
146ac757 | 70 | |
71 | %description static | |
2760e594 JB |
72 | Static Eet library. |
73 | ||
347bfef3 | 74 | %description static -l pl.UTF-8 |
2760e594 | 75 | Statyczna biblioteka Eet. |
146ac757 | 76 | |
77 | %prep | |
f6dec708 | 78 | %setup -q |
146ac757 | 79 | |
80 | %build | |
f2726464 | 81 | %{__libtoolize} |
82 | %{__aclocal} | |
83 | %{__autoconf} | |
84 | %{__autoheader} | |
85 | %{__automake} | |
2fb44219 KK |
86 | %configure \ |
87 | %{!?with_static_libs:--disable-static} | |
146ac757 | 88 | %{__make} |
89 | ||
90 | %install | |
91 | rm -rf $RPM_BUILD_ROOT | |
2760e594 | 92 | |
146ac757 | 93 | %{__make} install \ |
94 | DESTDIR=$RPM_BUILD_ROOT | |
95 | ||
96 | %clean | |
97 | rm -rf $RPM_BUILD_ROOT | |
98 | ||
99 | %post -p /sbin/ldconfig | |
100 | %postun -p /sbin/ldconfig | |
101 | ||
102 | %files | |
103 | %defattr(644,root,root,755) | |
257bb2c5 | 104 | %doc AUTHORS COPYING COPYING-PLAIN INSTALL README |
2760e594 | 105 | %attr(755,root,root) %{_libdir}/libeet.so.*.*.* |
146ac757 | 106 | |
107 | %files devel | |
108 | %defattr(644,root,root,755) | |
109 | %attr(755,root,root) %{_bindir}/eet-config | |
110 | %attr(755,root,root) %{_libdir}/libeet.so | |
111 | %{_libdir}/libeet.la | |
112 | %{_pkgconfigdir}/eet.pc | |
113 | %{_includedir}/Eet* | |
114 | ||
2fb44219 | 115 | %if %{with static_libs} |
146ac757 | 116 | %files static |
117 | %defattr(644,root,root,755) | |
118 | %{_libdir}/libeet.a | |
2fb44219 | 119 | %endif |