Add a new subpackage: -docs, and add postgis pdf file to it. Own
/usr/share/postgis, per bugzilla #474686
This commit is contained in:
parent
bc5f9b1c8c
commit
8efcdc59cd
20
postgis.spec
20
postgis.spec
|
@ -5,10 +5,11 @@
|
||||||
Summary: Geographic Information Systems Extensions to PostgreSQL
|
Summary: Geographic Information Systems Extensions to PostgreSQL
|
||||||
Name: postgis
|
Name: postgis
|
||||||
Version: 1.3.6
|
Version: 1.3.6
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Source0: http://postgis.refractions.net/download/%{name}-%{version}.tar.gz
|
Source0: http://postgis.refractions.net/download/%{name}-%{version}.tar.gz
|
||||||
|
Source2: http://www.postgis.org/download/%{name}-%{version}.pdf
|
||||||
Source4: filter-requires-perl-Pg.sh
|
Source4: filter-requires-perl-Pg.sh
|
||||||
URL: http://postgis.refractions.net/
|
URL: http://postgis.refractions.net/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
@ -25,6 +26,12 @@ systems (GIS), much like ESRI's SDE or Oracle's Spatial extension. PostGIS
|
||||||
follows the OpenGIS "Simple Features Specification for SQL" and has been
|
follows the OpenGIS "Simple Features Specification for SQL" and has been
|
||||||
certified as compliant with the "Types and Functions" profile.
|
certified as compliant with the "Types and Functions" profile.
|
||||||
|
|
||||||
|
%package docs
|
||||||
|
Summary: Extra documentation for PostGIS
|
||||||
|
Group: Applications/Databases
|
||||||
|
%description docs
|
||||||
|
The postgis-docs package includes PDF documentation of PostGIS.
|
||||||
|
|
||||||
%if %javabuild
|
%if %javabuild
|
||||||
%package jdbc
|
%package jdbc
|
||||||
Summary: The JDBC driver for PostGIS
|
Summary: The JDBC driver for PostGIS
|
||||||
|
@ -58,6 +65,8 @@ The postgis-utils package provides the utilities for PostGIS.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
# Copy .pdf file to top directory before installing.
|
||||||
|
cp -p %{SOURCE2} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
|
@ -141,6 +150,7 @@ rm -rf %{buildroot}
|
||||||
%files utils
|
%files utils
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc utils/README
|
%doc utils/README
|
||||||
|
%dir %{_datadir}/%{name}/
|
||||||
%attr(755,root,root) %{_datadir}/%{name}/test_estimation.pl
|
%attr(755,root,root) %{_datadir}/%{name}/test_estimation.pl
|
||||||
%attr(755,root,root) %{_datadir}/%{name}/profile_intersects.pl
|
%attr(755,root,root) %{_datadir}/%{name}/profile_intersects.pl
|
||||||
%attr(755,root,root) %{_datadir}/%{name}/test_joinestimation.pl
|
%attr(755,root,root) %{_datadir}/%{name}/test_joinestimation.pl
|
||||||
|
@ -149,7 +159,15 @@ rm -rf %{buildroot}
|
||||||
%attr(644,root,root) %{_datadir}/%{name}/%{name}_restore.pl
|
%attr(644,root,root) %{_datadir}/%{name}/%{name}_restore.pl
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%files docs
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc postgis*.pdf
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 18 2009 Devrim GUNDUZ <devrim@commandprompt.com> - 1.3.6-2
|
||||||
|
- Add a new subpackage: -docs, and add postgis pdf file to it.
|
||||||
|
- Own /usr/share/postgis, per bugzilla #474686
|
||||||
|
|
||||||
* Fri May 8 2009 Devrim GUNDUZ <devrim@commandprompt.com> - 1.3.6-1
|
* Fri May 8 2009 Devrim GUNDUZ <devrim@commandprompt.com> - 1.3.6-1
|
||||||
- Update to 1.3.6
|
- Update to 1.3.6
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue