rpms/postgis/devel postgis.spec,1.20,1.21

Devrim GÜNDÜZ devrim at fedoraproject.org
Thu Jun 18 19:44:33 UTC 2009


Author: devrim

Update of /cvs/extras/rpms/postgis/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19015

Modified Files:
	postgis.spec 
Log Message:
Add a new subpackage: -docs, and add postgis pdf file to it.
Own /usr/share/postgis, per bugzilla #474686




Index: postgis.spec
===================================================================
RCS file: /cvs/extras/rpms/postgis/devel/postgis.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -p -r1.20 -r1.21
--- postgis.spec	7 May 2009 21:34:30 -0000	1.20
+++ postgis.spec	18 Jun 2009 19:44:03 -0000	1.21
@@ -5,10 +5,11 @@
 Summary:	Geographic Information Systems Extensions to PostgreSQL
 Name:		postgis
 Version:	1.3.6
-Release:	1%{?dist}
+Release:	2%{?dist}
 License:	GPLv2+
 Group:		Applications/Databases
 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
 URL:		http://postgis.refractions.net/
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -25,6 +26,12 @@ systems (GIS), much like ESRI's SDE or O
 follows the OpenGIS "Simple Features Specification for SQL" and has been 
 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
 %package jdbc
 Summary:	The JDBC driver for PostGIS
@@ -58,6 +65,8 @@ The postgis-utils package provides the u
 
 %prep
 %setup -q
+# Copy .pdf file to top directory before installing.
+cp -p %{SOURCE2} .
 
 %build
 %configure 
@@ -141,6 +150,7 @@ rm -rf %{buildroot}
 %files utils
 %defattr(-,root,root)
 %doc utils/README
+%dir %{_datadir}/%{name}/
 %attr(755,root,root) %{_datadir}/%{name}/test_estimation.pl
 %attr(755,root,root) %{_datadir}/%{name}/profile_intersects.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
 %endif
 
+%files docs
+%defattr(-,root,root)
+%doc postgis*.pdf
+
 %changelog
+* Thu Jun 18 2009 Devrim GUNDUZ <devrim at 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 at commandprompt.com> - 1.3.6-1
 - Update to 1.3.6
 




More information about the fedora-extras-commits mailing list