|
|
|
@ -1,16 +1,12 @@
|
|
|
|
|
Name: libgeotiff
|
|
|
|
|
Version: 1.2.5
|
|
|
|
|
Release: 15%{?dist}
|
|
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: GeoTIFF format library
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: http://www.remotesensing.org/geotiff/geotiff.html
|
|
|
|
|
Source: ftp://ftp.remotesensing.org/pub/geotiff/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
Patch0: %{name}-soname.patch
|
|
|
|
|
Patch1: %{name}-multilib.patch
|
|
|
|
|
Patch2: %{name}-aarch64.patch
|
|
|
|
|
URL: http://trac.osgeo.org/geotiff/
|
|
|
|
|
Source: http://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
BuildRequires: doxygen
|
|
|
|
|
BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
@ -30,9 +26,6 @@ The GeoTIFF library provides support for development of geotiff image format.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
%patch0 -p1 -b .soname~
|
|
|
|
|
%patch1 -p1 -b .multilib~
|
|
|
|
|
%patch2 -p1 -b .aarch64~
|
|
|
|
|
|
|
|
|
|
# fix wrongly encoded files from tarball
|
|
|
|
|
set +x
|
|
|
|
@ -102,9 +95,6 @@ install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
|
|
|
|
rm -rf %{buildroot}%{_libdir}/*.a
|
|
|
|
|
echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
|
|
|
|
|
|
|
|
|
# generate docs
|
|
|
|
|
doxygen
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
@ -113,16 +103,17 @@ rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc ChangeLog LICENSE README
|
|
|
|
|
%doc docs/*.txt docs/*.html
|
|
|
|
|
%{_bindir}/applygeo
|
|
|
|
|
%{_bindir}/geotifcp
|
|
|
|
|
%{_bindir}/listgeo
|
|
|
|
|
%{_bindir}/makegeo
|
|
|
|
|
%{_libdir}/%{name}.so.*
|
|
|
|
|
%{_libdir}/%{name}.la
|
|
|
|
|
%{_mandir}/man1/listgeo.1.gz
|
|
|
|
|
%dir %{_datadir}/epsg_csv
|
|
|
|
|
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%doc docs/api
|
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
|
%attr(0644,root,root) %{_includedir}/%{name}/*.h
|
|
|
|
|
%attr(0644,root,root) %{_includedir}/%{name}/*.inc
|
|
|
|
@ -130,6 +121,12 @@ rm -rf %{buildroot}
|
|
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Jul 12 2014 Devrim Gündüz <devrim@gunduz.org> - 1.4.0-1
|
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
- Removed patches. No longer applicable.
|
|
|
|
|
- Update URL
|
|
|
|
|
- Update download URL
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|