87c311
%define gitdate 20070827
87c311
%define gitrev 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d
87c311
87c311
Name:           pixman
c4c9e4
Version:        0.38.4
6c00d9
Release:        2%{?dist}
87c311
Summary:        Pixel manipulation library
87c311
87c311
Group:          System Environment/Libraries
87c311
License:        MIT
87c311
URL:            https://gitlab.freedesktop.org/pixman/pixman
87c311
#VCS:           git:git://git.freedesktop.org/git/pixman
87c311
# To make git snapshots:
87c311
# ./make-pixman-snapshot.sh %{\?gitrev}
87c311
# if no revision specified, makes a new one from HEAD.
87c311
Source0:        https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
87c311
Source1:        make-pixman-snapshot.sh
87c311
6c00d9
Patch0: 0001-Initialize-temporary-buffers-in-general_composite_re.patch
6c00d9
87c311
BuildRequires:  automake autoconf libtool
87c311
BuildRequires:  gcc
87c311
87c311
%description
87c311
Pixman is a pixel manipulation library for X and Cairo.
87c311
87c311
%package devel
87c311
Summary: Pixel manipulation library development package
87c311
Group: Development/Libraries
87c311
Requires: %{name}%{?isa} = %{version}-%{release}
87c311
Requires: pkgconfig
87c311
87c311
%description devel
87c311
Development library for pixman.
87c311
87c311
%prep
87c311
%autosetup -p1
87c311
87c311
%build
87c311
%configure \
87c311
%ifarch %{arm}
87c311
  --disable-arm-iwmmxt --disable-arm-iwmmxt2 \
87c311
%endif
87c311
  --disable-static
87c311
87c311
make %{?_smp_mflags} V=1
87c311
87c311
%install
87c311
make install DESTDIR=$RPM_BUILD_ROOT
87c311
87c311
find %{buildroot} -type f -name "*.la" -delete
87c311
87c311
%check
87c311
make check %{?_smp_mflags} V=1
87c311
87c311
%ldconfig_post
87c311
%ldconfig_postun
87c311
87c311
%files
87c311
%doc COPYING
87c311
%{_libdir}/libpixman-1*.so.*
87c311
87c311
%files devel
87c311
%dir %{_includedir}/pixman-1
87c311
%{_includedir}/pixman-1/pixman.h
87c311
%{_includedir}/pixman-1/pixman-version.h
87c311
%{_libdir}/libpixman-1*.so
87c311
%{_libdir}/pkgconfig/pixman-1.pc
87c311
87c311
%changelog
6c00d9
* Tue Feb 22 2022 Adam Jackson <ajax@redhat.com> - 0.38.4-2
6c00d9
- Backport the pixman part of cairo CVE-2020-35492
6c00d9
c4c9e4
* Tue Nov 19 2019 Adam Jackson <ajax@redhat.com> - 0.38.4-1
c4c9e4
- pixman 0.38.4
c4c9e4
87c311
* Thu Nov 29 2018 Adam Jackson <ajax@redhat.com> - 0.36.0-1
87c311
- pixman 0.36.0
87c311
87c311
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-10
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
87c311
87c311
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 0.34.0-9
87c311
- Use ldconfig scriptlet macros
87c311
87c311
* Fri May 04 2018 Dan HorĂ¡k <dan[at]danny.cz> - 0.34.0-8
87c311
- fix vector loads in VMX (ppc64le) (#1572540)
87c311
87c311
* Thu Apr 26 2018 Adam Jackson <ajax@redhat.com> - 0.34.0-7
87c311
- Enable %%check
87c311
- --disable-vmx to fix %%check failures with gcc8
87c311
- Remove stray --disable-ssse3
87c311
87c311
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-6
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
87c311
87c311
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-5
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
87c311
87c311
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-4
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
87c311
87c311
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-3
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
87c311
87c311
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-2
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
87c311
87c311
* Mon Feb 01 2016 <oded.gabbay@gmail.com> - 0.34.0-1
87c311
- Update to 0.34.0 (#1249357)
87c311
87c311
* Tue Dec 22 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.6-1
87c311
- pixman 0.33.6
87c311
87c311
* Fri Oct 23 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.4-1
87c311
- pixman 0.33.4
87c311
87c311
* Sun Aug 09 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.2-1
87c311
- pixman 0.33.2
87c311
- Enable VMX fast paths on ppc64le now that they are fixed
87c311
87c311
* Tue Jun 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.32.6-6
87c311
- revert cflag option added in -5 the broke building
87c311
87c311
* Mon May 11 2015 Adam Jackson <ajax@redhat.com> 0.32.6-5
87c311
- Fix devel's requirement on the base package to include %%{?isa}
87c311
87c311
* Mon Nov 10 2014 Adam Jackson <ajax@redhat.com> 0.32.6-4
87c311
- Disable (broken) VMX fast paths on ppc64le for now.
87c311
87c311
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32.6-3
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
87c311
87c311
* Fri Jul 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.32.6-2
87c311
- Enable make check but don't (currently) fail the build on failure
87c311
- Include COPYING as per packaging guidelines
87c311
- Minor spec cleanups
87c311
87c311
* Sun Jul 06 2014 Soren Sandmann <soren.sandmann@gmail.com> 0.32.6-1
87c311
- pixman 0.32.6
87c311
- drop SSSE3 patch
87c311
87c311
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32.0-3
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
87c311
87c311
* Thu Nov 14 2013 Soren Sandmann <ssp@redhat.com> 0.32.0-2
87c311
- Add patch to fix SSSE3 detection
87c311
87c311
* Sun Nov 10 2013 Soren Sandmann <ssp@redhat.com> 0.32.0-1
87c311
- pixman 0.32.0
87c311
87c311
* Sat Nov 2 2013 Soren Sandmann <ssp@redhat.com> 0.31.2-1
87c311
- pixman 0.31.2
87c311
87c311
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30.0-3
87c311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
87c311
87c311
* Thu Jul 04 2013 Karsten Hopp <karsten@redhat.com> 0.30.0-2
87c311
- bump release and rebuild to fix dependencies on PPC
87c311
87c311
* Wed May 8 2013 Soren Sandmann <ssp@redhat.com> 0.30.0-1
87c311
- pixman 0.30.0