2007-08-27 17:20:46 +00:00
|
|
|
%define gitdate 20070827
|
|
|
|
%define gitrev 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d
|
2007-07-24 15:36:30 +00:00
|
|
|
|
|
|
|
Name: pixman
|
2008-06-09 16:58:26 +00:00
|
|
|
Version: 0.11.4
|
2008-06-17 18:16:54 +00:00
|
|
|
Release: 3%{?dist}
|
2007-07-24 15:36:30 +00:00
|
|
|
Summary: Pixel manipulation library
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
2007-09-05 16:32:16 +00:00
|
|
|
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.
|
2008-04-03 20:46:14 +00:00
|
|
|
Source0: pixman-%{version}.tar.gz
|
2007-08-27 17:20:46 +00:00
|
|
|
Source1: make-pixman-snapshot.sh
|
2007-07-24 15:36:30 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2008-06-13 20:01:24 +00:00
|
|
|
Patch0: leakfix.patch
|
2008-06-17 18:16:54 +00:00
|
|
|
Patch1: pixman-0.11.4-altivec.patch
|
2008-06-13 20:01:24 +00:00
|
|
|
|
2007-09-05 16:32:16 +00:00
|
|
|
# BuildRequires: automake autoconf libtool pkgconfig
|
2007-07-24 15:36:30 +00:00
|
|
|
|
|
|
|
%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
|
2007-09-05 16:32:16 +00:00
|
|
|
%setup -q
|
2008-06-13 20:01:24 +00:00
|
|
|
%patch0 -p1 -b .leakfix
|
2008-06-17 18:16:54 +00:00
|
|
|
%patch1 -p1 -b .altivec
|
2007-07-24 15:36:30 +00:00
|
|
|
|
|
|
|
%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,-)
|
2007-10-31 21:32:13 +00:00
|
|
|
%{_libdir}/libpixman-1*.so.*
|
2007-07-24 15:36:30 +00:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
2007-08-24 12:01:40 +00:00
|
|
|
%dir %{_includedir}/pixman-1
|
|
|
|
%{_includedir}/pixman-1/pixman.h
|
2008-04-03 20:46:14 +00:00
|
|
|
%{_includedir}/pixman-1/pixman-version.h
|
2007-10-31 21:32:13 +00:00
|
|
|
%{_libdir}/libpixman-1*.so
|
2007-08-24 12:01:40 +00:00
|
|
|
%{_libdir}/pkgconfig/pixman-1.pc
|
2007-07-24 15:36:30 +00:00
|
|
|
|
|
|
|
%changelog
|
2008-06-17 18:16:54 +00:00
|
|
|
* Tue Jun 17 2008 David Woodhouse <dwmw2@infradead.org> 0.11.4-3
|
|
|
|
- Fix Altivec detection breakage (#451831)
|
|
|
|
|
2008-06-13 20:01:24 +00:00
|
|
|
* Fri Jun 13 2008 Soren Sandmann <sandmann@redhat.com> 0.11.4-2
|
|
|
|
- Plug bad leak (cherrypicked from master)
|
|
|
|
|
2008-06-09 16:58:26 +00:00
|
|
|
* Mon Jun 9 2008 Soren Sandmann <sandmann@redhat.com> 0.11.4-1
|
|
|
|
- Update to 0.11.4
|
|
|
|
|
2008-06-09 06:42:08 +00:00
|
|
|
* Mon Jun 9 2008 Soren Sandmann <sandmann@redhat.com> 0.11.2-1
|
|
|
|
- Update to 0.11.2
|
|
|
|
|
2008-04-03 20:46:14 +00:00
|
|
|
* Thu Apr 3 2008 Soren Sandmann <sandmann@redhat.com> 0.10.0-1
|
|
|
|
- Update to 0.10.0
|
|
|
|
|
2008-02-18 19:02:10 +00:00
|
|
|
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.9.6-4
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-10-31 21:32:13 +00:00
|
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-3
|
|
|
|
- Third time's the charm.
|
|
|
|
|
2007-10-31 21:25:56 +00:00
|
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-2
|
|
|
|
- Second try.
|
|
|
|
|
2007-10-31 21:17:27 +00:00
|
|
|
* Wed Oct 31 2007 Behdad Esfahbod <besfahbo@redhat.com> 0.9.6-1
|
|
|
|
- Update to 0.9.6 release.
|
|
|
|
|
2007-09-05 16:32:16 +00:00
|
|
|
* Wed Sep 05 2007 Adam Jackson <ajax@redhat.com> 0.9.5-1
|
|
|
|
- Update to 0.9.5 release.
|
|
|
|
|
2007-08-27 17:20:46 +00:00
|
|
|
* Mon Aug 27 2007 Adam Jackson <ajax@redhat.com> 0.9.0-7.20070827
|
|
|
|
- New snapshot
|
|
|
|
|
2007-08-24 12:01:40 +00:00
|
|
|
* Fri Aug 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-4.20070824
|
|
|
|
- New snapshot
|
|
|
|
|
2007-07-25 17:51:28 +00:00
|
|
|
* Wed Jul 25 2007 Jeremy Katz <katzj@redhat.com> - 0.9.0-3.20070724
|
|
|
|
- rebuild for toolchain bug
|
|
|
|
|
2007-07-24 18:39:07 +00:00
|
|
|
* 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.
|
|
|
|
|
2007-07-24 15:37:48 +00:00
|
|
|
* Tue Jul 24 2007 Adam Jackson <ajax@redhat.com> 0.9.0-1.20070724
|
|
|
|
- Remove redundant header from %%files devel.
|
|
|
|
|
2007-07-24 15:36:30 +00:00
|
|
|
* Fri May 18 2007 Adam Jackson <ajax@redhat.com> 0.9.0-0.20070724
|
|
|
|
- git build so I can build git X.
|