Spec clean up

epel9
Kalev Lember 13 years ago
parent a1ab900f7f
commit fad6a7bd21

@ -1,8 +1,5 @@
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}
%define __debug_install_post %{_mingw32_debug_install_post}
Summary: MinGW Windows port of the LibTIFF library
@ -17,9 +14,8 @@ Source: ftp://ftp.remotesensing.org/pub/libtiff/tiff-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires: mingw32-zlib mingw32-libjpeg
BuildRequires: mingw32-filesystem >= 35
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-gcc
BuildRequires: mingw32-gcc-c++
BuildRequires: mingw32-binutils
@ -83,7 +79,6 @@ make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
# remove docs
@ -94,12 +89,7 @@ rm -rf $RPM_BUILD_ROOT%{_mingw32_mandir}
rm -f $RPM_BUILD_ROOT%{_mingw32_bindir}/*.exe
%clean
rm -rf $RPM_BUILD_ROOT
%files -n mingw32-libtiff
%defattr(-,root,root,-)
%doc COPYRIGHT README RELEASE-DATE VERSION TODO ChangeLog
%{_mingw32_bindir}/libtiff-3.dll
%{_mingw32_bindir}/libtiffxx-3.dll
@ -110,7 +100,6 @@ rm -rf $RPM_BUILD_ROOT
%{_mingw32_libdir}/libtiffxx.la
%files -n mingw32-libtiff-static
%defattr(-,root,root,-)
%{_mingw32_libdir}/libtiff.a
%{_mingw32_libdir}/libtiffxx.a
@ -118,6 +107,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Tue Mar 06 2012 Kalev Lember <kalevlember@gmail.com> - 3.9.5-5
- Renamed the source package to mingw-libtiff (#800437)
- Spec clean up
* Mon Feb 27 2012 Erik van Pienbroek <epienbro@fedoraproject.org> - 3.9.5-4
- Rebuild against the mingw-w64 toolchain

Loading…
Cancel
Save