Sun Jul 25 17:45:53 2004 Michael Jennings (mej)

Fixed up lots of spec files here.  I haven't been able to test the
emotion spec file, but hopefully I didn't break anything too
terrible. :-)

Also fixed an etox problem with the conditional test build.
----------------------------------------------------------------------


SVN revision: 11021
This commit is contained in:
Michael Jennings 2004-07-25 21:50:40 +00:00
parent 422dc28718
commit 2815e3efc1
8 changed files with 62 additions and 83 deletions

View File

@ -1,14 +1,15 @@
%define _missing_doc_files_terminate_build 0
Summary: Enlightened Core X interface library Summary: Enlightened Core X interface library
Name: ecore Name: ecore
Version: 1.0.0 Version: 1.0.0
Release: 0.pre7 Release: 0.pre7.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: User Interface/X Group: User Interface/X
Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz Source: ftp://ftp.enlightenment.org/enlightenment/%{name}-%{version}_pre7.tar.gz
URL: http://www.enlightenment.org/efm.html URL: http://www.enlightenment.org/efm.html
Packager: Michael Jennings <mej@eterm.org> Packager: Michael Jennings <mej@eterm.org>
Vendor: The Enlightenment Development Team <e-develop@enlightenment.org> #BuildSuggests: openssl-devel evas-devel xorg-x11-devel
#BuildSuggests: openssl-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -37,10 +38,10 @@ Ecore development files
test -x `which doxygen` && sh gendoc || : test -x `which doxygen` && sh gendoc || :
%post %post
/sbin/ldconfig /sbin/ldconfig || :
%postun %postun
/sbin/ldconfig /sbin/ldconfig || :
%clean %clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT

View File

@ -1,13 +1,15 @@
%define _missing_doc_files_terminate_build 0
Summary: Complex Graphical Design/Layout Engine Summary: Complex Graphical Design/Layout Engine
Name: edje Name: edje
Version: 0.5.0 Version: 0.5.0
Release: 1 Release: 1.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/evoak/%{name}-%{version}.tar.gz Source: ftp://ftp.enlightenment.org/pub/evoak/%{name}-%{version}.tar.gz
Packager: The Rasterman <raster@rasterman.com> Packager: The Rasterman <raster@rasterman.com>
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/
BuildRequires: libjpeg-devel zlib-devel #BuildSuggests: libjpeg-devel zlib-devel eet-devel xorg-x11-devel
Requires: libjpeg zlib ecore evas eet imlib2 Requires: libjpeg zlib ecore evas eet imlib2
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root

View File

@ -1,17 +1,15 @@
# Note that this is NOT a relocatable package %define _missing_doc_files_terminate_build 0
%define ver 0.9.9
%define rel 1
%define prefix /usr
Summary: Library for speedy data storage, retrieval, and compression. Summary: Library for speedy data storage, retrieval, and compression.
Name: eet Name: eet
Version: 0.9.9 Version: 0.9.9
Release: 2 Release: 2.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{version}.tar.gz Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{version}.tar.gz
Packager: Michael Jennings <mej@eterm.org> Packager: Michael Jennings <mej@eterm.org>
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/
#BuildSuggests: libjpeg-devel xorg-x11-devel doxygen
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
@ -19,7 +17,7 @@ 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 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 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 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. needed, and it was much simpler to implement this once here.
It also can encode and decode data structures in memory, as well as 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 image data for saving to eet files or sending across the network to
@ -41,7 +39,7 @@ Headers, static libraries, test programs and documentation for Eet
%build %build
%{configure} --prefix=%{_prefix} %{configure} --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags} %{__make} %{?_smp_mflags} %{?mflags}
test -x `which doxygen` && doxygen || : test -x `which doxygen` && sh gendoc || :
%install %install
%{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install

View File

@ -1,7 +1,9 @@
%define _missing_doc_files_terminate_build 0
Summary: embryo Summary: embryo
Name: embryo Name: embryo
Version: 0.0.1 Version: 0.9.0
Release: 1 Release: 1.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/

View File

@ -10,7 +10,7 @@ MAINTAINERCLEANFILES = Makefile.in aclocal.m4 config.guess \
bin_SCRIPTS = emotion-config bin_SCRIPTS = emotion-config
EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN emotion.spec emotion.c.in gendoc Doxyfile emotion_docs.tar.gz emotion.pc.in EXTRA_DIST = README AUTHORS COPYING COPYING-PLAIN emotion.spec emotion.c.in gendoc Doxyfile emotion.pc.in
pkgconfigdir = $(libdir)/pkgconfig pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = emotion.pc pkgconfig_DATA = emotion.pc

View File

@ -63,7 +63,7 @@ if test "x${bindir}" = 'xNONE'; then
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", [Install Location for Executables]) AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${prefix}/bin", [Install Location for Executables])
fi fi
else else
AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}". [Install Location for Executables]) AC_DEFINE_UNQUOTED(PACKAGE_BIN_DIR, "${bindir}", [Install Location for Executables])
fi fi
dnl Set PACKAGE_LIB_DIR in config.h. dnl Set PACKAGE_LIB_DIR in config.h.

View File

@ -1,27 +1,18 @@
# Note that this is NOT a relocatable package %define _missing_doc_files_terminate_build 0
%define ver 0.0.1
%define rel 1
%define prefix /usr
Summary: emotion Summary: emotion
Name: emotion Name: emotion
Version: %ver Version: 0.0.1
Release: %rel Release: 1.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/emotion/emotion-%{ver}.tar.gz
BuildRoot: /var/tmp/emotion-root
Packager: The Rasterman <raster@rasterman.com>
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/
BuildRequires: libjpeg-devel Source: ftp://ftp.enlightenment.org/pub/emotion/%{name}-%{version}.tar.gz
BuildRequires: zlib-devel Packager: Michael Jennings <mej@eterm.org>
Requires: libjpeg #BuildSuggests: xorg-x11-devel xine-lib-devel
Requires: zlib BuildRoot: %{_tmppath}/%{name}-%{version}-root
Docdir: %{prefix}/doc
%description %description
Emotion is a Media Library Emotion is a Media Library
%package devel %package devel
@ -30,62 +21,49 @@ Group: System Environment/Libraries
Requires: %{name} = %{version} Requires: %{name} = %{version}
%description devel %description devel
Headers, static libraries, test programs and documentation for Eet Headers, static libraries, test programs and documentation for Emotion
%prep %prep
rm -rf $RPM_BUILD_ROOT
%setup -q %setup -q
%build %build
./configure --prefix=%prefix %{configure} --prefix=%{_prefix}
%{__make} %{?_smp_mflags} %{?mflags}
if [ "$SMP" != "" ]; then
(make "MAKE=make -k -j $SMP"; exit 0)
make
else
make
fi
###########################################################################
%install %install
make DESTDIR=$RPM_BUILD_ROOT install %{__make} %{?mflags_install} DESTDIR=$RPM_BUILD_ROOT install
test -x `which doxygen` && sh gendoc || :
%clean
rm -rf $RPM_BUILD_ROOT
%post %post
/sbin/ldconfig /sbin/ldconfig || :
%postun %postun
/sbin/ldconfig /sbin/ldconfig || :
%clean
test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-, root, root) %defattr(-, root, root)
%attr(755,root,root) %{prefix}/lib/libemotion.a %doc AUTHORS COPYING* README
%attr(755,root,root) %{prefix}/lib/libemotion.so.* %{_libdir}/libemotion.a
%attr(755,root,root) %{prefix}/bin/emotion_* %{_libdir}/libemotion.so.*
%attr(755,root,root) %{prefix}/lib/emotion/emotion_decoder_xine.a %{_bindir}/emotion_*
%attr(755,root,root) %{prefix}/lib/xine/plugins/1.0.0/xineplug_vo_out_emotion.a %{_libdir}/emotion/emotion_decoder_xine.a
%{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.a
%{_datadir}/emotion %{_datadir}/emotion
%doc AUTHORS
%doc COPYING
%doc README
%files devel %files devel
%attr(755,root,root) %{prefix}/bin/emotion-config %defattr(-, root, root)
%attr(755,root,root) %{prefix}/lib/pkgconfig/emotion.pc %doc doc/html
%attr(755,root,root) %{prefix}/lib/libemotion.so %{_bindir}/emotion-config
%attr(755,root,root) %{prefix}/lib/libemotion.la %{_libdir}/pkgconfig/emotion.pc
%attr(755,root,root) %{prefix}/lib/emotion/emotion_decoder_xine.la %{_libdir}/libemotion.so
%attr(755,root,root) %{prefix}/lib/emotion/emotion_decoder_xine.so %{_libdir}/libemotion.la
%attr(755,root,root) %{prefix}/lib/xine/plugins/1.0.0/xineplug_vo_out_emotion.so %{_libdir}/emotion/emotion_decoder_xine.la
%attr(755,root,root) %{prefix}/lib/xine/plugins/1.0.0/xineplug_vo_out_emotion.la %{_libdir}/emotion/emotion_decoder_xine.so
%{prefix}/include/Emotion* %{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.so
%doc emotion_docs.tar.gz %{_libdir}/xine/plugins/*/xineplug_vo_out_emotion.la
%{_includedir}/Emotion*
%changelog %changelog
* Fri Jun 18 2004 Azundris <edevel@azundris.com>
- Added missing files
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
- Created spec file

View File

@ -1,19 +1,17 @@
%define _missing_doc_files_terminate_build 0
Summary: Multi-platform Canvas Library Summary: Multi-platform Canvas Library
Name: evas Name: evas
Version: 1.0.0 Version: 1.0.0
Release: 0.pre13 Release: 0.pre13.%(date '+%Y%m%d')
Copyright: BSD Copyright: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/evas/evas-%{version}_pre13.tar.gz Source: ftp://ftp.enlightenment.org/pub/evas/evas-%{version}_pre13.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packager: Michael Jennings <mej@eterm.org> Packager: Michael Jennings <mej@eterm.org>
URL: http://www.enlightenment.org/ URL: http://www.enlightenment.org/
#BuildSuggests: XFree86-devel #BuildSuggests: XFree86-devel freetype2-devel libjpeg-devel
#BuildSuggests: freetype2-devel #BuildSuggests: libpng-devel eet-devel edb-devel xorg-x11-devel
#BuildSuggests: libjpeg-devel
#BuildSuggests: libpng-devel
#BuildSuggests: eet-devel
#BuildSuggests: edb-devel
Provides: evas evas_software_x11 evas_loader_png evas_loader_jpeg evas_loader_eet evas_loader_edb Provides: evas evas_software_x11 evas_loader_png evas_loader_jpeg evas_loader_eet evas_loader_edb
%description %description