2007-07-24 18:03:31 +00:00
|
|
|
Name: libgeotiff
|
2014-07-12 14:18:09 +00:00
|
|
|
Version: 1.4.0
|
2017-08-03 01:30:42 +00:00
|
|
|
Release: 11%{?dist}
|
2007-07-24 18:03:31 +00:00
|
|
|
Summary: GeoTIFF format library
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: MIT
|
2014-07-12 14:18:09 +00:00
|
|
|
URL: http://trac.osgeo.org/geotiff/
|
|
|
|
Source: http://download.osgeo.org/geotiff/%{name}/%{name}-%{version}.tar.gz
|
2007-07-24 18:03:31 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel
|
|
|
|
|
|
|
|
%description
|
2017-01-24 08:12:57 +00:00
|
|
|
GeoTIFF represents an effort by over 160 different remote sensing,
|
|
|
|
GIS, cartographic, and surveying related companies and organizations
|
|
|
|
to establish a TIFF based interchange format for georeferenced
|
2007-07-24 18:03:31 +00:00
|
|
|
raster imagery.
|
|
|
|
|
|
|
|
%package devel
|
2012-05-09 23:08:28 +00:00
|
|
|
Summary: Development library and header for the GeoTIFF file format library
|
2007-07-24 18:03:31 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: pkgconfig libtiff-devel
|
2012-05-09 23:08:28 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2007-07-24 18:03:31 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The GeoTIFF library provides support for development of geotiff image format.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{version}
|
|
|
|
|
|
|
|
# fix wrongly encoded files from tarball
|
|
|
|
set +x
|
|
|
|
for f in `find . -type f` ; do
|
|
|
|
if file $f | grep -q ISO-8859 ; then
|
|
|
|
set -x
|
|
|
|
iconv -f ISO-8859-1 -t UTF-8 $f > ${f}.tmp && \
|
|
|
|
mv -f ${f}.tmp $f
|
|
|
|
set +x
|
|
|
|
fi
|
|
|
|
if file $f | grep -q CRLF ; then
|
|
|
|
set -x
|
|
|
|
sed -i -e 's|\r||g' $f
|
|
|
|
set +x
|
|
|
|
fi
|
|
|
|
done
|
|
|
|
set -x
|
|
|
|
|
2009-04-22 20:24:10 +00:00
|
|
|
|
2015-01-07 20:12:50 +00:00
|
|
|
%build
|
2007-07-24 18:03:31 +00:00
|
|
|
%configure \
|
|
|
|
--prefix=%{_prefix} \
|
|
|
|
--includedir=%{_includedir}/%{name}/ \
|
|
|
|
--with-proj \
|
|
|
|
--with-jpeg \
|
2015-01-07 20:12:50 +00:00
|
|
|
--with-zip \
|
2015-10-29 15:25:39 +00:00
|
|
|
--enable-debug \
|
2015-01-07 20:12:50 +00:00
|
|
|
--disable-static
|
2008-09-15 10:16:09 +00:00
|
|
|
|
2015-10-29 15:25:39 +00:00
|
|
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
|
|
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
|
|
|
|
|
|
|
make %{?_smp_mflags}
|
2007-07-24 18:03:31 +00:00
|
|
|
|
|
|
|
%install
|
2012-05-09 23:08:28 +00:00
|
|
|
rm -rf %{buildroot}
|
|
|
|
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
2007-07-24 18:03:31 +00:00
|
|
|
|
|
|
|
# install pkgconfig file
|
|
|
|
cat > %{name}.pc <<EOF
|
|
|
|
prefix=%{_prefix}
|
|
|
|
exec_prefix=%{_prefix}
|
|
|
|
libdir=%{_libdir}
|
|
|
|
includedir=%{_includedir}/%{name}
|
|
|
|
|
|
|
|
Name: %{name}
|
|
|
|
Description: GeoTIFF file format library
|
|
|
|
Version: %{version}
|
|
|
|
Libs: -L\${libdir} -lgeotiff
|
|
|
|
Cflags: -I\${includedir}
|
|
|
|
EOF
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/pkgconfig/
|
|
|
|
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/
|
|
|
|
|
|
|
|
#clean up junks
|
2015-01-07 20:12:50 +00:00
|
|
|
rm -fv %{buildroot}%{_libdir}/lib*.la
|
2007-07-24 18:03:31 +00:00
|
|
|
echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
|
|
|
|
|
|
|
%clean
|
2012-05-09 23:08:28 +00:00
|
|
|
rm -rf %{buildroot}
|
2007-07-24 18:03:31 +00:00
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%doc ChangeLog LICENSE README
|
2014-07-12 14:18:09 +00:00
|
|
|
%{_bindir}/applygeo
|
2007-07-24 18:03:31 +00:00
|
|
|
%{_bindir}/geotifcp
|
|
|
|
%{_bindir}/listgeo
|
|
|
|
%{_bindir}/makegeo
|
2015-01-07 20:12:50 +00:00
|
|
|
%{_libdir}/%{name}.so.2*
|
2014-07-12 14:18:09 +00:00
|
|
|
%{_mandir}/man1/listgeo.1.gz
|
2007-07-24 18:03:31 +00:00
|
|
|
%dir %{_datadir}/epsg_csv
|
|
|
|
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%dir %{_includedir}/%{name}
|
|
|
|
%attr(0644,root,root) %{_includedir}/%{name}/*.h
|
|
|
|
%attr(0644,root,root) %{_includedir}/%{name}/*.inc
|
2012-05-09 23:08:28 +00:00
|
|
|
%{_libdir}/%{name}.so
|
2007-07-24 18:03:31 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
|
|
|
|
|
|
|
%changelog
|
2017-08-03 01:30:42 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 18:54:04 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-10 18:42:41 +00:00
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2017-01-24 08:12:57 +00:00
|
|
|
* Tue Jan 24 2017 Devrim Gündüz <devrim@gunduz.org> - 1.4.0-8
|
|
|
|
- Rebuild for Proj 4.9.3
|
|
|
|
|
2016-02-04 03:12:49 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-10-29 15:25:39 +00:00
|
|
|
* Thu Oct 29 2015 Volker Fröhlich <volker27@gmx.at> - 1.4.0-6
|
|
|
|
- Install the real makegeo binary, also solving BZ #1235027
|
|
|
|
- Re-enable multiple compiler workers
|
|
|
|
- Actually build with -O2
|
|
|
|
- Remove outdated prep-section changes
|
|
|
|
- Remove rpaths
|
|
|
|
|
2015-06-17 15:20:12 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-03-11 17:13:29 +00:00
|
|
|
* Wed Mar 11 2015 Devrim Gündüz <devrim@gunduz.org> - 1.4.0-4
|
|
|
|
- Rebuild for Proj 4.9.1
|
|
|
|
|
2015-01-07 20:12:50 +00:00
|
|
|
* Wed Jan 07 2015 Rex Dieter <rdieter@fedoraproject.org> - 1.4.0-3
|
|
|
|
- move patching to %%prep section
|
|
|
|
- explicitly track lib soname so bumps aren't a surprise
|
|
|
|
- exclude libgeotiff.la file from packaging
|
|
|
|
- %%configure --disable-static
|
|
|
|
|
2014-08-17 03:28:16 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-07-12 14:18:09 +00:00
|
|
|
* 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
|
|
|
|
|
2014-06-07 03:29:51 +00:00
|
|
|
* 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
|
|
|
|
|
2014-04-27 13:47:37 +00:00
|
|
|
* Sun Apr 27 2014 Volker Fröhlich <volker27@gmx.at> - 1.2.5-14
|
|
|
|
- Support aarch64 (BZ #925739)
|
|
|
|
|
2013-08-03 05:32:55 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 04:24:16 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-18 18:02:39 +00:00
|
|
|
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.2.5-11
|
|
|
|
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
|
|
2012-12-21 16:58:25 +00:00
|
|
|
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.2.5-10
|
|
|
|
- rebuild against new libjpeg
|
|
|
|
|
2012-07-19 19:51:56 +00:00
|
|
|
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-05-09 23:08:28 +00:00
|
|
|
* 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
|
|
|
|
|
2012-01-13 07:44:18 +00:00
|
|
|
* 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
|
|
|
|
|
2011-02-08 06:00:33 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2009-07-25 05:43:46 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-04-22 20:24:10 +00:00
|
|
|
* Wed Apr 22 2009 Milos Jakubicek <xjakub@fi.muni.cz> - 1.2.5-4
|
|
|
|
- Fix FTBFS: use gcc -shared instead of ld -shared to compile with -fstack-protector
|
|
|
|
|
2009-02-25 15:06:49 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-15 10:16:09 +00:00
|
|
|
* Mon Sep 15 2008 Balint Cristian <rezso@rdsor.ro> - 1.2.5-2
|
|
|
|
- disable smp build for koji
|
|
|
|
|
2008-09-15 10:00:00 +00:00
|
|
|
* Mon Sep 15 2008 Balint Cristian <rezso@rdsor.ro> - 1.2.5-1
|
|
|
|
- new bugfix release
|
|
|
|
|
2008-02-19 21:32:30 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.4-3
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-06 01:05:16 +00:00
|
|
|
* Sun Jan 06 2008 Balint Cristian <rezso@rdsor.ro> - 1.2.4-2
|
|
|
|
- Fix multilib issue by removal of datetime in doxygen footers
|
|
|
|
|
2008-01-06 00:09:09 +00:00
|
|
|
* Sun Jan 06 2008 Balint Cristian <rezso@rdsor.ro> - 1.2.4-1
|
|
|
|
- Rebuild for final release.
|
|
|
|
|
2007-08-29 18:38:54 +00:00
|
|
|
* Wed Aug 29 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.2.4-0.5.rc1
|
|
|
|
- Rebuild for selinux ppc32 issue.
|
|
|
|
|
2007-07-25 17:41:43 +00:00
|
|
|
* Wed Jul 25 2007 Jesse Keating <jkeating@redhat.com> - 1.2.4-0.4.rc1
|
|
|
|
- Rebuild for RH #249435
|
|
|
|
|
2007-07-24 18:03:31 +00:00
|
|
|
* Tue Jul 24 2007 Balint Cristian <cbalint@redhat.com> 1.2.4-0.3.rc1
|
|
|
|
- codes are under MIT
|
|
|
|
- pkg-config cflags return fix
|
|
|
|
- epsg_csv ownership
|
|
|
|
|
|
|
|
* Mon Jul 23 2007 Balint Cristian <cbalint@redhat.com> 1.2.4-0.2.rc1
|
|
|
|
- fix debuginfo usability
|
|
|
|
- move header files to the subdirectory
|
|
|
|
- specify the full URL of the source
|
|
|
|
- leave *.inc headers included
|
|
|
|
- libgeotiff-devel should require libtiff-devel
|
|
|
|
- works to keep timestamps on the header files installed
|
|
|
|
- docs proper triage
|
|
|
|
|
|
|
|
* Mon Jul 23 2007 Balint Cristian <cbalint@redhat.com> 1.2.4-0.1.rc1
|
|
|
|
- initial pack for fedora
|
|
|
|
- add pkgconfig file
|
|
|
|
- add soname versioning patch
|