]>
Commit | Line | Data |
---|---|---|
146ac757 | 1 | Summary: Library for speedy data storage, retrieval, and compression |
2 | Name: eet | |
3 | Version: 0.9.9 | |
4 | %define _snap 20050105 | |
5 | Release: 0.%{_snap}.0.1 | |
6 | License: BSD | |
7 | Group: Libraries | |
8 | #Source0: http://dl.sourceforge.net/enlightenment/%{name}-%{version}.tar.gz | |
9 | Source0: ftp://ftp.sparky.homelinux.org/pub/e17/%{name}-%{version}-%{_snap}.tar.gz | |
10 | # Source0-md5: 77334dc6def3684e6ac51cec6189770a | |
11 | URL: http://enlightenment.org/ | |
12 | BuildRequires: autoconf | |
13 | BuildRequires: automake | |
14 | BuildRequires: libjpeg-devel | |
15 | BuildRequires: libtool | |
16 | BuildRequires: zlib-devel | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | Eet is a tiny library designed to write an arbitary set of chunks of | |
21 | data to a file and optionally compress each chunk (very much like a | |
22 | zip file) and allow fast random-access reading of the file later on. | |
23 | It does not do zip as a zip itself has more complexity than is needed, | |
24 | and it was much simpler to implement this once here. | |
25 | ||
26 | It also can encode and decode data structures in memory, as well as | |
27 | image data for saving to eet files or sending across the network to | |
28 | other machines, or just writing to arbitary files on the system. All | |
29 | data is encoded in a platform independant way and can be written and | |
30 | read by any architecture. | |
31 | ||
32 | %package devel | |
33 | Summary: headers, documentation and test programs | |
34 | Group: Development/Libraries | |
35 | Requires: %{name} = %{version} | |
36 | ||
37 | %description devel | |
38 | Headers, static libraries, test programs and documentation for Eet. | |
39 | ||
40 | %package static | |
41 | Summary: Static libraries | |
42 | Group: Development/Libraries | |
43 | Requires: %{name}-devel = %{version} | |
44 | ||
45 | %description static | |
46 | Static libraries fo Eet. | |
47 | ||
48 | %prep | |
49 | %setup -q -n %{name} | |
50 | ||
51 | %build | |
52 | %{__libtoolize} | |
53 | %{__aclocal} | |
54 | %{__autoconf} | |
55 | %{__autoheader} | |
56 | %{__automake} | |
57 | %configure | |
58 | %{__make} | |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | %{__make} install \ | |
63 | DESTDIR=$RPM_BUILD_ROOT | |
64 | ||
65 | %clean | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %post -p /sbin/ldconfig | |
69 | %postun -p /sbin/ldconfig | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS COPYING README | |
74 | %attr(755,root,root) %{_libdir}/libeet.so.* | |
75 | %attr(755,root,root) %{_bindir}/eet | |
76 | ||
77 | %files devel | |
78 | %defattr(644,root,root,755) | |
79 | %attr(755,root,root) %{_bindir}/eet-config | |
80 | %attr(755,root,root) %{_libdir}/libeet.so | |
81 | %{_libdir}/libeet.la | |
82 | %{_pkgconfigdir}/eet.pc | |
83 | %{_includedir}/Eet* | |
84 | ||
85 | %files static | |
86 | %defattr(644,root,root,755) | |
87 | %{_libdir}/libeet.a |