source: spec/trunk/SPECS/pixman.spec@ 1567

Last change on this file since 1567 was 1462, checked in by Silvan Scherrer, 7 years ago

spec: pixman: Release version 0.32.8-4.

File size: 1.8 KB
Line 
1# Note: this .spec is borrowed from pixman-0.33.6-1.fc24.src.rpm
2
3Name: pixman
4Version: 0.32.8
5Release: 4%{?dist}
6Summary: Pixel manipulation library
7
8Group: System Environment/Libraries
9License: MIT
10URL: http://cgit.freedesktop.org/pixman/
11Vendor: bww bitwise works GmbH
12
13%scm_source svn http://svn.netlabs.org/repos/ports/pixman/trunk 1232
14
15BuildRequires: gcc make subversion zip
16
17BuildRequires: automake autoconf libtool
18
19%description
20Pixman is a pixel manipulation library for X and Cairo.
21
22%package devel
23Summary: Pixel manipulation library development package
24Group: Development/Libraries
25Requires: %{name}%{?isa} = %{version}-%{release}
26Requires: pkgconfig
27
28%description devel
29Development library for pixman.
30
31%prep
32%scm_setup
33
34# Generate confuigure and friends
35NOCONFIGURE=1 autogen.sh
36
37%build
38export LDFLAGS="-Zhigh-mem"
39export LIBS="-lcx"
40%configure \
41 --disable-static
42
43make %{?_smp_mflags} V=1
44
45%install
46make install DESTDIR=$RPM_BUILD_ROOT
47
48find %{buildroot} -type f -name "*.la" -delete
49
50%check
51make 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.
Note: See TracBrowser for help on using the repository browser.