97 lines
2.3 KiB
RPMSpec
97 lines
2.3 KiB
RPMSpec
Name: libgeotiff
|
|
Version: 1.7.3
|
|
Release: 1mamba
|
|
Summary: A TIFF based interchange format for georeferenced raster imagery
|
|
Group: System/Libraries
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/OSGeo/libgeotiff
|
|
Source: https://github.com/OSGeo/libgeotiff.git/%{version}/libgeotiff-%{version}.tar.bz2
|
|
License: MIT
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libjpeg-devel
|
|
BuildRequires: libproj-devel
|
|
BuildRequires: libtiff-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
A TIFF based interchange format for georeferenced raster imagery.
|
|
|
|
%package devel
|
|
Group: Development/Libraries
|
|
Summary: Development files for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description devel
|
|
This package contains libraries and header files for developing applications that use %{name}.
|
|
|
|
%package tools
|
|
Group: Applications/Graphics
|
|
Summary: Utility applications for %{name}
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
%description tools
|
|
This package contains utility applications for %{name}.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
cd libgeotiff
|
|
./autogen.sh
|
|
|
|
%build
|
|
cd libgeotiff
|
|
%configure \
|
|
--with-jpeg=yes \
|
|
--with-zlib=yes
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
cd libgeotiff
|
|
%makeinstall
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%post -p /sbin/ldconfig
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libgeotiff.so.*
|
|
%doc libgeotiff/LICENSE
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/cpl_serv.h
|
|
%{_includedir}/epsg_*.inc
|
|
%{_includedir}/geo*.inc
|
|
%{_includedir}/geo*.h
|
|
%{_includedir}/xtiffio.h
|
|
%{_libdir}/libgeotiff.a
|
|
%{_libdir}/libgeotiff.so
|
|
%{_libdir}/pkgconfig/libgeotiff.pc
|
|
%doc README.md
|
|
|
|
%files tools
|
|
%defattr(-,root,root)
|
|
%{_bindir}/applygeo
|
|
%{_bindir}/geotifcp
|
|
%{_bindir}/listgeo
|
|
%{_mandir}/man1/applygeo.1*
|
|
%{_mandir}/man1/geotifcp.1*
|
|
%{_mandir}/man1/listgeo.1*
|
|
|
|
%changelog
|
|
* Thu Jun 06 2024 Automatic Build System <autodist@openmamba.org> 1.7.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Mon May 06 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.1-1mamba
|
|
- package created using the webbuild interface
|