%global pkgdate 2016-08-02 %global debrel 1 Name: bliss Version: 0.73 Release: 14%{?dist} Summary: Compute automorphism groups and canonical labelings of graphs License: LGPLv3 URL: http://www.tcs.hut.fi/Software/bliss/ Source0: https://github.com/mkoeppe/bliss/archive/sage_package/%{version}+debian-%{debrel}+sage-%{pkgdate}.tar.gz # Man page written by Jerry James using text borrowed from the sources. # The man page therefore has the same copyright and license as the sources. Source1: bliss.1 # Patch from Thomas Rehn, sent upstream 28 Oct 2011. Fix one bug and add one # performance enhancement. Patch0: bliss-rehn.patch BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: gmp-devel BuildRequires: libtool BuildRequires: make Requires: %{name}-libs%{?_isa} = %{version}-%{release} %description Bliss is an open source tool for computing automorphism groups and canonical forms of graphs. It has both a command line user interface as well as C++ and C programming language APIs. %package devel Summary: Headers and library files for developing with bliss Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: gmp-devel%{?_isa} Provides: bundled(jquery) %description devel Headers and library files needed to develop applications that use the bliss library. %package libs Summary: Compute automorphism groups and canonical labelings of graphs %description libs A command-line bliss tool to access the functionality of the bliss library. %prep %autosetup -p0 -n bliss-sage_package-%{version}-debian-%{debrel}-sage-%{pkgdate} autoreconf -fi . %build %configure --disable-static # Get rid of undesirable hardcoded rpaths; workaround libtool reordering # -Wl,--as-needed after all the libraries. sed -e 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' \ -e 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' \ -e 's|CC="\(.*g..\)"|CC="\1 -Wl,--as-needed"|' \ -i libtool %make_build # Build the documentation doxygen %install %make_install rm %{buildroot}%{_libdir}/*.la # Install the man page mkdir -p %{buildroot}%{_mandir}/man1 sed 's/@VERSION@/%{version}/' %{SOURCE1} > %{buildroot}%{_mandir}/man1/bliss.1 touch -r %{SOURCE1} %{buildroot}%{_mandir}/man1/bliss.1 %files %{_bindir}/bliss %{_mandir}/man1/bliss.1* %files devel %doc html %{_includedir}/bliss %{_libdir}/libbliss.so %files libs %license COPYING COPYING.LESSER %{_libdir}/libbliss.so.2* %changelog * Tue Jan 26 2021 Fedora Release Engineering - 0.73-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 7 2020 Jerry James - 0.73-13 - Switch to using the sagemath sources - Drop -error patch; nobody else uses it and it changes the contract * Sat Aug 01 2020 Fedora Release Engineering - 0.73-12 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 27 2020 Fedora Release Engineering - 0.73-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jan 28 2020 Fedora Release Engineering - 0.73-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Wed Jul 24 2019 Fedora Release Engineering - 0.73-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jan 31 2019 Fedora Release Engineering - 0.73-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Jul 12 2018 Fedora Release Engineering - 0.73-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 0.73-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 0.73-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 0.73-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 0.73-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 0.73-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sat Sep 19 2015 Jerry James - 0.73-1 - New upstream version * Wed Jun 17 2015 Fedora Release Engineering - 0.72-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.72-12 - Rebuilt for GCC 5 C++11 ABI change * Fri Mar 6 2015 Jerry James - 0.72-11 - Link with RPM_LD_FLAGS * Wed Feb 11 2015 Jerry James - 0.72-10 - Note bundled jquery - Use license macro * Fri Aug 15 2014 Fedora Release Engineering - 0.72-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.72-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.72-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fedora Release Engineering - 0.72-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Wed Jul 18 2012 Fedora Release Engineering - 0.72-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Mar 16 2012 Jerry James - 0.72-4 - Apply bug fix and performance enhancement patch from Thomas Rehn * Fri Jan 6 2012 Jerry James - 0.72-3 - Rebuild for GCC 4.7. * Tue Nov 15 2011 Jerry James - 0.72-2 - Add patch to avoid calling exit() in the library * Wed Jul 20 2011 Jerry James - 0.72-1 - Initial RPM