From b12c560fdfbc67f52455db8dc78a2ce2fd2241f8 Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Wed, 13 Sep 2023 11:00:25 +0000 Subject: automatic import of mdds --- .gitignore | 1 + mdds.spec | 63 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 65 insertions(+) create mode 100644 mdds.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..eb5e84f 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/mdds-2.0.3.tar.bz2 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 diff --git a/sources b/sources new file mode 100644 index 0000000..8fefcbe --- /dev/null +++ b/sources @@ -0,0 +1 @@ +6f7b4ba990b817c516aef3d3455e95df mdds-2.0.3.tar.bz2 -- cgit v1.2.3