92 lines
2.4 KiB
RPMSpec
92 lines
2.4 KiB
RPMSpec
%define gitdate 20070827
|
|
%define gitrev 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d
|
|
|
|
Name: pixman
|
|
Version: 0.9.6
|
|
Release: 3%{?dist}
|
|
Summary: Pixel manipulation library
|
|
|
|
Group: System Environment/Libraries
|
|
License: MIT
|
|
URL: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
|
|
# To make git snapshots:
|
|
# ./make-pixman-snapshot.sh %{?gitrev}
|
|
# if no revision specified, makes a new one from HEAD.
|
|
Source0: pixman-%{version}.tar.bz2
|
|
Source1: make-pixman-snapshot.sh
|
|
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
|
|
|
|
%build
|
|
%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-1*.so.*
|
|
|
|
%files devel
|
|
%defattr(-,root,root,-)
|
|
%dir %{_includedir}/pixman-1
|
|
%{_includedir}/pixman-1/pixman.h
|
|
%{_libdir}/libpixman-1*.so
|
|
%{_libdir}/pkgconfig/pixman-1.pc
|
|
|
|
%changelog
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-3
|
|
- Third time's the charm.
|
|
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-2
|
|
- Second try.
|
|
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-1
|
|
- Update to 0.9.6 release.
|
|
|
|
* Wed Sep 05 2007 Adam Jackson <ajax@redhat.com> 0.9.5-1
|
|
- Update to 0.9.5 release.
|
|
|
|
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.9.0-7.20070827
|
|
- New snapshot
|
|
|
|
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-4.20070824
|
|
- New snapshot
|
|
|
|
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 0.9.0-3.20070724
|
|
- rebuild for toolchain bug
|
|
|
|
* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-2.20070724
|
|
- Re-add it, %%dir is not the same as adding a dir whole.
|
|
|
|
* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-1.20070724
|
|
- Remove redundant header from %%files devel.
|
|
|
|
* Fri May 18 2007 Adam Jackson <ajax@redhat.com> 0.9.0-0.20070724
|
|
- git build so I can build git X.
|