You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mdds/mdds.spec

123 lines
2.8 KiB

15 years ago
%global do_mem_tests 0
%global do_perf_tests 0
Name: mdds
13 years ago
Version: 0.6.0
Release: 0%{?dist}
15 years ago
Summary: A collection of multi-dimensional data structures and indexing algorithms
Group: Development/Libraries
License: MIT
URL: http://code.google.com/p/multidimalgorithm/
Source0: http://multidimalgorithm.googlecode.com/files/%{name}_%{version}.tar.bz2
BuildRequires: boost-devel
%if %{do_mem_tests}
BuildRequires: valgrind
%endif
BuildArch: noarch
%description
A collection of multi-dimensional data structures and indexing algorithms.
It implements the following data structures:
* segment tree
14 years ago
* flat segment tree
15 years ago
* rectangle set
14 years ago
* point quad tree
* mixed type matrix
15 years ago
%package devel
Group: Development/Libraries
Summary: Headers for %{name}
Requires: boost-devel
%description devel
Headers for %{name}.
%prep
%setup -q -n %{name}_%{version}
# this is only used in tests
14 years ago
sed -i -e '/^CPPFLAGS/s/-Wall.*-std/%{optflags} -std/' Makefile.in
15 years ago
%build
14 years ago
%configure
15 years ago
%install
mkdir -p %{buildroot}/%{_includedir}
mkdir %{buildroot}/%{_includedir}/mdds
14 years ago
cp -pr include/mdds/* %{buildroot}/%{_includedir}/mdds
15 years ago
%check
make %{?_smp_mflags}
for t in fst pqt recset st; do
make test.$t
done
%if %{do_perf_tests}
for t in recset st; do
make test.$t.perf
done
make test.stl
%endif
%if %{do_mem_tests}
for t in fst pqt recset st; do
make test.$t.mem
done
%endif
14 years ago
15 years ago
%files devel
%{_includedir}/mdds
14 years ago
%doc AUTHORS COPYING NEWS README
15 years ago
%changelog
13 years ago
* Mon Jul 23 2012 David Tardon <dtardon@redhat.com> - 0.6.0-1
- new version
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Nov 18 2011 David Tardon <dtardon@redhat.com> - 0.5.4-1
- new version
14 years ago
* Thu Jul 14 2011 David Tardon <dtardon@redhat.com> - 0.5.3-1
- new version
14 years ago
* Wed Mar 30 2011 David Tardon <dtardon@redhat.com> - 0.5.2-2
- install license
14 years ago
* Tue Mar 29 2011 David Tardon <dtardon@redhat.com> - 0.5.2-1
14 years ago
- new version
14 years ago
* Thu Mar 24 2011 David Tardon <dtardon@redhat.com> - 0.5.1-3
- Resolves: rhbz#680766 fix a crash and two other bugs
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
14 years ago
* Sat Jan 08 2011 David Tardon <dtardon@redhat.com> - 0.5.1-1
- new version
14 years ago
* Tue Dec 21 2010 David Tardon <dtardon@redhat.com> - 0.4.0-1
- new version
14 years ago
* Tue Nov 16 2010 David Tardon <dtardon@redhat.com> - 0.3.1-1
- new version
15 years ago
* Wed Jul 07 2010 Caolán McNamara <caolanm@redhat.com> - 0.3.0-2
- rpmlint warnings
* Wed Jun 30 2010 David Tardon <dtardon@redhat.com> - 0.3.0-1
- initial import