[655] | 1 | Name: lcms2
|
---|
[1545] | 2 | Version: 2.9
|
---|
[720] | 3 | Release: 1%{?dist}
|
---|
[655] | 4 | Summary: Color Management Engine
|
---|
| 5 | License: MIT
|
---|
| 6 | URL: http://www.littlecms.com/
|
---|
[1046] | 7 |
|
---|
[655] | 8 | Vendor: bww bitwise works GmbH
|
---|
[1545] | 9 | %scm_source svn http://svn.netlabs.org/repos/ports/lcms2/trunk 2316
|
---|
[655] | 10 |
|
---|
[1545] | 11 | BuildRequires: gcc
|
---|
[655] | 12 | BuildRequires: libjpeg-devel
|
---|
| 13 | BuildRequires: libtiff-devel
|
---|
| 14 | BuildRequires: zlib-devel
|
---|
| 15 |
|
---|
| 16 | %description
|
---|
| 17 | LittleCMS intends to be a small-footprint, speed optimized color management
|
---|
| 18 | engine in open source form. LCMS2 is the current version of LCMS, and can be
|
---|
| 19 | parallel installed with the original (deprecated) lcms.
|
---|
| 20 |
|
---|
| 21 | %package utils
|
---|
| 22 | Summary: Utility applications for %{name}
|
---|
| 23 | Requires: %{name} = %{version}-%{release}
|
---|
| 24 |
|
---|
| 25 | %description utils
|
---|
| 26 | The %{name}-utils package contains utility applications for %{name}.
|
---|
| 27 |
|
---|
| 28 | %package devel
|
---|
| 29 | Summary: Development files for LittleCMS
|
---|
| 30 | Requires: %{name} = %{version}-%{release}
|
---|
| 31 | Provides: littlecms-devel = %{version}-%{release}
|
---|
| 32 |
|
---|
| 33 | %description devel
|
---|
| 34 | Development 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
|
---|
| 43 | export NOCONFIGURE=1
|
---|
| 44 | libtoolize -fc
|
---|
| 45 | autogen.sh
|
---|
| 46 |
|
---|
[1545] | 47 |
|
---|
[655] | 48 | %build
|
---|
[1545] | 49 | export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -lcx"
|
---|
[1046] | 50 | export VENDOR="%{vendor}"
|
---|
| 51 |
|
---|
[655] | 52 | %configure --disable-static --enable-shared
|
---|
| 53 |
|
---|
| 54 | make %{?_smp_mflags}
|
---|
| 55 |
|
---|
[1545] | 56 |
|
---|
[655] | 57 | %install
|
---|
| 58 | make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p"
|
---|
| 59 |
|
---|
[1545] | 60 | rm -fv %{buildroot}%{_libdir}/lib*.la
|
---|
[655] | 61 |
|
---|
[1545] | 62 | # rename docs (for use with %%doc below)
|
---|
| 63 | cp -af doc/LittleCMS2.?\ API.pdf api.pdf
|
---|
| 64 | cp -af doc/LittleCMS2.?\ Plugin\ API.pdf plugin-api.pdf
|
---|
| 65 | cp -af doc/LittleCMS2.?\ tutorial.pdf tutorial.pdf
|
---|
[655] | 66 |
|
---|
| 67 |
|
---|
[1545] | 68 | %check
|
---|
| 69 | export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs
|
---|
| 70 | make 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
|
---|