|
|
|
@ -1,15 +1,17 @@
|
|
|
|
|
# header-only library
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global apiversion 1.0
|
|
|
|
|
|
|
|
|
|
Name: mdds
|
|
|
|
|
Version: 0.12.1
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 1.1.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A collection of multi-dimensional data structures and indexing algorithms
|
|
|
|
|
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://gitlab.com/mdds/mdds
|
|
|
|
|
Source0: http://kohei.us/files/%{name}/src/%{name}_%{version}.tar.bz2
|
|
|
|
|
Source0: http://kohei.us/files/%{name}/src/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: boost-devel
|
|
|
|
|
|
|
|
|
@ -39,27 +41,28 @@ It implements the following data structures:
|
|
|
|
|
See README for a brief description of the structures.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}_%{version} -p1
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
install -d -m 0755 %{buildroot}/%{_includedir}/mdds
|
|
|
|
|
cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds
|
|
|
|
|
install -d -m 0755 %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
install -p -m 0644 misc/%{name}.pc %{buildroot}/%{_datadir}/pkgconfig
|
|
|
|
|
%make_install
|
|
|
|
|
rm -rf %{buildroot}%{_docdir}/%{name}-%{apiversion}
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/%{name}
|
|
|
|
|
%{_datadir}/pkgconfig/%{name}.pc
|
|
|
|
|
%doc AUTHORS NEWS README
|
|
|
|
|
%{_includedir}/%{name}-%{apiversion}
|
|
|
|
|
%{_datadir}/pkgconfig/%{name}-%{apiversion}.pc
|
|
|
|
|
%doc AUTHORS NEWS README.md
|
|
|
|
|
%license COPYING
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Feb 12 2016 David Tardon <dtardon@redhat.com> - 1.1.0-1
|
|
|
|
|
- new upstream release
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12.1-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|