| 1 | # Note: this .spec is borrowed from pixman-0.33.6-1.fc24.src.rpm
|
|---|
| 2 |
|
|---|
| 3 | Name: pixman
|
|---|
| 4 | Version: 0.32.8
|
|---|
| 5 | Release: 4%{?dist}
|
|---|
| 6 | Summary: Pixel manipulation library
|
|---|
| 7 |
|
|---|
| 8 | Group: System Environment/Libraries
|
|---|
| 9 | License: MIT
|
|---|
| 10 | URL: http://cgit.freedesktop.org/pixman/
|
|---|
| 11 | Vendor: bww bitwise works GmbH
|
|---|
| 12 |
|
|---|
| 13 | %scm_source svn http://svn.netlabs.org/repos/ports/pixman/trunk 1232
|
|---|
| 14 |
|
|---|
| 15 | BuildRequires: gcc make subversion zip
|
|---|
| 16 |
|
|---|
| 17 | BuildRequires: automake autoconf libtool
|
|---|
| 18 |
|
|---|
| 19 | %description
|
|---|
| 20 | Pixman is a pixel manipulation library for X and Cairo.
|
|---|
| 21 |
|
|---|
| 22 | %package devel
|
|---|
| 23 | Summary: Pixel manipulation library development package
|
|---|
| 24 | Group: Development/Libraries
|
|---|
| 25 | Requires: %{name}%{?isa} = %{version}-%{release}
|
|---|
| 26 | Requires: pkgconfig
|
|---|
| 27 |
|
|---|
| 28 | %description devel
|
|---|
| 29 | Development library for pixman.
|
|---|
| 30 |
|
|---|
| 31 | %prep
|
|---|
| 32 | %scm_setup
|
|---|
| 33 |
|
|---|
| 34 | # Generate confuigure and friends
|
|---|
| 35 | NOCONFIGURE=1 autogen.sh
|
|---|
| 36 |
|
|---|
| 37 | %build
|
|---|
| 38 | export LDFLAGS="-Zhigh-mem"
|
|---|
| 39 | export LIBS="-lcx"
|
|---|
| 40 | %configure \
|
|---|
| 41 | --disable-static
|
|---|
| 42 |
|
|---|
| 43 | make %{?_smp_mflags} V=1
|
|---|
| 44 |
|
|---|
| 45 | %install
|
|---|
| 46 | make install DESTDIR=$RPM_BUILD_ROOT
|
|---|
| 47 |
|
|---|
| 48 | find %{buildroot} -type f -name "*.la" -delete
|
|---|
| 49 |
|
|---|
| 50 | %check
|
|---|
| 51 | make check %{?_smp_mflags} V=1 ||:
|
|---|
| 52 |
|
|---|
| 53 | #%post -p /sbin/ldconfig
|
|---|
| 54 | #%postun -p /sbin/ldconfig
|
|---|
| 55 |
|
|---|
| 56 | %files
|
|---|
| 57 | %doc COPYING
|
|---|
| 58 | %{_libdir}/pixman1*.dll
|
|---|
| 59 |
|
|---|
| 60 | %files devel
|
|---|
| 61 | %dir %{_includedir}/pixman-1
|
|---|
| 62 | %{_includedir}/pixman-1/pixman.h
|
|---|
| 63 | %{_includedir}/pixman-1/pixman-version.h
|
|---|
| 64 | %{_libdir}/pixman-1*.a
|
|---|
| 65 | %{_libdir}/pkgconfig/pixman-1.pc
|
|---|
| 66 |
|
|---|
| 67 | %changelog
|
|---|
| 68 | * Tue Aug 21 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> 0.32.8-4
|
|---|
| 69 | - rebuild with latest tool chain
|
|---|
| 70 | - use new scm_ macros
|
|---|
| 71 | - use libcx
|
|---|
| 72 |
|
|---|
| 73 | * Tue Mar 1 2016 Dmitriy Kuminov <coding@dmik.org> 0.32.8-3
|
|---|
| 74 | - Use respective optimization flags for different architectures.
|
|---|
| 75 |
|
|---|
| 76 | * Sat Feb 20 2016 Dmitriy Kuminov <coding@dmik.org> 0.32.8-2
|
|---|
| 77 | - Allow loading DLL into high memory.
|
|---|
| 78 |
|
|---|
| 79 | * Tue Dec 29 2015 Dmitriy Kuminov <coding@dmik.org> 0.32.8-1
|
|---|
| 80 | - Initial package for version 0.38.2.
|
|---|