From 6d9c713d35b28c5d02e309fcb04906b77d48de6b Mon Sep 17 00:00:00 2001 From: Pavel Shevchuk Date: May 02 2008 23:49:21 +0000 Subject: Resurrecting evas --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..b32eaec --- /dev/null +++ b/Makefile @@ -0,0 +1,21 @@ +# Makefile for source rpm: evas +# $Id$ +NAME := evas +SPECFILE = $(firstword $(wildcard *.spec)) + +define find-makefile-common +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +endef + +MAKEFILE_COMMON := $(shell $(find-makefile-common)) + +ifeq ($(MAKEFILE_COMMON),) +# attept a checkout +define checkout-makefile-common +test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 +endef + +MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) +endif + +include $(MAKEFILE_COMMON) diff --git a/dead.package b/dead.package deleted file mode 100644 index 815fd29..0000000 --- a/dead.package +++ /dev/null @@ -1 +0,0 @@ -http://fedoraproject.org/wiki/Extras/Schedule/FC6MassRebuild diff --git a/evas.spec b/evas.spec new file mode 100644 index 0000000..244423f --- /dev/null +++ b/evas.spec @@ -0,0 +1,94 @@ +Name: evas +Version: 0.9.9.042 +Release: 3%{?dist} +Summary: Hardware-accelerated state-aware canvas API + +Group: System Environment/Libraries +License: MIT +URL: http://web.enlightenment.org/p.php?p=about/efl&l=en +Source0: http://download.enlightenment.org/snapshots/2008-01-25/%{name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: eet-devel freetype-devel pth-devel libX11-devel libXext-devel +BuildRequires: libXrender-devel fontconfig-devel libjpeg-devel libpng-devel +BuildRequires: librsvg2-devel libtiff-devel giflib-devel directfb-devel +BuildRequires: mesa-libGL-devel mesa-libGLU-devel chrpath doxygen + +%description +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 and much more. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} pkgconfig +Requires: libX11-devel directfb-devel + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +%configure --disable-static --enable-gl-x11 --enable-directfb -enable-fb +make %{?_smp_mflags} +grep -v '$projectname Documentation Generated: $datetime' doc/foot.html > doc/foot.html.new && mv doc/foot.html.new doc/foot.html +./gendoc + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p' +chrpath --delete $RPM_BUILD_ROOT%{_libdir}/%{name}/modules/*/*/*/*.so +find $RPM_BUILD_ROOT -name '*.la' -delete +install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man3 +install -p -m 644 doc/man/man3/* $RPM_BUILD_ROOT%{_mandir}/man3 +# remove unfinished manpages +find $RPM_BUILD_ROOT%{_mandir}/man3 -size -100c -delete +rm -f $RPM_BUILD_ROOT%{_mandir}/man3/todo.3 # remove todo + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%defattr(-,root,root,-) +%doc AUTHORS COPYING COPYING-PLAIN README +%{_libdir}/*.so.* +%{_libdir}/%{name}/modules/*/*/*/module.so + + +%files devel +%defattr(-,root,root,-) +%doc doc/html +%{_mandir}/man3/* +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/*.pc + + +%changelog +* Fri May 02 2008 Pavel "Stalwart" Shevchuk - 0.9.9.042-3 +- Fixed documentation for multilib + +* Sat Apr 19 2008 Pavel "Stalwart" Shevchuk - 0.9.9.042-2 +- Fixed timestamp of source tarball +- Preserve timestamps of installed files +- Beautified summary +- Added html docs +- Added missing dependencies for evas-devel + +* Mon Apr 14 2008 Pavel "Stalwart" Shevchuk - 0.9.9.042-1 +- Initial specfile for Evas diff --git a/sources b/sources new file mode 100644 index 0000000..40f998a --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6811e52b0607ce21061a23462a1f9854 evas-0.9.9.042.tar.bz2