2019-09-30 11:13:47 -04:00
|
|
|
Name: pixman
|
2020-07-24 14:49:24 +08:00
|
|
|
Version: 0.40.0
|
|
|
|
|
Release: 0
|
2019-09-30 11:13:47 -04:00
|
|
|
Summary: Pixman is a pixel manipulation library for X and Cairo
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://gitlab.freedesktop.org/pixman/pixman
|
2020-07-24 14:49:24 +08:00
|
|
|
Source0: https://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar
|
2019-09-30 11:13:47 -04:00
|
|
|
|
|
|
|
|
BuildRequires: gcc meson
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
Pixman is a low-level software library for pixel manipulation, providing features such\
|
|
|
|
|
\as image compositing and trapezoid rasterization.\
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Provide library and header files for pixman
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Provide library and header files for pixman
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
sed -i 's/120/600/' test/meson.build
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%meson --auto-features=auto \
|
|
|
|
|
%ifarch %{arm}
|
|
|
|
|
-Diwmmxt=disabled -Diwmmxt2=false \
|
|
|
|
|
%endif
|
|
|
|
|
%nil
|
|
|
|
|
|
|
|
|
|
%meson_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%meson_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%meson_test
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc COPYING
|
|
|
|
|
%{_libdir}/libpixman-1*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_includedir}/pixman-1/pixman*.h
|
|
|
|
|
%{_libdir}/libpixman-1*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-24 14:49:24 +08:00
|
|
|
* Mon Apr 20 2020 openEuler Buildteam <buildteam@openeuler.org> - 0.40.0-0
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update to 0.40.0
|
|
|
|
|
|
2019-09-30 11:13:47 -04:00
|
|
|
* Mon Sep 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.38.0-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- Id:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:Modify the spec according to the new rules
|
|
|
|
|
|
|
|
|
|
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.34.0-11
|
|
|
|
|
- Package init
|