62 lines
1.4 KiB
RPMSpec
62 lines
1.4 KiB
RPMSpec
|
%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 <ajax@redhat.com> 0.9.0-0.20070724
|
||
|
- git build so I can build git X.
|