Compare commits

...

4 Commits
rawhide ... el6

Author SHA1 Message Date
Orion Poplawski
0af8a94456 Spec cleanup for un-retirement 2014-10-31 13:28:52 -06:00
Fedora Release Engineering
f4750678a8 dist-git conversion 2010-07-28 21:00:47 +00:00
Dennis Gilmore
f6f6247324 Initialize branch EL-6 for libgeotiff 2010-05-08 01:56:30 +00:00
Bill Nottingham
3caa55a87a Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:47:53 +00:00
4 changed files with 8 additions and 35 deletions

View File

View File

@ -1,21 +0,0 @@
# Makefile for source rpm: libgeotiff
# $Id$
NAME := libgeotiff
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View File

@ -1,2 +0,0 @@
libgeotiff-1_2_5-1_fc10:HEAD:libgeotiff-1.2.5-1.fc10.src.rpm:1221472762
libgeotiff-1_2_5-2_fc10:HEAD:libgeotiff-1.2.5-2.fc10.src.rpm:1221473735

View File

@ -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