rpms/libgeotiff/EL-4 libgeotiff-soname.patch, NONE, 1.1 libgeotiff.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Balint Cristian (cbalint) fedora-extras-commits at redhat.com
Tue Jul 24 18:40:13 UTC 2007

Author: cbalint

Update of /cvs/extras/rpms/libgeotiff/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4099/EL-4

Modified Files:
	.cvsignore sources 
Added Files:
	libgeotiff-soname.patch libgeotiff.spec 
Log Message:
initial import.


--- NEW FILE libgeotiff-soname.patch ---
--- libgeotiff-1.2.4/Makefile.in.orig	2007-02-04 18:57:47.000000000 +0100
+++ libgeotiff-1.2.4/Makefile.in	2007-07-23 18:47:45.000000000 +0200
@@ -101,6 +101,7 @@
+	${CC} -shared ${OBJS} ${LIBS} -o $(GEOTIFF_SO) -Wl,-soname=libgeotiff.so.$(VERSION_MAJOR).$(VERSION_MINOR)
 	rm -f libgeotiff.$(SO_EXT)
 	${LN} $(GEOTIFF_SO) libgeotiff.$(SO_EXT)

--- NEW FILE libgeotiff.spec ---
Name:      libgeotiff
Version:   1.2.4
Release:   0.3.rc1%{?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}RC1.tar.gz
Patch0:    libgeotiff-soname.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: doxygen
BuildRequires: libtiff-devel libjpeg-devel proj-devel zlib-devel

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 
raster imagery.

%package devel
Summary: Development Libraries for the GeoTIFF file format library
Group: Development/Libraries
Requires: pkgconfig libtiff-devel
Requires: %{name} = %{version}-%{release}

%description devel
The GeoTIFF library provides support for development of geotiff image format.

%setup -q -n %{name}-%{version}
%patch0 -p1 -b .soname~

# 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
   if file $f | grep -q CRLF ; then
      set -x
      sed -i -e 's|\r||g' $f
      set +x
set -x

# remove junks
find . -name ".cvsignore" -exec rm -rf '{}' \;


# disable -g flag removal
sed -i 's| \| sed \"s\/-g \/\/\"||g' configure

%configure \
        --prefix=%{_prefix} \
        --includedir=%{_includedir}/%{name}/ \
        --with-proj               \
        --with-tiff               \
        --with-jpeg               \

make %{?_smp_mflags}

# install libgeotiff
make install DESTDIR=%{buildroot} INSTALL="%{__install} -p"

# install manualy some file
install -p -m 755 bin/makegeo %{buildroot}%{_bindir}

# install pkgconfig file
cat > %{name}.pc <<EOF

Name: %{name}
Description: GeoTIFF file format library
Version: %{version}
Libs: -L\${libdir} -lgeotiff
Cflags: -I\${includedir}

mkdir -p %{buildroot}%{_libdir}/pkgconfig/
install -p -m 644 %{name}.pc %{buildroot}%{_libdir}/pkgconfig/

#clean up junks
rm -rf %{buildroot}%{_libdir}/*.a
echo  >> %{buildroot}%{_datadir}/epsg_csv/codes.csv

# generate docs


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%doc docs/*.txt docs/*.html
%dir %{_datadir}/epsg_csv
%attr(0644,root,root) %{_datadir}/epsg_csv/*.csv

%files devel
%doc docs/api
%dir %{_includedir}/%{name}
%attr(0644,root,root) %{_includedir}/%{name}/*.h
%attr(0644,root,root) %{_includedir}/%{name}/*.inc

* Tue Jul 24 2007 Balint Cristian <cbalint at 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 at 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 at redhat.com> 1.2.4-0.1.rc1
- initial pack for fedora
- add pkgconfig file
- add soname versioning patch

Index: .cvsignore
RCS file: /cvs/extras/rpms/libgeotiff/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	24 Jul 2007 17:29:51 -0000	1.1
+++ .cvsignore	24 Jul 2007 18:39:40 -0000	1.2
@@ -0,0 +1 @@

Index: sources
RCS file: /cvs/extras/rpms/libgeotiff/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	24 Jul 2007 17:29:51 -0000	1.1
+++ sources	24 Jul 2007 18:39:40 -0000	1.2
@@ -0,0 +1 @@
+2d7258756d8c914787d0bd76062e9971  libgeotiff-1.2.4RC1.tar.gz

More information about the scm-commits mailing list