packages: mdds/mdds.spec (NEW) - initial

arekm arekm at pld-linux.org
Mon Oct 17 18:12:16 CEST 2011


Author: arekm                        Date: Mon Oct 17 16:12:16 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/mdds:
   mdds.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/mdds/mdds.spec
diff -u /dev/null packages/mdds/mdds.spec:1.1
--- /dev/null	Mon Oct 17 18:12:16 2011
+++ packages/mdds/mdds.spec	Mon Oct 17 18:12:11 2011
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+Summary:	A collection of multi-dimensional data structures and indexing algorithms
+Name:		mdds
+Version:	0.5.3
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+URL:		http://code.google.com/p/multidimalgorithm/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Source0:	http://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2
+# Source0-md5:	0ff7d225d087793c8c2c680d77aac3e7
+BuildRequires:	boost-devel
+BuildArch:	noarch
+
+%description
+A collection of multi-dimensional data structures and indexing
+algorithms.
+
+It implements the following data structures:
+- segment tree
+- flat segment tree
+- rectangle set
+- point quad tree
+- mixed type matrix
+
+%package devel
+Summary:	Headers for %{name}
+Group:		Development/Libraries
+Requires:	boost-devel
+
+%description devel
+Headers for %{name}.
+
+
+%prep
+%setup -q -n %{name}_%{version}
+# this is only used in tests
+sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{rpmcflags} -std/' Makefile.in
+
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT/%{_includedir}/mdds
+
+cp -pr include/mdds/* $RPM_BUILD_ROOT/%{_includedir}/mdds
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/mdds
+%doc AUTHORS COPYING NEWS README
+
+
+%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  2011/10/17 16:12:11  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list