2002-12-02 15:39:26 -08:00
|
|
|
# Note that this is NOT a relocatable package
|
|
|
|
%define ver 0.0.1
|
|
|
|
%define rel 1
|
|
|
|
%define prefix /usr/local
|
|
|
|
|
|
|
|
Summary: eet
|
|
|
|
Name: eet
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: BSD
|
2003-02-06 17:06:35 -08:00
|
|
|
Group: System Environment/Libraries
|
2002-12-02 15:39:26 -08:00
|
|
|
Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{ver}.tar.gz
|
|
|
|
BuildRoot: /var/tmp/eet-root
|
|
|
|
Packager: The Rasterman <raster@rasterman.com>
|
|
|
|
URL: http://www.enlightenment.org/
|
2003-02-06 17:48:59 -08:00
|
|
|
BuildRequires: libjpeg-devel
|
|
|
|
BuildRequires: zlib-devel
|
2002-12-02 15:39:26 -08:00
|
|
|
Requires: libjpeg
|
|
|
|
Requires: zlib
|
|
|
|
|
|
|
|
Docdir: %{prefix}/doc
|
|
|
|
|
|
|
|
%description
|
2003-02-06 17:06:35 -08:00
|
|
|
|
|
|
|
Eet is a tiny library designed to write an arbitary set of chunks of data
|
|
|
|
to a file and optionally compress each chunk (very much like a zip file)
|
|
|
|
and allow fast random-access reading of the file later on. It does not
|
|
|
|
do zip as a zip itself has more complexity than is needed, and it was much
|
|
|
|
simpler to impliment this once here.
|
|
|
|
|
|
|
|
It also can encode and decode data structures in memory, as well as image
|
|
|
|
data for saving to eet files or sending across the network to other
|
|
|
|
machines, or just writing to arbitary files on the system. All data is
|
|
|
|
encoded ina platform independant way and can be written and read by any
|
|
|
|
architecture.
|
2002-12-02 15:39:26 -08:00
|
|
|
|
2003-02-06 17:48:59 -08:00
|
|
|
%package devel
|
|
|
|
Summary: Eet headers, static libraries, documentation and test programs
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Headers, static libraries, test programs and documentation for Eet
|
|
|
|
|
2002-12-02 15:39:26 -08:00
|
|
|
%prep
|
2003-02-06 17:48:59 -08:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%setup -q
|
2002-12-02 15:39:26 -08:00
|
|
|
|
|
|
|
%build
|
|
|
|
./configure --prefix=%prefix
|
|
|
|
|
|
|
|
if [ "$SMP" != "" ]; then
|
|
|
|
(make "MAKE=make -k -j $SMP"; exit 0)
|
|
|
|
make
|
|
|
|
else
|
|
|
|
make
|
|
|
|
fi
|
|
|
|
###########################################################################
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make prefix=$RPM_BUILD_ROOT%{prefix} install
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post
|
2003-02-06 17:48:59 -08:00
|
|
|
/sbin/ldconfig
|
2002-12-02 15:39:26 -08:00
|
|
|
|
|
|
|
%postun
|
2003-02-06 17:48:59 -08:00
|
|
|
/sbin/ldconfig
|
2002-12-02 15:39:26 -08:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2003-02-06 17:48:59 -08:00
|
|
|
%attr(755,root,root) %{prefix}/lib/libeet.so*
|
|
|
|
%attr(755,root,root) %{prefix}/lib/libeet.la
|
2002-12-02 15:39:26 -08:00
|
|
|
|
2003-02-06 17:48:59 -08:00
|
|
|
%files devel
|
|
|
|
%attr(755,root,root) %{prefix}/lib/libeet.a
|
|
|
|
%attr(755,root,root) %{prefix}/bin/eet*
|
|
|
|
%{prefix}/include/Eet*
|
2002-12-02 15:39:26 -08:00
|
|
|
%doc AUTHORS
|
|
|
|
%doc COPYING
|
|
|
|
%doc README
|
2003-02-06 17:06:35 -08:00
|
|
|
%doc eet_docs.tar.gz
|
2002-12-02 15:39:26 -08:00
|
|
|
|
|
|
|
%changelog
|
|
|
|
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
|
|
|
- Created spec file
|