SPECS: mh-tools.spec (NEW), spatialindex.spec (NEW) - created from...

wrobell wrobell at pld-linux.org
Sun Jul 8 14:27:26 CEST 2007


Author: wrobell                      Date: Sun Jul  8 12:27:26 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- created from template

---- Files affected:
SPECS:
   mh-tools.spec (NONE -> 1.1)  (NEW), spatialindex.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/mh-tools.spec
diff -u /dev/null SPECS/mh-tools.spec:1.1
--- /dev/null	Sun Jul  8 14:27:26 2007
+++ SPECS/mh-tools.spec	Sun Jul  8 14:27:21 2007
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+Summary:	Marios Hadjieleftheriou's tools library
+Name:		mh-tools
+Version:	0.54b
+Release:	1
+License:	GPL
+Group:		Libraries
+Source0:	http://research.att.com/~marioh/tools/tools.054b.tar.bz2
+# Source0-md5:	c5844269eca9232f7833801e9d61f8cb
+URL:		http://research.att.com/~marioh/tools/index.html
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a useful collection of utility classes for C++. Contains random
+number generators (mersenne), hash functions (universal hashing and SHA1),
+an RLE compressor, architecture detection functions, string tokenizers, and
+other useful stuff.
+
+%package devel
+Summary:	Header files for Marios Hadjieleftheriou's tools library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for Marios Hadjieleftheriou's tools library.
+
+%package static
+Summary:	Static version of Marios Hadjieleftheriou's tools library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static version of Marios Hadjieleftheriou's tools library.
+
+%prep
+%setup -q -n tools
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} 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 AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/tools
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%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  2007/07/08 12:27:21  wrobell
+- created from template
+

================================================================
Index: SPECS/spatialindex.spec
diff -u /dev/null SPECS/spatialindex.spec:1.1
--- /dev/null	Sun Jul  8 14:27:26 2007
+++ SPECS/spatialindex.spec	Sun Jul  8 14:27:21 2007
@@ -0,0 +1,82 @@
+# $Revision$, $Date$
+Summary:	Spatial Index Library
+Name:		spatialindex
+Version:	1.1.1
+Release:	1
+License:	GPL
+Group:		Libraries
+Source0:	http://research.att.com/~marioh/spatialindex/%{name}.111.tar.bz2
+# Source0-md5:	34e30c8be7d83ac1a7024cc181e54c7d
+URL:		http://research.att.com/~marioh/spatialindex/index.html
+Patch0:		%{name}-mvtree.patch
+BuildRequires:	mh-tools-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides a general framework for developing spatial indices.
+Currently it defines generic interfaces, provides simple main memory and
+disk based storage managers and a robust implementation of an R*-tree, an
+MVR-tree and a TPR-tree.
+
+
+%package devel
+Summary:	Header files for Spatial Index Library
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	mh-tools-devel
+
+%description devel
+Header files for Spatial Index Library.
+
+%package static
+Summary:	Static version of Spatial Index Library
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static version of Spatial Index Library.
+
+%prep
+%setup -q -n %{name}
+%patch0 -p0
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} 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 AUTHORS ChangeLog NEWS README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/spatialindex
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%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  2007/07/08 12:27:21  wrobell
+- created from template
+
================================================================


More information about the pld-cvs-commit mailing list