From e9eb3cf97162db7ac2d689de8adc939a36d0ae14 Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Tue, 24 Jul 2007 15:36:30 +0000 Subject: [PATCH] Initial import --- .cvsignore | 1 + pixman.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 63 insertions(+) create mode 100644 pixman.spec diff --git a/.cvsignore b/.cvsignore index e69de29..4ab9ecb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +pixman-20070724.tar.bz2 diff --git a/pixman.spec b/pixman.spec new file mode 100644 index 0000000..f1373f2 --- /dev/null +++ b/pixman.spec @@ -0,0 +1,61 @@ +%define gitdate 20070724 + +Name: pixman +Version: 0.9.0 +Release: 0.%{gitdate}%{?dist} +Summary: Pixel manipulation library + +Group: System Environment/Libraries +License: MIT +URL: http://gitweb.freedesktop.org/?p=pixman.git;a=summary +Source0: pixman-%{gitdate}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: automake autoconf libtool pkgconfig + +%description +Pixman is a pixel manipulation library for X and cairo. + +%package devel +Summary: Pixel manipulation library development package +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig + +%description devel +Development library for pixman. + +%prep +%setup -q -n %{name} + +%build +./autogen.sh +%configure --disable-static +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%{_libdir}/libpixman.so.0 +%{_libdir}/libpixman.so.0.0.0 + +%files devel +%defattr(-,root,root,-) +%dir %{_includedir}/pixman +%{_includedir}/pixman/pixman.h +%{_libdir}/libpixman.so +%{_libdir}/pkgconfig/pixman.pc + +%changelog +* Fri May 18 2007 Adam Jackson 0.9.0-0.20070724 +- git build so I can build git X. diff --git a/sources b/sources index e69de29..5b7ae1f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8fb611ba1ad465986cd3648b6c77c4a1 pixman-20070724.tar.bz2