|
|
|
@ -1,12 +1,9 @@
|
|
|
|
|
%?mingw_package_header
|
|
|
|
|
|
|
|
|
|
%global mingw_build_win32 1
|
|
|
|
|
%global mingw_build_win64 1
|
|
|
|
|
|
|
|
|
|
Summary: MinGW Windows port of the LibTIFF library
|
|
|
|
|
Name: mingw-libtiff
|
|
|
|
|
Version: 3.9.5
|
|
|
|
|
Release: 8%{?dist}
|
|
|
|
|
Version: 4.0.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: libtiff
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
URL: http://www.remotesensing.org/libtiff/
|
|
|
|
@ -93,13 +90,13 @@ Static version of the MinGW Windows LibTIFF library.
|
|
|
|
|
%setup -q -n tiff-%{version}
|
|
|
|
|
|
|
|
|
|
# Use build system's libtool.m4, not the one in the package.
|
|
|
|
|
rm -f libtool.m4
|
|
|
|
|
#rm -f libtool.m4
|
|
|
|
|
|
|
|
|
|
libtoolize --force --copy
|
|
|
|
|
aclocal -I . -I m4
|
|
|
|
|
automake --add-missing --copy
|
|
|
|
|
autoconf
|
|
|
|
|
autoheader
|
|
|
|
|
#libtoolize --force --copy
|
|
|
|
|
#aclocal -I . -I m4
|
|
|
|
|
#automake --add-missing --copy
|
|
|
|
|
#autoconf
|
|
|
|
|
#autoheader
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -129,11 +126,12 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
# Win32
|
|
|
|
|
%files -n mingw32-libtiff
|
|
|
|
|
%doc COPYRIGHT README RELEASE-DATE VERSION TODO ChangeLog
|
|
|
|
|
%{mingw32_bindir}/libtiff-3.dll
|
|
|
|
|
%{mingw32_bindir}/libtiffxx-3.dll
|
|
|
|
|
%{mingw32_bindir}/libtiff-5.dll
|
|
|
|
|
%{mingw32_bindir}/libtiffxx-5.dll
|
|
|
|
|
%{mingw32_includedir}/*
|
|
|
|
|
%{mingw32_libdir}/libtiff.dll.a
|
|
|
|
|
%{mingw32_libdir}/libtiffxx.dll.a
|
|
|
|
|
%{mingw32_libdir}/pkgconfig/libtiff-4.pc
|
|
|
|
|
|
|
|
|
|
%files -n mingw32-libtiff-static
|
|
|
|
|
%{mingw32_libdir}/libtiff.a
|
|
|
|
@ -142,11 +140,12 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
# Win64
|
|
|
|
|
%files -n mingw64-libtiff
|
|
|
|
|
%doc COPYRIGHT README RELEASE-DATE VERSION TODO ChangeLog
|
|
|
|
|
%{mingw64_bindir}/libtiff-3.dll
|
|
|
|
|
%{mingw64_bindir}/libtiffxx-3.dll
|
|
|
|
|
%{mingw64_bindir}/libtiff-5.dll
|
|
|
|
|
%{mingw64_bindir}/libtiffxx-5.dll
|
|
|
|
|
%{mingw64_includedir}/*
|
|
|
|
|
%{mingw64_libdir}/libtiff.dll.a
|
|
|
|
|
%{mingw64_libdir}/libtiffxx.dll.a
|
|
|
|
|
%{mingw64_libdir}/pkgconfig/libtiff-4.pc
|
|
|
|
|
|
|
|
|
|
%files -n mingw64-libtiff-static
|
|
|
|
|
%{mingw64_libdir}/libtiff.a
|
|
|
|
@ -154,6 +153,9 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 25 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 4.0.2-1
|
|
|
|
|
- Update to 4.0.2 (RHBZ #850919)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.9.5-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|