From 858836dd24ce3e3d3acf4ea4357a4e4061ba1cb6 Mon Sep 17 00:00:00 2001 From: Michael Jennings Date: Tue, 6 Jul 2004 21:53:43 +0000 Subject: [PATCH] Tue Jul 6 17:53:27 2004 Michael Jennings (mej) Repackaged...now with more spiffiness! ---------------------------------------------------------------------- SVN revision: 10717 --- legacy/eet/Makefile.am | 2 +- legacy/eet/eet.spec | 86 ++++++++++++++++++++------------------------------ 2 files changed, 35 insertions(+), 53 deletions(-) diff --git a/legacy/eet/Makefile.am b/legacy/eet/Makefile.am index ea4f7e4..fd92b50 100644 --- a/legacy/eet/Makefile.am +++ b/legacy/eet/Makefile.am @@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \ bin_SCRIPTS = eet-config EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN eet.spec eet.c.in \ - gendoc Doxyfile eet_docs.tar.gz eet.pc.in \ + gendoc Doxyfile doc eet.pc.in \ make_cross_compile_arm.sh pkgconfigdir = $(libdir)/pkgconfig diff --git a/legacy/eet/eet.spec b/legacy/eet/eet.spec index 3423549..2e32bc0 100644 --- a/legacy/eet/eet.spec +++ b/legacy/eet/eet.spec @@ -3,36 +3,29 @@ %define rel 1 %define prefix /usr -Summary: eet +Summary: Library for speedy data storage, retrieval, and compression. Name: eet -Version: %ver -Release: %rel +Version: 0.9.9 +Release: 2 Copyright: BSD Group: System Environment/Libraries -Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{ver}.tar.gz -BuildRoot: /var/tmp/eet-root -Packager: The Rasterman +Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{version}.tar.gz +Packager: Michael Jennings URL: http://www.enlightenment.org/ -BuildRequires: libjpeg-devel -BuildRequires: zlib-devel -Requires: libjpeg -Requires: zlib - -Docdir: %{prefix}/doc +BuildRoot: %{_tmppath}/%{name}-%{version}-root %description - -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. +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. %package devel Summary: Eet headers, static libraries, documentation and test programs @@ -43,26 +36,18 @@ Requires: %{name} = %{version} Headers, static libraries, test programs and documentation for Eet %prep -rm -rf $RPM_BUILD_ROOT - %setup -q %build -./configure --prefix=%prefix - -if [ "$SMP" != "" ]; then - (make "MAKE=make -k -j $SMP"; exit 0) - make -else - make -fi -########################################################################### +%{configure} --prefix=%{_prefix} +%{__make} %{?_smp_mflags} %{?mflags} +test -x `which doxygen` && doxygen || : %install -make DESTDIR=$RPM_BUILD_ROOT install +%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install %clean -rm -rf $RPM_BUILD_ROOT +test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT %post /sbin/ldconfig @@ -71,22 +56,19 @@ rm -rf $RPM_BUILD_ROOT /sbin/ldconfig %files -%defattr(-,root,root) -%attr(755,root,root) %{prefix}/lib/libeet.so.* -%{prefix}/lib/libeet.la -%attr(755,root,root) %{prefix}/bin/eet +%defattr(-, root, root) +%doc AUTHORS COPYING README +%{_libdir}/libeet.so.* +%{_libdir}/libeet.la +%{_bindir}/eet %files devel -%attr(755,root,root) %{prefix}/lib/libeet.so -%attr(755,root,root) %{prefix}/lib/libeet.a -%attr(755,root,root) %{prefix}/bin/eet-config -%{prefix}/lib/pkgconfig/eet.pc -%{prefix}/include/Eet* -%doc AUTHORS -%doc COPYING -%doc README -%doc eet_docs.tar.gz +%defattr(-, root, root) +%doc html +%{_libdir}/libeet.so +%{_libdir}/libeet.a +%{_bindir}/eet-config +%{_libdir}/pkgconfig/eet.pc +%{_includedir}/Eet* %changelog -* Sat Jun 23 2001 The Rasterman -- Created spec file -- 2.7.4