2009-02-16 12:22:44 +01:00
|
|
|
#
|
2011-04-20 13:28:24 +02:00
|
|
|
# spec file for package pixman
|
2009-02-16 12:22:44 +01:00
|
|
|
#
|
2013-05-09 20:38:35 +02:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2009-02-16 12:22:44 +01:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
2012-06-10 14:01:20 +02:00
|
|
|
|
|
|
|
|
2009-02-16 12:22:44 +01:00
|
|
|
Name: pixman
|
2013-08-09 15:16:41 +02:00
|
|
|
Version: 0.30.2
|
2012-01-19 09:38:35 +01:00
|
|
|
Release: 0
|
2009-09-05 00:23:49 +02:00
|
|
|
Summary: Pixel manipulation library
|
2012-01-19 09:38:35 +01:00
|
|
|
License: MIT
|
2009-02-16 12:22:44 +01:00
|
|
|
Group: System/Libraries
|
2012-01-19 09:38:35 +01:00
|
|
|
Url: http://xorg.freedesktop.org/
|
|
|
|
Source: http://cairographics.org/releases/%{name}-%{version}.tar.gz
|
2009-12-18 12:35:12 +01:00
|
|
|
Source99: baselibs.conf
|
2009-09-05 00:23:49 +02:00
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2009-02-16 12:22:44 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Pixman is a pixel manipulation library for X and cairo.
|
|
|
|
|
|
|
|
%package -n libpixman-1-0
|
|
|
|
Summary: Pixel manipulation library
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libpixman-1-0
|
|
|
|
Pixman is a pixel manipulation library for X and cairo.
|
|
|
|
|
|
|
|
%package -n libpixman-1-0-devel
|
|
|
|
Summary: Pixel manipulation library - development files
|
|
|
|
Group: Development/Libraries/X11
|
2009-04-23 20:21:55 +02:00
|
|
|
Requires: libpixman-1-0 = %{version}
|
2009-02-16 12:22:44 +01:00
|
|
|
|
|
|
|
%description -n libpixman-1-0-devel
|
|
|
|
Pixman is a pixel manipulation library for X and cairo.
|
|
|
|
|
|
|
|
%prep
|
2009-09-05 00:23:49 +02:00
|
|
|
%setup -q
|
2009-02-16 12:22:44 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
#autoreconf -fi
|
2009-08-08 01:28:28 +02:00
|
|
|
#
|
|
|
|
#Note about the ifarchs for arm: armv5 has no neon (like mmx on x86), but on armv7 neon is available on most boards.
|
|
|
|
# Thus make it possible to switch it on for v7 on its own.
|
|
|
|
# For now: disable neon on both
|
|
|
|
%configure \
|
|
|
|
%ifarch armv5el armv5tel
|
2012-06-10 14:01:20 +02:00
|
|
|
--disable-arm-iwmmxt \
|
2009-08-08 01:28:28 +02:00
|
|
|
--disable-arm-neon \
|
|
|
|
%endif
|
2012-06-10 14:01:20 +02:00
|
|
|
%ifarch armv7el armv7l armv7hl
|
|
|
|
--disable-arm-iwmmxt \
|
2009-08-08 01:28:28 +02:00
|
|
|
--disable-arm-neon \
|
|
|
|
%endif
|
|
|
|
--disable-static
|
2012-03-26 10:02:11 +02:00
|
|
|
make V=1 %{?_smp_mflags}
|
2009-02-16 12:22:44 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
|
|
|
rm %{buildroot}%{_libdir}/libpixman-1.la
|
|
|
|
|
|
|
|
%post -n libpixman-1-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -n libpixman-1-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libpixman-1-0
|
|
|
|
%defattr(-,root,root)
|
2009-04-23 20:21:55 +02:00
|
|
|
%doc COPYING
|
2009-02-16 12:22:44 +01:00
|
|
|
%{_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
|