diff --git a/.gitignore b/.gitignore index f49e532..9bad18f 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mdds_0.12.1.tar.bz2 +SOURCES/mdds-1.2.3.tar.bz2 diff --git a/.mdds.metadata b/.mdds.metadata index 556cd8a..f446cce 100644 --- a/.mdds.metadata +++ b/.mdds.metadata @@ -1 +1 @@ -e7469349f8d0c65545896fe553918f3ea93bd84d SOURCES/mdds_0.12.1.tar.bz2 +f4b8dd11622725eba6ed4238c47cddadc844bf40 SOURCES/mdds-1.2.3.tar.bz2 diff --git a/SPECS/mdds.spec b/SPECS/mdds.spec index 36d84af..69a0965 100644 --- a/SPECS/mdds.spec +++ b/SPECS/mdds.spec @@ -1,15 +1,16 @@ # header-only library %global debug_package %{nil} +%global apiversion 1.2 + Name: mdds -Version: 0.12.1 +Version: 1.2.3 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 @@ -18,7 +19,6 @@ BuildRequires: boost-devel indexing algorithms. %package devel -Group: Development/Libraries Summary: Headers for %{name} BuildArch: noarch Requires: boost-devel @@ -36,30 +36,31 @@ It implements the following data structures: * multi type matrix * multi type vector -See README for a brief description of the structures. +See README.md 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} %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 +* Mon Sep 18 2017 David Tardon - 1.2.3-1 +- Resolves: rhbz#1477097 rebase to 1.2.3 + * Mon Feb 22 2016 David Tardon - 0.12.1-1 - Resolves: rhbz#1290153 rebase to 0.12.1