Changeset 967
- Timestamp:
- Feb 8, 2017, 5:26:10 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/libtiff.spec
r643 r967 1 Summary: Library of functions for manipulating TIFF format image files 2 Name: libtiff 3 Version: 4.0.6 4 Release: 1%{?dist} 1 Summary: Library of functions for manipulating TIFF format image files 2 Name: libtiff 3 Version: 4.0.7 4 Release: 1%{?dist} 5 License: libtiff 6 Group: System Environment/Libraries 7 URL: http://www.simplesystems.org/libtiff/ 5 8 6 License: libtiff 7 Group: System Environment/Libraries 8 URL: http://www.remotesensing.org/libtiff/ 9 Vendor: bww bitwise works GmbH 9 Vendor: bww bitwise works GmbH 10 %scm_source svn http://svn.netlabs.org/repos/ports/libtiff/trunk 1989 10 11 11 #define svn_url e:/trees/libtiff/trunk 12 %define svn_url http://svn.netlabs.org/repos/ports/libtiff/trunk 13 %define svn_rev 1251 14 15 Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip 16 17 BuildRequires: zlib-devel libjpeg-devel pkgconfig 18 BuildRequires: libtool automake autoconf 19 20 # @todo Temporary enforce dependency on the legacy package 21 # to have it installed. This should be dropped at some point. 22 Requires: libtiff-legacy 12 BuildRequires: zlib-devel libjpeg-devel 13 BuildRequires: libtool automake autoconf pkgconfig 23 14 24 15 %description … … 32 23 33 24 %package devel 34 Summary: Development tools for programs which will use the libtiff library35 Group: Development/Libraries36 Requires: %{name} = %{version}-%{release}37 Requires: pkgconfig25 Summary: Development tools for programs which will use the libtiff library 26 Group: Development/Libraries 27 Requires: %{name} = %{version}-%{release} 28 Requires: pkgconfig 38 29 39 30 %description devel … … 47 38 48 39 %package static 49 Summary: Static TIFF image format file library50 Group: Development/Libraries51 Requires: %{name}-devel = %{version}-%{release}40 Summary: Static TIFF image format file library 41 Group: Development/Libraries 42 Requires: %{name}-devel = %{version}-%{release} 52 43 53 44 %description static … … 57 48 58 49 %package tools 59 Summary: Command-line utility programs for manipulating TIFF files60 Group: Development/Libraries61 Requires: %{name} = %{version}-%{release}50 Summary: Command-line utility programs for manipulating TIFF files 51 Group: Development/Libraries 52 Requires: %{name} = %{version}-%{release} 62 53 63 54 %description tools … … 65 56 image files using the libtiff library. 66 57 58 %legacy_runtime_packages 59 67 60 %debug_package 68 61 69 62 %prep 70 %if %{?svn_rev:%(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')}%{?!svn_rev):0} 71 %setup -q 72 %else 73 %setup -n "%{name}-%{version}" -Tc 74 svn export %{?svn_rev:-r %{svn_rev}} %{svn_url} . --force 75 rm -f "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" 76 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip" "%{name}-%{version}") 77 %endif 63 %scm_setup 78 64 79 65 # Use build system's libtool.m4, not the one in the package. … … 83 69 export LDFLAGS="-Zbin-files -Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 84 70 export CFLAGS="%{optflags} -fno-strict-aliasing" 71 export VENDOR="%{vendor}" 85 72 %configure 86 73 make %{?_smp_mflags} 87 74 88 75 %install 89 rm -rf $RPM_BUILD_ROOT90 91 76 make DESTDIR=$RPM_BUILD_ROOT install 92 77 … … 108 93 rm -f html/man/tiffsv.1.html 109 94 110 111 95 %clean 112 96 rm -rf $RPM_BUILD_ROOT 113 97 98 #post -p /sbin/ldconfig 99 100 #postun -p /sbin/ldconfig 101 102 %check 103 #LD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH make check 114 104 115 105 %files … … 117 107 %doc COPYRIGHT README RELEASE-DATE VERSION 118 108 %{_libdir}/tiff*.dll 109 %exclude %{_libdir}/tiff.dll 119 110 120 111 %files devel … … 123 114 %{_includedir}/* 124 115 %{_libdir}/tiff*_dll.a 125 %{_libdir}/tiffxx*_dll.a126 116 %{_libdir}/pkgconfig/libtiff-4.pc 127 117 %{_mandir}/man3/* … … 130 120 %defattr(-,root,root,0755) 131 121 %{_libdir}/*.a 122 %exclude %{_libdir}/*_dll.a 132 123 133 124 %files tools … … 137 128 138 129 %changelog 130 * Wed Feb 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.0.7-1 131 - updated source to 4.0.7 version 132 - join legazy package to the main with our new macro 133 - use the new scm_source and scm_setup macros 134 - add bldlevel info to the dll 135 139 136 * Wed Jan 13 2016 Silvan Scherrer <silvan.scherrer@aroa.ch> 4.0.6-1 140 137 - updated source to 4.0.6 version
Note:
See TracChangeset
for help on using the changeset viewer.