SPECS: pgRouting.spec (NEW) - rel. 1, this way PLD becomes the first distri...

djurban djurban at pld-linux.org
Wed Jan 14 01:19:19 CET 2009


Author: djurban                      Date: Wed Jan 14 00:19:19 2009 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel. 1, this way PLD becomes the first distribution to support routing in
  postgis on the market. opensuse kiss my ding dong.

---- Files affected:
SPECS:
   pgRouting.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pgRouting.spec
diff -u /dev/null SPECS/pgRouting.spec:1.1
--- /dev/null	Wed Jan 14 01:19:19 2009
+++ SPECS/pgRouting.spec	Wed Jan 14 01:19:13 2009
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+#
+# TODO:
+#  * %{_datadir}/postlbs will probably be shared between 
+#    many elements of the postgres LBS system
+#  * polish letters in pl description
+
+%define		_name	pgrouting
+Summary:	Routing functionality for postgreSQL GIS system
+Summary(pl.UTF-8):      Obsluga ruchu dla systemu GIS postgreSQL
+Name:		pgRouting
+Version:	1.03
+Release:	1
+License:	GPL v2
+Group:		Applications
+Source0:	http://files.postlbs.org/pgrouting/source/%{name}-%{version}.tgz
+URL:		http://pgrouting.postlbs.org/
+BuildRequires:	boost-devel >= 1.33
+BuildRequires:	CGAL-devel >= 3.2
+BuildRequires:	gaul-devel
+Requires:	postgis >= 1.0
+Requires:	postgresql >= 8.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Routing functionality for postgreSQL GIS system, includes TSP and DD algorithms.
+
+%description -l pl.UTF-8
+Obsluga ruchu dla systemu GIS postgreSQL. Wkompilowano algorytmy dla problemow 
+komiwojazera i obliczania dlugosci przejazdu drogami (Driving Distance).
+
+%prep
+
+%setup -q -n %{_name}
+
+%build
+install -d build
+cd build
+%cmake .. \
+	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
+	-DWITH_TSP=ON \
+	-DWITH_DD=ON \
+%if "%{_lib}" == "lib64"
+	-DLIB_SUFFIX=64
+%endif
+
+%{__make}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+
+%files
+%defattr(644,root,root,755)
+%doc README.routing
+%attr(755,root,root) %{_libdir}/postgresql/*.so
+%{_datadir}/postlbs
+
+
+
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/01/14 00:19:13  djurban
+- rel. 1, this way PLD becomes the first distribution to support routing in
+  postgis on the market. opensuse kiss my ding dong.
+
+
================================================================


More information about the pld-cvs-commit mailing list