Changeset 1545
- Timestamp:
- Dec 29, 2018, 4:16:42 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/lcms2.spec
r1098 r1545 1 1 Name: lcms2 2 Version: 2. 82 Version: 2.9 3 3 Release: 1%{?dist} 4 4 Summary: Color Management Engine … … 7 7 8 8 Vendor: bww bitwise works GmbH 9 %scm_source svn http://svn.netlabs.org/repos/ports/lcms2/trunk 2 1239 %scm_source svn http://svn.netlabs.org/repos/ports/lcms2/trunk 2316 10 10 11 BuildRequires: gcc 11 12 BuildRequires: libjpeg-devel 12 13 BuildRequires: libtiff-devel … … 20 21 %package utils 21 22 Summary: Utility applications for %{name} 22 Group: Applications/Productivity23 23 Requires: %{name} = %{version}-%{release} 24 24 … … 28 28 %package devel 29 29 Summary: Development files for LittleCMS 30 Group: Development/Libraries31 30 Requires: %{name} = %{version}-%{release} 32 31 Provides: littlecms-devel = %{version}-%{release} … … 36 35 37 36 %debug_package 37 38 38 39 39 %prep … … 45 45 autogen.sh 46 46 47 47 48 %build 48 export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp "49 export LDFLAGS=" -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp -lcx" 49 50 export VENDOR="%{vendor}" 50 51 … … 53 54 make %{?_smp_mflags} 54 55 56 55 57 %install 56 rm -rf ${RPM_BUILD_ROOT}57 58 make install DESTDIR=${RPM_BUILD_ROOT} INSTALL="install -p" 58 find ${RPM_BUILD_ROOT} -type f -name "*.la" -exec rm -f {} ';'59 59 60 # install docs as this is all we've got 61 install -D -m 644 doc/LittleCMS2.?\ tutorial.pdf ${RPM_BUILD_ROOT}/%{_datadir}/doc/lcms2-devel-%{version}/tutorial.pdf 62 install -D -m 644 doc/LittleCMS2.?\ API.pdf ${RPM_BUILD_ROOT}%{_datadir}/doc/lcms2-devel-%{version}/api.pdf 63 install -D -m 644 doc/LittleCMS2.?\ Plugin\ API.pdf ${RPM_BUILD_ROOT}%{_datadir}/doc/lcms2-devel-%{version}/plugin-api.pdf 60 rm -fv %{buildroot}%{_libdir}/lib*.la 64 61 65 %clean 66 rm -rf ${RPM_BUILD_ROOT} 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 67 66 68 #%post -p /sbin/ldconfig69 67 70 #%postun -p /sbin/ldconfig 68 %check 69 export BEGINLIBPATH=%{_builddir}/%{buildsubdir}/src/.libs 70 make check -k ||: 71 72 73 #%ldconfig_scriplets 74 71 75 72 76 %files 73 %d efattr(-,root,root,-)74 % doc AUTHORSCOPYING77 %doc AUTHORS 78 %license COPYING 75 79 %{_libdir}/*.dll 76 80 77 81 %files utils 78 %defattr(-,root,root,-)79 82 %{_bindir}/*.exe 80 83 %{_mandir}/man1/* 81 84 82 85 %files devel 83 %defattr(-,root,root,-) 84 %{_datadir}/doc/lcms2-devel-%{version}/*.pdf 85 %{_includedir}/* 86 %doc api.pdf plugin-api.pdf tutorial.pdf 87 %{_includedir}/lcms2*.h 86 88 %{_libdir}/*.a 87 %{_libdir}/pkgconfig/%{name}.pc 89 %{_libdir}/pkgconfig/lcms2.pc 90 88 91 89 92 %changelog 93 * Sat Dec 29 2018 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.9-1 94 - update to vendor version 2.9 95 90 96 * Fri Mar 03 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.8-1 91 97 - update to vendor version 2.8 … … 95 101 - remove dbg files from normal packages 96 102 97 * T huFeb 16 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.7-0103 * Tue Feb 16 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.7-0 98 104 - First release
Note:
See TracChangeset
for help on using the changeset viewer.