summaryrefslogtreecommitdiff
path: root/mdds.spec
diff options
context:
space:
mode:
Diffstat (limited to 'mdds.spec')
-rw-r--r--mdds.spec63
1 files changed, 63 insertions, 0 deletions
diff --git a/mdds.spec b/mdds.spec
new file mode 100644
index 0000000..b00839b
--- /dev/null
+++ b/mdds.spec
@@ -0,0 +1,63 @@
+# header-only library
+%global debug_package %{nil}
+
+%global apiversion 2.0
+
+Name: mdds
+Version: 2.0.3
+Release: 1
+Summary: A collection of multi-dimensional data structures and indexing algorithms
+
+License: MIT
+URL: https://gitlab.com/mdds/mdds
+Source0: http://kohei.us/files/%{name}/src/%{name}-%{version}.tar.bz2
+
+BuildRequires: make boost-devel gcc-c++ autoconf
+
+%description
+%{name} is a collection of multi-dimensional data structures and
+indexing algorithms.
+
+%package devel
+Summary: Headers for %{name}
+BuildArch: noarch
+Requires: boost-devel
+Provides: %{name}-static = %{version}-%{release}
+
+%description devel
+%{name} is 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
+* multi type matrix
+* multi type vector
+
+See README.md for a brief description of the structures.
+
+%prep
+%autosetup -p1
+
+%build
+autoconf
+%configure
+
+%install
+%make_install
+rm -rf %{buildroot}%{_docdir}/%{name}
+
+%check
+make check %{?_smp_mflags}
+
+%files devel
+%{_includedir}/%{name}-%{apiversion}
+%{_datadir}/pkgconfig/%{name}-%{apiversion}.pc
+%doc AUTHORS README.md
+%license LICENSE
+
+%changelog
+* Wed Sep 06 2023 Darssin <2020303249@mail.nwpu.edu.cn> - 2.0.3-1
+- Package init