update spec

SVN revision: 6668
This commit is contained in:
Carsten Haitzler 2003-02-07 01:48:59 +00:00
parent 5911ae1441
commit c5641e4f46
2 changed files with 72 additions and 15 deletions

View File

@ -13,6 +13,8 @@ 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/
BuildRequires: libjpeg-devel
BuildRequires: zlib-devel
Requires: libjpeg
Requires: zlib
@ -32,8 +34,18 @@ 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
Group: System Environment/Libraries
Requires: %{name} = %{version}
%description devel
Headers, static libraries, test programs and documentation for Eet
%prep
%setup
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
./configure --prefix=%prefix
@ -54,16 +66,20 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc README COPYING ChangeLog eet_docs.tar.gz
%attr(755,root,root) %{prefix}/bin/*
%attr(755,root,root) %{prefix}/lib/*
%{prefix}/share/*
%attr(755,root,root) %{prefix}/lib/libeet.so*
%attr(755,root,root) %{prefix}/lib/libeet.la
%files devel
%attr(755,root,root) %{prefix}/lib/libeet.a
%attr(755,root,root) %{prefix}/bin/eet*
%{prefix}/include/Eet*
%doc AUTHORS
%doc COPYING
%doc README
@ -72,4 +88,3 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
- Created spec file

View File

@ -1,5 +1,5 @@
# Note that this is NOT a relocatable package
%define ver 1.0.0-pre4
%define ver 1.0.0-pre5
%define rel 1
%define prefix /usr
@ -8,22 +8,43 @@ Name: evas
Version: %ver
Release: %rel
Copyright: BSD
Group: Base/Group
Group: System Environment/Libraries
Source: ftp://ftp.enlightenment.org/pub/evas/evas-%{ver}.tar.gz
BuildRoot: /var/tmp/evas-root
Packager: The Rasterman <raster@rasterman.com>
URL: http://www.enlightenment.org/
BuildRequires: XFree86-devel
BuildRequires: freetype-devel
BuildRequires: libjpeg-devel
BuildRequires: libpng-devel
BuildRequires: eet-devel
BuildRequires: edb-devel
Requires: XFree86
Requires: freetype >= 2.0.0
Requires: libpng >= 1.0.0
Requires: libjpeg
Requires: eet
Requires: edb
Docdir: %{prefix}/doc
%description
Evas - the library
Evas is a clean display canvas API for several target display systems that
can draw anti-aliased text, smooth super and sub-sampled scaled images,
alpha-blend objects much and more.
%package devel
Summary: Evas headers, static libraries, documentation and test programs
Group: System Environment/Libraries
Requires: %{name} = %{version}
%description devel
Headers, static libraries, test programs and documentation for Evas.
%prep
%setup
rm -rf $RPM_BUILD_ROOT
%setup -q
%build
./configure \
@ -31,20 +52,35 @@ Evas - the library
--enable-software-x11 \
--enable-image-loader-png \
--enable-image-loader-jpeg \
--enable-image-loader-eet \
--enable-image-loader-edb \
--enable-cpu-p2-only \
--enable-cpu-mmx \
--enable-cpu-sse \
--enable-cpu-c \
--enable-scale-smooth \
--enable-scale-sample \
--enable-convert-8-rgb-332 \
--enable-convert-8-rgb-666 \
--enable-convert-8-rgb-232 \
--enable-convert-8-rgb-222 \
--enable-convert-8-rgb-221 \
--enable-convert-8-rgb-121 \
--enable-convert-8-rgb-111 \
--enable-convert-16-rgb-565 \
--enable-convert-16-rgb-555 \
--enable-convert-16-rgb-rot-0 \
--enable-convert-16-rgb-rot-90 \
--enable-convert-16-rgb-rot-270 \
--enable-convert-32-rgb-8888 \
--enable-convert-32-rgbx-8888 \
--enable-convert-32-bgr-8888 \
--enable-convert-32-bgrx-8888 \
--enable-convert-32-rgb-rot-0
--enable-convert-32-rgb-rot-90 \
--enable-convert-32-rgb-rot-270 \
make CFLAGS="-O9 -mpentiumpro -march=pentiumpro -mcpu=pentiumpro"
make CFLAGS="-O2 -mpentiumpro -march=pentiumpro -mcpu=pentiumpro"
###########################################################################
@ -56,19 +92,25 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%doc README COPYING ChangeLog
%attr(755,root,root) %{prefix}/bin/*
%attr(755,root,root) %{prefix}/lib/*
%{prefix}/share/*
%attr(755,root,root) %{prefix}/lib/libevas.so*
%attr(755,root,root) %{prefix}/lib/libevas.la
%files devel
%attr(755,root,root) %{prefix}/lib/libevas.a
%attr(755,root,root) %{prefix}/bin/evas*
%{prefix}/include/Evas*
%{prefix}/share/*
%doc AUTHORS
%doc COPYING
%doc README
%doc evas_docs.tar.gz
%changelog
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>