pixman/pixman.spec

128 lines
3.4 KiB
RPMSpec

#
# spec file for package pixman (Version 0.15.6)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: pixman
Version: 0.15.6
Release: 1
License: X11/MIT
BuildRequires: pkgconfig
Url: http://xorg.freedesktop.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Group: System/Libraries
Summary: Pixel manipulation library
Source: http://xorg.freedesktop.org/archive/individual/lib/%{name}-%{version}.tar.bz2
%description
Pixman is a pixel manipulation library for X and cairo.
Authors:
--------
Søren Sandmann
%package -n libpixman-1-0
License: X11/MIT
Summary: Pixel manipulation library
Group: System/Libraries
%description -n libpixman-1-0
Pixman is a pixel manipulation library for X and cairo.
Authors:
--------
Søren Sandmann
%package -n libpixman-1-0-devel
License: X11/MIT
Summary: Pixel manipulation library - development files
Group: Development/Libraries/X11
Requires: libpixman-1-0 = %{version}
%description -n libpixman-1-0-devel
Pixman is a pixel manipulation library for X and cairo.
Authors:
--------
Søren Sandmann
%prep
%setup
%build
#autoreconf -fi
%configure --disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
rm %{buildroot}%{_libdir}/libpixman-1.la
%clean
rm -rf "$RPM_BUILD_ROOT"
%post -n libpixman-1-0 -p /sbin/ldconfig
%postun -n libpixman-1-0 -p /sbin/ldconfig
%files -n libpixman-1-0
%defattr(-,root,root)
%doc COPYING
%{_libdir}/libpixman-1.so.*
%files -n libpixman-1-0-devel
%defattr(-,root,root)
%{_includedir}/pixman-1
%{_libdir}/libpixman-1.so
%{_libdir}/pkgconfig/pixman-1.pc
%changelog
* Sat May 23 2009 vuntz@novell.com
- Update to version 0.15.6:
+ See http://cgit.freedesktop.org/pixman/log/ for changes
+ Mainly code cleanup, splitting code in various files.
* Sun May 17 2009 mboman@suse.de
- Update to version 0.15.4:
+ See http://cgit.freedesktop.org/pixman/log/ for changes
* Sat Apr 11 2009 mboman@suse.de
- Update to version 0.15.2:
+ Reinstate SrcScaledNearest optimization
+ Implement PIXMAN_REPEAT_REFLECT for images
+ Add license and copyright holders to COPYING
+ Check for allocation errors during pixman_op()
+ Propagate the error returns from pixman_rect_alloc()
+ Check for failure when intersecting regions
+ Add support for BGRA and BGRx formats
+ Set srcRepeat = False when using fbCompositeSrcScaleNearest
+ Fix pixbuf_from_argb32() to take premultiplied alpha into
account
+ Replace custom type ullong with standard uint64_t in
pixman-mmx.c
+ Fix search and replace issue
- Remove custom CFLAGS
- Add %%{version} to Requires in -devel package
* Tue Feb 10 2009 mboman@suse.de
- Initial package, split out from xorg-x11-libs
+ Drop pixman-0.12.0.diff. See bnc#444639/rh#435771 and fdo#17293