767d4d
%define gitdate 20070827
767d4d
%define gitrev 8ff7213f39edc1b2b8b60d6b0cc5d5f14ca1928d
767d4d
767d4d
Name:           pixman
767d4d
Version:        0.40.0
767d4d
Release:        5%{?dist}
767d4d
Summary:        Pixel manipulation library
767d4d
767d4d
License:        MIT
767d4d
URL:            https://gitlab.freedesktop.org/pixman/pixman
767d4d
#VCS:           git:git://git.freedesktop.org/git/pixman
767d4d
# To make git snapshots:
767d4d
# ./make-pixman-snapshot.sh %{\?gitrev}
767d4d
# if no revision specified, makes a new one from HEAD.
767d4d
Source0:        https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.xz
767d4d
Source1:        make-pixman-snapshot.sh
767d4d
767d4d
BuildRequires:  gcc
767d4d
BuildRequires:  meson
767d4d
767d4d
%description
767d4d
Pixman is a pixel manipulation library for X and Cairo.
767d4d
767d4d
%package devel
767d4d
Summary: Pixel manipulation library development package
767d4d
Requires: %{name}%{?isa} = %{version}-%{release}
767d4d
Requires: pkgconfig
767d4d
767d4d
%description devel
767d4d
Development library for pixman.
767d4d
767d4d
%prep
767d4d
%autosetup -p1
767d4d
# bump up the test suite timeout because arm
767d4d
sed -i 's/120/600/' test/meson.build
767d4d
767d4d
%build
767d4d
%meson --auto-features=auto \
767d4d
%ifarch %{arm}
767d4d
  -Diwmmxt=disabled -Diwmmxt2=false \
767d4d
%endif
767d4d
  %nil
767d4d
767d4d
%meson_build
767d4d
767d4d
%install
767d4d
%meson_install
767d4d
767d4d
%check
767d4d
%meson_test
767d4d
767d4d
%ldconfig_post
767d4d
%ldconfig_postun
767d4d
767d4d
%files
767d4d
%doc COPYING
767d4d
%{_libdir}/libpixman-1*.so.*
767d4d
767d4d
%files devel
767d4d
%dir %{_includedir}/pixman-1
767d4d
%{_includedir}/pixman-1/pixman.h
767d4d
%{_includedir}/pixman-1/pixman-version.h
767d4d
%{_libdir}/libpixman-1*.so
767d4d
%{_libdir}/pkgconfig/pixman-1.pc
767d4d
767d4d
%changelog
767d4d
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 0.40.0-5
767d4d
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
767d4d
  Related: rhbz#1991688
767d4d
767d4d
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 0.40.0-4
767d4d
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
767d4d
767d4d
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.40.0-3
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
767d4d
767d4d
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.40.0-2
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
767d4d
767d4d
* Mon Apr 20 2020 Kalev Lember <klember@redhat.com> - 0.40.0-1
767d4d
- Update to 0.40.0
767d4d
767d4d
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.38.4-2
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
767d4d
767d4d
* Mon Sep 09 2019 Kalev Lember <klember@redhat.com> - 0.38.4-1
767d4d
- Update to 0.38.4
767d4d
767d4d
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.38.0-2
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
767d4d
767d4d
* Tue Feb 12 2019 Kalev Lember <klember@redhat.com> - 0.38.0-1
767d4d
- Update to 0.38.0
767d4d
- Switch to the meson build system
767d4d
767d4d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.36.0-2
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
767d4d
767d4d
* Thu Nov 29 2018 Adam Jackson <ajax@redhat.com> - 0.36.0-1
767d4d
- pixman 0.36.0
767d4d
767d4d
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-10
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
767d4d
767d4d
* Fri Jun 29 2018 Adam Jackson <ajax@redhat.com> - 0.34.0-9
767d4d
- Use ldconfig scriptlet macros
767d4d
767d4d
* Fri May 04 2018 Dan HorĂ¡k <dan[at]danny.cz> - 0.34.0-8
767d4d
- fix vector loads in VMX (ppc64le) (#1572540)
767d4d
767d4d
* Thu Apr 26 2018 Adam Jackson <ajax@redhat.com> - 0.34.0-7
767d4d
- Enable %%check
767d4d
- --disable-vmx to fix %%check failures with gcc8
767d4d
- Remove stray --disable-ssse3
767d4d
767d4d
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-6
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
767d4d
767d4d
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-5
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
767d4d
767d4d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-4
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
767d4d
767d4d
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-3
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
767d4d
767d4d
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.34.0-2
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
767d4d
767d4d
* Mon Feb 01 2016 <oded.gabbay@gmail.com> - 0.34.0-1
767d4d
- Update to 0.34.0 (#1249357)
767d4d
767d4d
* Tue Dec 22 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.6-1
767d4d
- pixman 0.33.6
767d4d
767d4d
* Fri Oct 23 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.4-1
767d4d
- pixman 0.33.4
767d4d
767d4d
* Sun Aug 09 2015 Oded Gabbay <oded.gabbay@gmail.com> 0.33.2-1
767d4d
- pixman 0.33.2
767d4d
- Enable VMX fast paths on ppc64le now that they are fixed
767d4d
767d4d
* Tue Jun 16 2015 Peter Robinson <pbrobinson@fedoraproject.org> 0.32.6-6
767d4d
- revert cflag option added in -5 the broke building
767d4d
767d4d
* Mon May 11 2015 Adam Jackson <ajax@redhat.com> 0.32.6-5
767d4d
- Fix devel's requirement on the base package to include %%{?isa}
767d4d
767d4d
* Mon Nov 10 2014 Adam Jackson <ajax@redhat.com> 0.32.6-4
767d4d
- Disable (broken) VMX fast paths on ppc64le for now.
767d4d
767d4d
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32.6-3
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
767d4d
767d4d
* Fri Jul 11 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.32.6-2
767d4d
- Enable make check but don't (currently) fail the build on failure
767d4d
- Include COPYING as per packaging guidelines
767d4d
- Minor spec cleanups
767d4d
767d4d
* Sun Jul 06 2014 Soren Sandmann <soren.sandmann@gmail.com> 0.32.6-1
767d4d
- pixman 0.32.6
767d4d
- drop SSSE3 patch
767d4d
767d4d
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.32.0-3
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
767d4d
767d4d
* Thu Nov 14 2013 Soren Sandmann <ssp@redhat.com> 0.32.0-2
767d4d
- Add patch to fix SSSE3 detection
767d4d
767d4d
* Sun Nov 10 2013 Soren Sandmann <ssp@redhat.com> 0.32.0-1
767d4d
- pixman 0.32.0
767d4d
767d4d
* Sat Nov 2 2013 Soren Sandmann <ssp@redhat.com> 0.31.2-1
767d4d
- pixman 0.31.2
767d4d
767d4d
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.30.0-3
767d4d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
767d4d
767d4d
* Thu Jul 04 2013 Karsten Hopp <karsten@redhat.com> 0.30.0-2
767d4d
- bump release and rebuild to fix dependencies on PPC
767d4d
767d4d
* Wed May 8 2013 Soren Sandmann <ssp@redhat.com> 0.30.0-1
767d4d
- pixman 0.30.0