Spec cleanup for un-retirement
This commit is contained in:
parent
f4750678a8
commit
0af8a94456
@ -1,14 +1,13 @@
|
||||
Name: libgeotiff
|
||||
Version: 1.2.5
|
||||
Release: 5%{?dist}
|
||||
Release: 6%{?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/libgeotiff/%{name}-%{version}.tar.gz
|
||||
URL: http://trac.osgeo.org/geotiff/
|
||||
Source: http://download.osgeo.org/geotiff/libgeotiff/libgeotiff-%{version}.tar.gz
|
||||
Patch0: libgeotiff-soname.patch
|
||||
Patch1: libgeotiff-multilib.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: doxygen
|
||||
BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel
|
||||
|
||||
@ -28,7 +27,7 @@ Requires: %{name} = %{version}-%{release}
|
||||
The GeoTIFF library provides support for development of geotiff image format.
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}
|
||||
%setup -q
|
||||
%patch0 -p1 -b .soname~
|
||||
%patch1 -p1 -b .multilib~
|
||||
|
||||
@ -74,8 +73,6 @@ sed -i 's|LD_SHARED=@LD_SHARED@|LD_SHARED=@CC@ -shared|' Makefile.in
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
# install libgeotiff
|
||||
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"
|
||||
|
||||
@ -106,14 +103,10 @@ echo >> %{buildroot}%{_datadir}/epsg_csv/codes.csv
|
||||
# generate docs
|
||||
doxygen
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc ChangeLog LICENSE README
|
||||
%doc docs/*.txt docs/*.html
|
||||
%{_bindir}/geotifcp
|
||||
@ -124,7 +117,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc docs/api
|
||||
%dir %{_includedir}/%{name}
|
||||
%attr(0644,root,root) %{_includedir}/%{name}/*.h
|
||||
@ -133,6 +125,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/%{name}.pc
|
||||
|
||||
%changelog
|
||||
* Thu Oct 30 2014 Orion Poplawski <orion@cora.nwra.com> - 1.2.5-6
|
||||
- Update URL and Source
|
||||
- Drop buildroot, clean, and defattr
|
||||
|
||||
* 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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user