]> git.pld-linux.org Git - packages/eet.git/blame - eet.spec
- converted to UTF-8
[packages/eet.git] / eet.spec
CommitLineData
2fb44219
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
146ac757 5Summary: Library for speedy data storage, retrieval, and compression
347bfef3 6Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
146ac757 7Name: eet
f2726464 8Version: 0.9.10.036
cbdcfdb6 9Release: 2
146ac757 10License: BSD
11Group: Libraries
f6dec708 12Source0: http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz
f2726464 13# Source0-md5: 78baeaec84bd0b773bb8d6c68fdc9053
c5578d1e 14URL: http://enlightenment.org/Libraries/Eet/
146ac757 15BuildRequires: autoconf
16BuildRequires: automake
17BuildRequires: libjpeg-devel
18BuildRequires: libtool
19BuildRequires: zlib-devel
20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
c4f6e73f 22%undefine __cxx
23
146ac757 24%description
25Eet is a tiny library designed to write an arbitary set of chunks of
26data to a file and optionally compress each chunk (very much like a
27zip file) and allow fast random-access reading of the file later on.
28It does not do zip as a zip itself has more complexity than is needed,
29and it was much simpler to implement this once here.
30
31It also can encode and decode data structures in memory, as well as
32image data for saving to eet files or sending across the network to
33other machines, or just writing to arbitary files on the system. All
34data is encoded in a platform independant way and can be written and
35read by any architecture.
36
347bfef3
JR
37%description -l pl.UTF-8
38Eet to mała biblioteka zaprojektowana do zapisu dowolnego zbioru
39porcji danych do pliku i opcjonalnej kompresji każdej porcji (podobnie
40do pliku zip) oraz umożliwienia później szybkiego odczytu pliku ze
41swobodnym dostępem. Nie jest to zip, jako że sam zip jest bardziej
42złożony niż trzeba, a było dużo prościej zaimplementować to tak, jak
2760e594
JB
43jest.
44
347bfef3
JR
45Biblioteka może także kodować i dekodować struktury danych w pamięci,
46a także dane obrazów do zapisu do plików eet lub wysyłania po sieci na
47inne maszyny, lub po prostu zapisywania do dowolnych plików w
48systemie. Wszystkie dane są kodowane w sposób niezależny od platformy
49i mogą być zapisywane i odczytywane na dowolnej architekturze.
2760e594 50
146ac757 51%package devel
2760e594 52Summary: Header files for Eet library
347bfef3 53Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet
146ac757 54Group: Development/Libraries
2760e594 55Requires: %{name} = %{version}-%{release}
f6dec708
KK
56Requires: libjpeg-devel
57Requires: zlib-devel
146ac757 58
59%description devel
2760e594
JB
60Header files for Eet library.
61
347bfef3
JR
62%description devel -l pl.UTF-8
63Pliki nagłówkowe biblioteki Eet.
146ac757 64
65%package static
2760e594 66Summary: Static Eet library
347bfef3 67Summary(pl.UTF-8): Statyczna biblioteka Eet
146ac757 68Group: Development/Libraries
2760e594 69Requires: %{name}-devel = %{version}-%{release}
146ac757 70
71%description static
2760e594
JB
72Static Eet library.
73
347bfef3 74%description static -l pl.UTF-8
2760e594 75Statyczna 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
91rm -rf $RPM_BUILD_ROOT
2760e594 92
146ac757 93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
96%clean
97rm -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
This page took 0.0698 seconds and 4 git commands to generate.