]> git.pld-linux.org Git - packages/eet.git/blob - eet.spec
- up to 0.9.10.022
[packages/eet.git] / eet.spec
1 #
2 # Conditional build:
3 %bcond_without  static_libs     # don't build static library
4 #
5 Summary:        Library for speedy data storage, retrieval, and compression
6 Summary(pl):    Biblioteka do szybkiego zapisywania, odtwarzania i kompresji danych
7 Name:           eet
8 Version:        0.9.10.022
9 Release:        1
10 License:        BSD
11 Group:          Libraries
12 Source0:        http://enlightenment.freedesktop.org/files/%{name}-%{version}.tar.gz 
13 # Source0-md5:  21d6987d15be38f045aeba0094a816a4
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)
21
22 %description
23 Eet is a tiny library designed to write an arbitary set of chunks of
24 data to a file and optionally compress each chunk (very much like a
25 zip file) and allow fast random-access reading of the file later on.
26 It does not do zip as a zip itself has more complexity than is needed,
27 and it was much simpler to implement this once here.
28
29 It also can encode and decode data structures in memory, as well as
30 image data for saving to eet files or sending across the network to
31 other machines, or just writing to arbitary files on the system. All
32 data is encoded in a platform independant way and can be written and
33 read by any architecture.
34
35 %description -l pl
36 Eet to ma³a biblioteka zaprojektowana do zapisu dowolnego zbioru
37 porcji danych do pliku i opcjonalnej kompresji ka¿dej porcji (podobnie
38 do pliku zip) oraz umo¿liwienia pó¼niej szybkiego odczytu pliku ze
39 swobodnym dostêpem. Nie jest to zip, jako ¿e sam zip jest bardziej
40 z³o¿ony ni¿ trzeba, a by³o du¿o pro¶ciej zaimplementowaæ to tak, jak
41 jest.
42
43 Biblioteka mo¿e tak¿e kodowaæ i dekodowaæ struktury danych w pamiêci,
44 a tak¿e dane obrazów do zapisu do plików eet lub wysy³ania po sieci na
45 inne maszyny, lub po prostu zapisywania do dowolnych plików w
46 systemie. Wszystkie dane s± kodowane w sposób niezale¿ny od platformy
47 i mog± byæ zapisywane i odczytywane na dowolnej architekturze.
48
49 %package devel
50 Summary:        Header files for Eet library
51 Summary(pl):    Pliki nag³ówkowe biblioteki Eet
52 Group:          Development/Libraries
53 Requires:       %{name} = %{version}-%{release}
54 Requires:       libjpeg-devel
55 Requires:       zlib-devel
56
57 %description devel
58 Header files for Eet library.
59
60 %description devel -l pl
61 Pliki nag³ówkowe biblioteki Eet.
62
63 %package static
64 Summary:        Static Eet library
65 Summary(pl):    Statyczna biblioteka Eet
66 Group:          Development/Libraries
67 Requires:       %{name}-devel = %{version}-%{release}
68
69 %description static
70 Static Eet library.
71
72 %description static -l pl
73 Statyczna biblioteka Eet.
74
75 %prep
76 %setup -q
77
78 %build
79 %{__libtoolize}
80 %{__aclocal}
81 %{__autoconf}
82 %{__autoheader}
83 %{__automake}
84 %configure \
85         %{!?with_static_libs:--disable-static}
86 %{__make}
87
88 %install
89 rm -rf $RPM_BUILD_ROOT
90
91 %{__make} install \
92         DESTDIR=$RPM_BUILD_ROOT
93
94 %clean
95 rm -rf $RPM_BUILD_ROOT
96
97 %post   -p /sbin/ldconfig
98 %postun -p /sbin/ldconfig
99
100 %files
101 %defattr(644,root,root,755)
102 %doc AUTHORS COPYING COPYING-PLAIN INSTALL README
103 %attr(755,root,root) %{_bindir}/eet
104 %attr(755,root,root) %{_bindir}/eet_bench
105 %attr(755,root,root) %{_libdir}/libeet.so.*.*.*
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
115 %if %{with static_libs}
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/libeet.a
119 %endif
This page took 0.059426 seconds and 4 git commands to generate.