forked from enlightenment/efl
parent
5911ae1441
commit
c5641e4f46
|
@ -13,6 +13,8 @@ Source: ftp://ftp.enlightenment.org/pub/eet/eet-%{ver}.tar.gz
|
||||||
BuildRoot: /var/tmp/eet-root
|
BuildRoot: /var/tmp/eet-root
|
||||||
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
|
||||||
|
BuildRequires: zlib-devel
|
||||||
Requires: libjpeg
|
Requires: libjpeg
|
||||||
Requires: zlib
|
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
|
encoded ina platform independant way and can be written and read by any
|
||||||
architecture.
|
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
|
%prep
|
||||||
%setup
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%prefix
|
./configure --prefix=%prefix
|
||||||
|
@ -54,16 +66,20 @@ make prefix=$RPM_BUILD_ROOT%{prefix} install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING ChangeLog eet_docs.tar.gz
|
%attr(755,root,root) %{prefix}/lib/libeet.so*
|
||||||
%attr(755,root,root) %{prefix}/bin/*
|
%attr(755,root,root) %{prefix}/lib/libeet.la
|
||||||
%attr(755,root,root) %{prefix}/lib/*
|
|
||||||
%{prefix}/share/*
|
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%attr(755,root,root) %{prefix}/lib/libeet.a
|
||||||
|
%attr(755,root,root) %{prefix}/bin/eet*
|
||||||
|
%{prefix}/include/Eet*
|
||||||
%doc AUTHORS
|
%doc AUTHORS
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%doc README
|
%doc README
|
||||||
|
@ -72,4 +88,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
||||||
- Created spec file
|
- Created spec file
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Note that this is NOT a relocatable package
|
# Note that this is NOT a relocatable package
|
||||||
%define ver 1.0.0-pre4
|
%define ver 1.0.0-pre5
|
||||||
%define rel 1
|
%define rel 1
|
||||||
%define prefix /usr
|
%define prefix /usr
|
||||||
|
|
||||||
|
@ -8,22 +8,43 @@ Name: evas
|
||||||
Version: %ver
|
Version: %ver
|
||||||
Release: %rel
|
Release: %rel
|
||||||
Copyright: BSD
|
Copyright: BSD
|
||||||
Group: Base/Group
|
Group: System Environment/Libraries
|
||||||
Source: ftp://ftp.enlightenment.org/pub/evas/evas-%{ver}.tar.gz
|
Source: ftp://ftp.enlightenment.org/pub/evas/evas-%{ver}.tar.gz
|
||||||
BuildRoot: /var/tmp/evas-root
|
BuildRoot: /var/tmp/evas-root
|
||||||
Packager: The Rasterman <raster@rasterman.com>
|
Packager: The Rasterman <raster@rasterman.com>
|
||||||
URL: http://www.enlightenment.org/
|
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: freetype >= 2.0.0
|
||||||
Requires: libpng >= 1.0.0
|
Requires: libpng >= 1.0.0
|
||||||
Requires: libjpeg
|
Requires: libjpeg
|
||||||
|
Requires: eet
|
||||||
|
Requires: edb
|
||||||
|
|
||||||
Docdir: %{prefix}/doc
|
Docdir: %{prefix}/doc
|
||||||
|
|
||||||
%description
|
%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
|
%prep
|
||||||
%setup
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure \
|
./configure \
|
||||||
|
@ -31,20 +52,35 @@ Evas - the library
|
||||||
--enable-software-x11 \
|
--enable-software-x11 \
|
||||||
--enable-image-loader-png \
|
--enable-image-loader-png \
|
||||||
--enable-image-loader-jpeg \
|
--enable-image-loader-jpeg \
|
||||||
|
--enable-image-loader-eet \
|
||||||
|
--enable-image-loader-edb \
|
||||||
--enable-cpu-p2-only \
|
--enable-cpu-p2-only \
|
||||||
--enable-cpu-mmx \
|
--enable-cpu-mmx \
|
||||||
--enable-cpu-sse \
|
--enable-cpu-sse \
|
||||||
--enable-cpu-c \
|
--enable-cpu-c \
|
||||||
--enable-scale-smooth \
|
--enable-scale-smooth \
|
||||||
--enable-scale-sample \
|
--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-565 \
|
||||||
--enable-convert-16-rgb-555 \
|
--enable-convert-16-rgb-555 \
|
||||||
--enable-convert-16-rgb-rot-0 \
|
--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-rgb-8888 \
|
||||||
|
--enable-convert-32-rgbx-8888 \
|
||||||
--enable-convert-32-bgr-8888 \
|
--enable-convert-32-bgr-8888 \
|
||||||
|
--enable-convert-32-bgrx-8888 \
|
||||||
--enable-convert-32-rgb-rot-0
|
--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
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%post
|
%post
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
|
/sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc README COPYING ChangeLog
|
%attr(755,root,root) %{prefix}/lib/libevas.so*
|
||||||
%attr(755,root,root) %{prefix}/bin/*
|
%attr(755,root,root) %{prefix}/lib/libevas.la
|
||||||
%attr(755,root,root) %{prefix}/lib/*
|
|
||||||
%{prefix}/share/*
|
|
||||||
|
|
||||||
|
%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 AUTHORS
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
%doc README
|
%doc README
|
||||||
|
%doc evas_docs.tar.gz
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
* Sat Jun 23 2001 The Rasterman <raster@rasterman.com>
|
||||||
|
|
Loading…
Reference in New Issue