|
|
@ -3,7 +3,6 @@ Summary: API in "C" for Shapefile handling
|
|
|
|
Name: shapelib
|
|
|
|
Name: shapelib
|
|
|
|
Version: 1.2.10
|
|
|
|
Version: 1.2.10
|
|
|
|
Release: 6
|
|
|
|
Release: 6
|
|
|
|
Epoch: 0
|
|
|
|
|
|
|
|
URL: http://shapelib.maptools.org/
|
|
|
|
URL: http://shapelib.maptools.org/
|
|
|
|
Source: http://shapelib.maptools.org/dl/shapelib-%{version}.tar.gz
|
|
|
|
Source: http://shapelib.maptools.org/dl/shapelib-%{version}.tar.gz
|
|
|
|
Patch0: shapelib-%{version}.patch
|
|
|
|
Patch0: shapelib-%{version}.patch
|
|
|
@ -15,9 +14,9 @@ BuildRequires: proj-devel >= 0:4.4.1
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for shapelib
|
|
|
|
Summary: Development files for shapelib
|
|
|
|
Group: Development/Libraries
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{epoch}:%{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
|
The Shapefile C Library provides the ability to write
|
|
|
|
The Shapefile C Library provides the ability to write
|
|
|
@ -30,7 +29,7 @@ This package contains libshp and the appropriate header files.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -T -b 0
|
|
|
|
%setup -q -T -b 0
|
|
|
|
%patch -p1 -b .buildroot
|
|
|
|
%patch -p1 -b .buildroot
|
|
|
|
%patch1 -p1 -b .endian
|
|
|
|
%patch1 -p1 -b .endian
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -60,8 +59,8 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
|
|
%doc LICENSE.LGPL README README.tree dbf_api.html shapelib.html shp_api.html
|
|
|
|
%doc LICENSE.LGPL README README.tree dbf_api.html shapelib.html shp_api.html
|
|
|
|
%doc contrib/doc/shpproj.txt stream1.sh stream1.out stream2.sh
|
|
|
|
%doc contrib/doc/shpproj.txt stream1.sh stream1.out stream2.sh
|
|
|
|
%doc stream2.out makeshape.sh stream3.out ChangeLog
|
|
|
|
%doc stream2.out makeshape.sh stream3.out ChangeLog
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
@ -92,7 +91,7 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
- Removed proj requirement as it is automatically detected.
|
|
|
|
- Removed proj requirement as it is automatically detected.
|
|
|
|
- Added epoch to proj-devel requirement
|
|
|
|
- Added epoch to proj-devel requirement
|
|
|
|
- Fixed %post and %postun
|
|
|
|
- Fixed %post and %postun
|
|
|
|
- Changed group to Development/Libraries, although this appears to be only
|
|
|
|
- Changed group to Development/Libraries, although this appears to be only
|
|
|
|
somewhat satisfactory.
|
|
|
|
somewhat satisfactory.
|
|
|
|
- Removed "which make"
|
|
|
|
- Removed "which make"
|
|
|
|
|
|
|
|
|
|
|
|