permlib/permlib.spec
Jerry James 0d47ff18fb New upstream release.
Also:
- Update Doxyfile
- Drop upstreamed boost patch
2016-07-20 19:32:33 -06:00

150 lines
4.6 KiB
RPMSpec

Name: permlib
Version: 0.2.9
Release: 1%{?dist}
Summary: Library for permutation computations
License: BSD
URL: https://github.com/tremlin/PermLib
Source0: https://github.com/tremlin/PermLib/archive/v%{version}.tar.gz
# Doxygen config file written by Jerry James <loganjerry@gmail.com>
Source1: %{name}-Doxyfile
# Fix gcc 6 build failure
Patch0: %{name}-0.2.8-gcc6.patch
BuildArch: noarch
BuildRequires: boost-devel
BuildRequires: cmake
BuildRequires: dvipng
BuildRequires: doxygen-latex
BuildRequires: gcc-c++
BuildRequires: ghostscript
BuildRequires: gmp-devel
%description
PermLib is a callable C++ library for permutation computations.
Currently it supports set stabilizer and in-orbit computations, based on
bases and strong generating sets (BSGS). Additionally, it computes
automorphisms of symmetric matrices and finds the lexicographically
smallest set in an orbit of sets.
%package devel
Summary: Header files for developing programs that use PermLib
Requires: boost-devel%{?_isa}
Provides: bundled(jquery)
%description devel
PermLib is a callable C++ library for permutation computations.
Currently it supports set stabilizer and in-orbit computations, based on
bases and strong generating sets (BSGS). Additionally, it computes
automorphisms of symmetric matrices and finds the lexicographically
smallest set in an orbit of sets.
This package contains header files for developing programs that use
PermLib.
%prep
%setup -q -n PermLib-%{version}
%patch0
sed "s/@VERSION@/%{version}/" %{SOURCE1} > Doxyfile
%build
%cmake .
make %{?_smp_mflags}
# Build the documentation
mkdir doc
doxygen
rm -f doc/html/installdox
%install
# No install target is generated in the makefile, and
# DESTDIR=$RPM_BUILD_ROOT cmake -P cmake_install.cmake
# does nothing, so we do it by hand.
# Install the header files
mkdir -p $RPM_BUILD_ROOT%{_includedir}
cp -a include/%{name} $RPM_BUILD_ROOT%{_includedir}
%check
ctest
%files devel
%doc AUTHORS CHANGELOG doc/html
%license LICENSE
%{_includedir}/permlib
%changelog
* Wed Jul 20 2016 Jerry James <loganjerry@gmail.com> - 0.2.9-1
- New upstream release
- Update Doxyfile
- Drop upstreamed boost patch
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Thu Aug 27 2015 Jonathan Wakely <jwakely@redhat.com> - 0.2.8-14
- Rebuilt for Boost 1.59
* Wed Jul 29 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-13
- Rebuilt for https://fedoraproject.org/wiki/Changes/F23Boost159
* Wed Jul 22 2015 David Tardon <dtardon@redhat.com> - 0.2.8-12
- rebuild for Boost 1.58
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Sat Feb 21 2015 Jerry James <loganjerry@gmail.com> - 0.2.8-10
- Update URLs
- Note bundled jquery
- Use license macro
* Tue Jan 27 2015 Petr Machata <pmachata@redhat.com> - 0.2.8-9
- Rebuild for boost 1.57.0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Fri May 23 2014 Petr Machata <pmachata@redhat.com> - 0.2.8-7
- Rebuild for boost 1.55.0
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Tue Jul 30 2013 Petr Machata <pmachata@redhat.com> - 0.2.8-5
- Rebuild for boost 1.54.0
- Remove -mt suffix from boost_unit_testing_framework DSO
(permlib-0.2.8-boost_mt.patch)
* Sun Feb 10 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.2.8-4
- Rebuild for Boost-1.53.0
* Sat Feb 09 2013 Denis Arnaud <denis.arnaud_fedora@m4x.org> - 0.2.8-3
- Rebuild for Boost-1.53.0
* Fri Feb 8 2013 Jerry James <loganjerry@gmail.com> - 0.2.8-2
- Adjust BRs for TeXLive 2012
* Thu Sep 27 2012 Jerry James <loganjerry@gmail.com> - 0.2.8-1
- New upstream release
- Drop upstreamed patch
* Wed Sep 26 2012 Jerry James <loganjerry@gmail.com> - 0.2.7-1
- New upstream release
- Update Doxyfile
- Add -test patch to fix two test failures
* Mon Aug 6 2012 Jerry James <loganjerry@gmail.com> - 0.2.6-4
- Rebuild for boost 1.50
- Update Doxyfile
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.6-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Fri May 4 2012 Jerry James <loganjerry@gmail.com> - 0.2.6-2
- BR gmp-devel
- Add comment on origin of Doxyfile
* Fri Mar 16 2012 Jerry James <loganjerry@gmail.com> - 0.2.6-1
- Initial RPM