source: spec/trunk/SPECS/lcms2.spec

Last change on this file was 1545, checked in by Silvan Scherrer, 7 years ago

spec: lcms2: Release version 2.9-1.

File size: 2.4 KB
RevLine 
[655]1Name: lcms2
[1545]2Version: 2.9
[720]3Release: 1%{?dist}
[655]4Summary: Color Management Engine
5License: MIT
6URL: http://www.littlecms.com/
[1046]7
[655]8Vendor: bww bitwise works GmbH
[1545]9%scm_source svn http://svn.netlabs.org/repos/ports/lcms2/trunk 2316
[655]10
[1545]11BuildRequires: gcc
[655]12BuildRequires: libjpeg-devel
13BuildRequires: libtiff-devel
14BuildRequires: zlib-devel
15
16%description
17LittleCMS intends to be a small-footprint, speed optimized color management
18engine in open source form. LCMS2 is the current version of LCMS, and can be
19parallel installed with the original (deprecated) lcms.
20
21%package utils
22Summary: Utility applications for %{name}
23Requires: %{name} = %{version}-%{release}
24
25%description utils
26The %{name}-utils package contains utility applications for %{name}.
27
28%package devel
29Summary: Development files for LittleCMS
30Requires: %{name} = %{version}-%{release}
31Provides: littlecms-devel = %{version}-%{release}
32
33%description devel
34Development files for LittleCMS.
35
36%debug_package
37
[1545]38
[655]39%prep
[1046]40%scm_setup
[655]41
42# hammer to nuke rpaths, recheck on new releases
43export NOCONFIGURE=1
44libtoolize -fc
45autogen.sh
46
[1545]47
[655]48%build
[1545]49export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -lcx"
[1046]50export VENDOR="%{vendor}"
51
[655]52%configure --disable-static --enable-shared
53
54make %{?_smp_mflags}
55
[1545]56
[655]57%install
58make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
59
[1545]60rm -fv %{buildroot}%{_libdir}/lib*.la
[655]61
[1545]62# rename docs (for use with %%doc below)
63cp -af doc/LittleCMS2.?\ API.pdf api.pdf
64cp -af doc/LittleCMS2.?\ Plugin\ API.pdf plugin-api.pdf
65cp -af doc/LittleCMS2.?\ tutorial.pdf tutorial.pdf
[655]66
67
[1545]68%check
69export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs
70make check -k ||:
[655]71
[1545]72
73#%ldconfig_scriplets
74
75
[655]76%files
[1545]77%doc AUTHORS
78%license COPYING
[655]79%{_libdir}/*.dll
80
81%files utils
[720]82%{_bindir}/*.exe
[655]83%{_mandir}/man1/*
84
85%files devel
[1545]86%doc api.pdf plugin-api.pdf tutorial.pdf
87%{_includedir}/lcms2*.h
[655]88%{_libdir}/*.a
[1545]89%{_libdir}/pkgconfig/lcms2.pc
[655]90
[1545]91
[655]92%changelog
[1545]93* Sat Dec 29 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.9-1
94- update to vendor version 2.9
95
[1046]96* Fri Mar 03 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.8-1
97- update to vendor version 2.8
[1098]98- use scm_ macros
[1046]99
[720]100* Wed Mar 16 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.7-1
101- remove dbg files from normal packages
102
[1545]103* Tue Feb 16 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.7-0
[720]104- First release
Note: See TracBrowser for help on using the repository browser.