Group :: Desenvolvimento/C
RPM: libshape
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define _unpackaged_files_terminate_build 1
%define oname shapelib
Name: libshape
Version: 1.4.1
Release: alt1%ubt
Summary: API in "C" for Shapefile handling
Group: Development/C
# No version of the LGPL is given.
License: LGPLv2+ or MIT
Url: http://shapelib.maptools.org/
Source: http://download.osgeo.org/shapelib/%oname-%version.tar
BuildRequires(pre): rpm-build-ubt
BuildRequires: gcc-c++ libproj-devel
%package devel
Summary: Development files for shapelib
Group: Development/Other
Requires: %name = %EVR
%description
The Shapefile C Library provides the ability to write
simple C programs for reading, writing and updating (to a
limited extent) ESRI Shapefiles, and the associated
attribute file (.dbf).
%description devel
This package contains libshp and the appropriate header files.
%prep
%setup -n %oname-%version
%build
%autoreconf
%configure --disable-static
%make_build
%install
%makeinstall_std
%files
%doc COPYING README README.tree ChangeLog web/*.html
%doc contrib/doc/
%_bindir/*
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui
%define oname shapelib
Name: libshape
Version: 1.4.1
Release: alt1%ubt
Summary: API in "C" for Shapefile handling
Group: Development/C
# No version of the LGPL is given.
License: LGPLv2+ or MIT
Url: http://shapelib.maptools.org/
Source: http://download.osgeo.org/shapelib/%oname-%version.tar
BuildRequires(pre): rpm-build-ubt
BuildRequires: gcc-c++ libproj-devel
%package devel
Summary: Development files for shapelib
Group: Development/Other
Requires: %name = %EVR
%description
The Shapefile C Library provides the ability to write
simple C programs for reading, writing and updating (to a
limited extent) ESRI Shapefiles, and the associated
attribute file (.dbf).
%description devel
This package contains libshp and the appropriate header files.
%prep
%setup -n %oname-%version
%build
%autoreconf
%configure --disable-static
%make_build
%install
%makeinstall_std
%files
%doc COPYING README README.tree ChangeLog web/*.html
%doc contrib/doc/
%_bindir/*
%_libdir/*.so.*
%files devel
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui