Rebuild for libtiff 4 plus cosmetics

epel9
Volker Fröhlich 13 years ago
parent d1898157e1
commit 7a93681428

@ -1,13 +1,13 @@
Name: libgeotiff Name: libgeotiff
Version: 1.2.5 Version: 1.2.5
Release: 7%{?dist} Release: 8%{?dist}
Summary: GeoTIFF format library Summary: GeoTIFF format library
Group: System Environment/Libraries Group: System Environment/Libraries
License: MIT License: MIT
URL: http://www.remotesensing.org/geotiff/geotiff.html URL: http://www.remotesensing.org/geotiff/geotiff.html
Source: ftp://ftp.remotesensing.org/pub/geotiff/libgeotiff/%{name}-%{version}.tar.gz Source: ftp://ftp.remotesensing.org/pub/geotiff/%{name}/%{name}-%{version}.tar.gz
Patch0: libgeotiff-soname.patch Patch0: %{name}-soname.patch
Patch1: libgeotiff-multilib.patch Patch1: %{name}-multilib.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen BuildRequires: doxygen
BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel
@ -19,10 +19,10 @@ to establish a TIFF based interchange format for georeferenced
raster imagery. raster imagery.
%package devel %package devel
Summary: Development Libraries for the GeoTIFF file format library Summary: Development library and header for the GeoTIFF file format library
Group: Development/Libraries Group: Development/Libraries
Requires: pkgconfig libtiff-devel Requires: pkgconfig libtiff-devel
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The GeoTIFF library provides support for development of geotiff image format. The GeoTIFF library provides support for development of geotiff image format.
@ -74,10 +74,8 @@ sed -i 's|LD_SHARED=@LD_SHARED@|LD_SHARED=@CC@ -shared|' Makefile.in
make make
%install %install
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
make install DESTDIR=%{buildroot} INSTALL="install -p"
# install libgeotiff
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
# install manualy some file # install manualy some file
install -p -m 755 bin/makegeo %{buildroot}%{_bindir} install -p -m 755 bin/makegeo %{buildroot}%{_bindir}
@ -107,32 +105,38 @@ echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
doxygen doxygen
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%files %files
%defattr(-,root,root,-)
%doc ChangeLog LICENSE README %doc ChangeLog LICENSE README
%doc docs/*.txt docs/*.html %doc docs/*.txt docs/*.html
%{_bindir}/geotifcp %{_bindir}/geotifcp
%{_bindir}/listgeo %{_bindir}/listgeo
%{_bindir}/makegeo %{_bindir}/makegeo
%{_libdir}/libgeotiff.so.* %{_libdir}/%{name}.so.*
%dir %{_datadir}/epsg_csv %dir %{_datadir}/epsg_csv
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv %attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
%files devel %files devel
%defattr(-,root,root,-)
%doc docs/api %doc docs/api
%dir %{_includedir}/%{name} %dir %{_includedir}/%{name}
%attr(0644,root,root) %{_includedir}/%{name}/*.h %attr(0644,root,root) %{_includedir}/%{name}/*.h
%attr(0644,root,root) %{_includedir}/%{name}/*.inc %attr(0644,root,root) %{_includedir}/%{name}/*.inc
%{_libdir}/libgeotiff.so %{_libdir}/%{name}.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%changelog %changelog
* Thu May 10 2012 Volker Fröhlich <volker27@gmx.at> - 1.2.5-8
- Add isa macro
- Harmonize buildroot/RPM_BUILD_ROOT
- Replace install macro, use name macro where suitable
- Improve devel sub-package description
- Remove defattr
- Rebuild for libtiff 4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-7 * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

Loading…
Cancel
Save