]> git.pld-linux.org Git - packages/eet.git/blame - eet.spec
- updated to 20080813 snap
[packages/eet.git] / eet.spec
CommitLineData
2fb44219
KK
1#
2# Conditional build:
3%bcond_without static_libs # don't build static library
4#
83595ba2 5%define _snap 20080813
6
146ac757 7Summary: Library for speedy data storage, retrieval, and compression
9dd89ee4 8Summary(pl.UTF-8): Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
146ac757 9Name: eet
83595ba2 10Version: 1.0.2
11Release: 0.%{_snap}.1
146ac757 12License: BSD
13Group: Libraries
83595ba2 14Source0: %{name}-%{version}-%{_snap}.tar.bz2
15# Source0-md5: 23057f3f9062a079fc4c905fc4ebe971
00074f92 16URL: http://enlightenment.org/p.php?p=about/efl/eet
98181c2d
JB
17BuildRequires: autoconf >= 2.52
18BuildRequires: automake >= 1.6
146ac757 19BuildRequires: libjpeg-devel
20BuildRequires: libtool
21BuildRequires: zlib-devel
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
c4f6e73f 24%undefine __cxx
25
146ac757 26%description
27Eet is a tiny library designed to write an arbitary set of chunks of
28data to a file and optionally compress each chunk (very much like a
29zip file) and allow fast random-access reading of the file later on.
30It does not do zip as a zip itself has more complexity than is needed,
31and it was much simpler to implement this once here.
32
33It also can encode and decode data structures in memory, as well as
34image data for saving to eet files or sending across the network to
35other machines, or just writing to arbitary files on the system. All
36data is encoded in a platform independant way and can be written and
37read by any architecture.
38
347bfef3
JR
39%description -l pl.UTF-8
40Eet to mała biblioteka zaprojektowana do zapisu dowolnego zbioru
41porcji danych do pliku i opcjonalnej kompresji każdej porcji (podobnie
42do pliku zip) oraz umożliwienia później szybkiego odczytu pliku ze
43swobodnym dostępem. Nie jest to zip, jako że sam zip jest bardziej
44złożony niż trzeba, a było dużo prościej zaimplementować to tak, jak
2760e594
JB
45jest.
46
347bfef3
JR
47Biblioteka może także kodować i dekodować struktury danych w pamięci,
48a także dane obrazów do zapisu do plików eet lub wysyłania po sieci na
49inne maszyny, lub po prostu zapisywania do dowolnych plików w
50systemie. Wszystkie dane są kodowane w sposób niezależny od platformy
51i mogą być zapisywane i odczytywane na dowolnej architekturze.
2760e594 52
146ac757 53%package devel
2760e594 54Summary: Header files for Eet library
9dd89ee4 55Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Eet
146ac757 56Group: Development/Libraries
2760e594 57Requires: %{name} = %{version}-%{release}
f6dec708
KK
58Requires: libjpeg-devel
59Requires: zlib-devel
146ac757 60
61%description devel
2760e594
JB
62Header files for Eet library.
63
347bfef3
JR
64%description devel -l pl.UTF-8
65Pliki nagłówkowe biblioteki Eet.
146ac757 66
67%package static
2760e594 68Summary: Static Eet library
9dd89ee4 69Summary(pl.UTF-8): Statyczna biblioteka Eet
146ac757 70Group: Development/Libraries
2760e594 71Requires: %{name}-devel = %{version}-%{release}
146ac757 72
73%description static
2760e594
JB
74Static Eet library.
75
347bfef3 76%description static -l pl.UTF-8
2760e594 77Statyczna biblioteka Eet.
146ac757 78
79%prep
83595ba2 80%setup -q -n %{name}-%{version}-%{_snap}
146ac757 81
82%build
f2726464 83%{__libtoolize}
84%{__aclocal}
85%{__autoconf}
86%{__autoheader}
87%{__automake}
2fb44219
KK
88%configure \
89 %{!?with_static_libs:--disable-static}
146ac757 90%{__make}
91
92%install
93rm -rf $RPM_BUILD_ROOT
2760e594 94
146ac757 95%{__make} install \
96 DESTDIR=$RPM_BUILD_ROOT
97
98%clean
99rm -rf $RPM_BUILD_ROOT
100
101%post -p /sbin/ldconfig
102%postun -p /sbin/ldconfig
103
104%files
105%defattr(644,root,root,755)
ac986a71 106%doc AUTHORS COPYING COPYING-PLAIN README
c3e75f65 107%attr(755,root,root) %{_bindir}/eet
4a540096
JB
108%attr(755,root,root) %{_libdir}/libeet.so.*.*.*
109%attr(755,root,root) %ghost %{_libdir}/libeet.so.1
146ac757 110
111%files devel
112%defattr(644,root,root,755)
146ac757 113%attr(755,root,root) %{_libdir}/libeet.so
114%{_libdir}/libeet.la
115%{_pkgconfigdir}/eet.pc
ac986a71 116%{_includedir}/Eet.h
146ac757 117
2fb44219 118%if %{with static_libs}
146ac757 119%files static
120%defattr(644,root,root,755)
121%{_libdir}/libeet.a
2fb44219 122%endif
This page took 0.09955 seconds and 4 git commands to generate.