Accepting request 283865 from Application:Geo
Move package OBS-URL: https://build.opensuse.org/request/show/283865 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/geotiff?expand=0&rev=1
This commit is contained in:
commit
a84ee0f1e3
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
90
geotiff.changes
Normal file
90
geotiff.changes
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 31 17:38:30 UTC 2015 - mpluskal@suse.com
|
||||||
|
|
||||||
|
- Cleanup spec file using spec-cleaner
|
||||||
|
- Remove commented out patch
|
||||||
|
- Add build dependency on graphviz to enable images in
|
||||||
|
documentation
|
||||||
|
- Add build dependency on pkg-config to enable dependency generation
|
||||||
|
of .pc file
|
||||||
|
- Update to 1.4.1
|
||||||
|
* CMake: Fix up SONAME and VERSION to better
|
||||||
|
match configure.ac
|
||||||
|
* csv/datum_shift_pref.csv: revert change in preferred datum shift
|
||||||
|
for Pulkovo 1942(58) related to ticket #1851 - not appropriate.
|
||||||
|
* Preparing 1.4.1 release.
|
||||||
|
* csv/datum_shift_pref.csv: Update Pulkova 1942(58) to use a
|
||||||
|
particular transformation (#52).
|
||||||
|
* bin/geotifcp.c: added B, L, C and M flags from tiffcp (#68)"
|
||||||
|
* geo_print.c: clarify that the buffer passed to read methods is only
|
||||||
|
guaranteed to be 1024 bytes long (#62).
|
||||||
|
* CMake: Support for INCODE build. If you need INCODE support,
|
||||||
|
with the definitions compiled into headers, use CMake as your
|
||||||
|
configuration/build platform.
|
||||||
|
* csv: Override three Brazilian datum shifts on behalf of Daniel
|
||||||
|
Miranda and the OSGeo Brazilian Chapter.
|
||||||
|
* csv: Upgrade to EPSG 8.5
|
||||||
|
* INCODE: Adapt Ben Adler's patch in #66 to add INCODE support to the
|
||||||
|
CMake configuration
|
||||||
|
* geo_normalize.c: #59, better Mercator_2SP support
|
||||||
|
* geotifcp: Do not segfault when a TIFF file has WhitePoint set #65
|
||||||
|
* geo_names.c: fix #67 -- add VerticalUnitsGeoKey
|
||||||
|
* add_esri_column.py: manually replace D_SIRGAS-Chile by D_Peru96 for GCS_Peru96. Likely an error in the FileGDB SDK db (#63)
|
||||||
|
* csv: Upgrade to EPSG 8.4
|
||||||
|
* tiffcp: Add bigtiff output support with the -8 flag like tiffcp. Contributed by
|
||||||
|
Mohannad Al-Durgham (nwgeo.com).
|
||||||
|
* csv: Upgrade to EPSG 8.2
|
||||||
|
* csv/datum_shift_pref.csv: Force OSGB 1936 preferred datum shift.
|
||||||
|
(http://trac.osgeo.org/gdal/ticket/4597)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 15 21:29:10 UTC 2012 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||||
|
|
||||||
|
- Fix in pkgconfig file
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 26 14:02:02 UTC 2012 - Angelos Tzotsos <tzotsos@opensuse.org>
|
||||||
|
|
||||||
|
- Updated to 1.4.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 22 10:29:24 UTC 2012 - Michael Behrisch <behrisch@users.sf.net>
|
||||||
|
|
||||||
|
- added gcc build dependency
|
||||||
|
- removed unneeded data dir fix for non-Suse
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 11 11:23:00 UTC 2011 - Rene van Paassen<rene.vanpaassen@gmail.com>
|
||||||
|
|
||||||
|
- removed now superfluous "%exclude %{_libdir}/debug" for i586
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Apr 9 14:49:32 CEST 2011 - Hans-Peter Jansen <hpj@urpla.net>
|
||||||
|
|
||||||
|
- fix 64 bit issues, enable debug
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jul 8 12:00:00 UTC 2010 - Dirk Stöcker <opensuse@dstoecker.de> 1.3.0
|
||||||
|
|
||||||
|
- Updated to 1.3.0
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 26 12:00:00 UTC 2009 - Dirk Stöcker <opensuse@dstoecker.de> 1.2.5
|
||||||
|
|
||||||
|
- Updated to 1.2.5
|
||||||
|
- Using parts of spec file from PackMan for improved quality
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 9 12:00:00 UTC 2008 - Dirk Stöcker <opensuse@dstoecker.de> 1.2.4
|
||||||
|
|
||||||
|
- SPEC file created for openSUSE build service
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jul 14 10:48:52 UTC 2007 - judas_iscariote@shorewall.net
|
||||||
|
|
||||||
|
- spec file cleanup
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 19 12:00:00 UTC 2006 - Tim Fischer
|
||||||
|
|
||||||
|
- SPEC file created for SUSE 10.1
|
164
geotiff.spec
Normal file
164
geotiff.spec
Normal file
@ -0,0 +1,164 @@
|
|||||||
|
#
|
||||||
|
# spec file for package geotiff
|
||||||
|
#
|
||||||
|
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: geotiff
|
||||||
|
Version: 1.4.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Library to handle georeferenced TIFF
|
||||||
|
License: MIT and SUSE-Public-Domain
|
||||||
|
Group: Applications/GIS
|
||||||
|
Url: http://trac.osgeo.org/geotiff
|
||||||
|
Source0: ftp://ftp.remotesensing.org/pub/%{name}/lib%{name}/lib%{name}-%{version}.tar.gz
|
||||||
|
BuildRequires: doxygen
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libproj-devel
|
||||||
|
BuildRequires: libtiff-devel
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: pkg-config
|
||||||
|
BuildRequires: graphviz
|
||||||
|
%endif
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%description
|
||||||
|
This library is designed to permit the extraction and parsing of the
|
||||||
|
"GeoTIFF" Key directories, as well as definition and installation of
|
||||||
|
GeoTIFF keys in new files.
|
||||||
|
|
||||||
|
%package -n lib%{name}-devel
|
||||||
|
Summary: GeoTIFF header files
|
||||||
|
Group: Development/Libraries
|
||||||
|
Requires: lib%{name}2 = %{version}
|
||||||
|
Requires: libproj-devel
|
||||||
|
Requires: libtiff-devel
|
||||||
|
|
||||||
|
%description -n lib%{name}-devel
|
||||||
|
Header files for GeoTIFF library.
|
||||||
|
|
||||||
|
This library is designed to permit the extraction and parsing of the
|
||||||
|
"GeoTIFF" Key directories, as well as definition and installation of
|
||||||
|
GeoTIFF keys in new files.
|
||||||
|
|
||||||
|
%package -n lib%{name}2
|
||||||
|
Summary: Shared libraries for GeoTIFF library
|
||||||
|
Group: System/Libraries
|
||||||
|
Provides: lib%{name}
|
||||||
|
|
||||||
|
%description -n lib%{name}2
|
||||||
|
Shared libraries for GeoTIFF library.
|
||||||
|
|
||||||
|
This library is designed to permit the extraction and parsing of the
|
||||||
|
"GeoTIFF" Key directories, as well as definition and installation of
|
||||||
|
GeoTIFF keys in new files.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n lib%{name}-%{version}
|
||||||
|
for f in `find . -type f` ; do
|
||||||
|
if file $f | grep -q ISO-8859 ; then
|
||||||
|
echo "Fix encoding for $f"
|
||||||
|
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
|
||||||
|
echo "Fix line ends for $f"
|
||||||
|
set -x
|
||||||
|
sed -i -e 's|\r||g' $f
|
||||||
|
set +x
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
%build
|
||||||
|
export CFLAGS="%{optflags} $CFLAGS -g -fstack-protector -fno-strict-aliasing -D _BSD_SOURCE"
|
||||||
|
export CXXFLAGS="%{optflags} $CXXFLAGS -g -fstack-protector -fno-strict-aliasing"
|
||||||
|
|
||||||
|
%configure \
|
||||||
|
--prefix=%{_prefix} \
|
||||||
|
--includedir=%{_includedir}/lib%{name} \
|
||||||
|
--with-proj \
|
||||||
|
--with-jpeg \
|
||||||
|
--with-zip \
|
||||||
|
--with-pic \
|
||||||
|
--enable-debug=yes
|
||||||
|
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
make DESTDIR=%{buildroot} install %{?_smp_mflags} INSTALL="install -p"
|
||||||
|
%else
|
||||||
|
%makeinstall INSTALL="%{__install} -p" \
|
||||||
|
includedir=%{buildroot}/%{_includedir}/lib%{name}
|
||||||
|
%endif
|
||||||
|
|
||||||
|
# install pkgconfig file
|
||||||
|
cat > libgeotiff.pc <<EOF
|
||||||
|
prefix=%{_prefix}
|
||||||
|
exec_prefix=%{_prefix}
|
||||||
|
libdir=%{_libdir}
|
||||||
|
includedir=%{_includedir}/lib%{name}
|
||||||
|
|
||||||
|
Name: %{libname}
|
||||||
|
Description: GeoTIFF file format library
|
||||||
|
Version: %{version}
|
||||||
|
Libs: -L%{_libdir} -llib%{name}
|
||||||
|
Cflags: -I%{_includedir}/lib%{name}
|
||||||
|
EOF
|
||||||
|
|
||||||
|
install -dm 755 %{buildroot}%{_libdir}/pkgconfig
|
||||||
|
install -p -m 644 lib%{name}.pc %{buildroot}%{_libdir}/pkgconfig
|
||||||
|
|
||||||
|
echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
||||||
|
|
||||||
|
%post -n lib%{name}2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n lib%{name}2 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ChangeLog LICENSE README COPYING
|
||||||
|
%{_bindir}/geotifcp
|
||||||
|
%{_bindir}/listgeo
|
||||||
|
%{_bindir}/applygeo
|
||||||
|
%{_bindir}/makegeo
|
||||||
|
%{_mandir}/man1/listgeo.1.*
|
||||||
|
%dir %{_datadir}/epsg_csv
|
||||||
|
%attr(0755,root,root) %{_datadir}/epsg_csv/csv2c.py*
|
||||||
|
%attr(0755,root,root) %{_datadir}/epsg_csv/csv_tools.py*
|
||||||
|
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
||||||
|
|
||||||
|
%files -n lib%{name}2
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ChangeLog LICENSE README COPYING
|
||||||
|
%{_libdir}/lib%{name}.so.*
|
||||||
|
|
||||||
|
%files -n lib%{name}-devel
|
||||||
|
%defattr(0644,root,root,0755)
|
||||||
|
%doc ChangeLog LICENSE README COPYING
|
||||||
|
%dir %{_includedir}/lib%{name}
|
||||||
|
%{_includedir}/lib%{name}/*.h
|
||||||
|
%{_includedir}/lib%{name}/*.inc
|
||||||
|
%{_libdir}/lib%{name}.a
|
||||||
|
%{_libdir}/lib%{name}.la
|
||||||
|
%{_libdir}/lib%{name}.so
|
||||||
|
%{_libdir}/pkgconfig/lib%{name}.pc
|
||||||
|
|
||||||
|
%changelog
|
3
libgeotiff-1.4.1.tar.gz
Normal file
3
libgeotiff-1.4.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:acfc76ee19b3d41bb9c7e8b780ca55d413893a96c09f3b27bdb9b2573b41fd23
|
||||||
|
size 1674928
|
Loading…
x
Reference in New Issue
Block a user