## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: libbraiding Version: 1.3.1 %global so_version 0 Release: %autorelease Summary: Library for computations on braid groups License: GPL-2.0-or-later URL: https://github.com/miguelmarco/libbraiding Source: %{url}/archive/%{version}/libbraiding-%{version}.tar.gz # Correct typo in configure.ac # https://github.com/miguelmarco/libbraiding/commit/b174832026c2412baec83277c461e4df71d8525c Patch: %{url}/commit/b174832026c2412baec83277c461e4df71d8525c.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: make BuildRequires: gcc-c++ # https://fedoraproject.org/wiki/Changes/EncourageI686LeafRemoval ExcludeArch: %{ix86} %description This library allows various computations on braid groups, such as normal forms. %package devel Summary: Development files for libbraiding Requires: libbraiding%{?_isa} = %{version}-%{release} %description devel The libbraiding-devel package contains libraries and header files for developing applications that use libbraiding. %prep %autosetup -p1 %conf # Upstream does not generate the configure script autoreconf --force --install --verbose %configure --disable-static # Work around libtool reordering -Wl,--as-needed after all the libraries. sed -i 's|CC=.g..|& -Wl,--as-needed|' libtool %build %make_build %install %make_install # We do not want the libtool files find '%{buildroot}' -type f -name '*.la' -print -delete %files %license LICENSE %doc README.md %{_libdir}/libbraiding.so.%{so_version}{,.*} %files devel %doc CHANGELOG %{_includedir}/braiding.h %{_includedir}/cbraid*.h %{_libdir}/libbraiding.so %{_libdir}/pkgconfig/libbraiding.pc %changelog ## START: Generated by rpmautospec * Sat Nov 09 2024 Benjamin A. Beasley - 1.3.1-1 - Update to 1.3.1 (close RHBZ#2324520) * Fri Nov 01 2024 Benjamin A. Beasley - 1.3-3 - Invoke autoreconf and configure in %%conf rather than in %%build * Thu Oct 31 2024 Benjamin A. Beasley - 1.3-2 - F42+: Drop i686 support * Thu Oct 31 2024 Benjamin A. Beasley - 1.3-1 - Update to 1.3 (close RHBZ#2322936) * Thu Jul 18 2024 Fedora Release Engineering - 1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Mar 02 2023 Benjamin A. Beasley - 1.2-1 - Update to 1.2 (close RHBZ#2174616) * Thu Jan 19 2023 Fedora Release Engineering - 1.1-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Dec 20 2022 Benjamin A. Beasley - 1.1-13 - Trivially simplify a files list * Fri Aug 05 2022 Benjamin A. Beasley - 1.1-12 - Update License to SPDX (GPLv2+ → GPL-2.0-or-later) * Thu Jul 21 2022 Fedora Release Engineering - 1.1-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sun Jul 17 2022 Jerry James - 1.1-10 - Update README.md. * Thu Jan 20 2022 Fedora Release Engineering - 1.1-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Dec 10 2021 Benjamin A. Beasley - 1.1-8 - Consider autoreconf to be a build step * Fri Dec 10 2021 Benjamin A. Beasley - 1.1-7 - Explicitly BR autoconf/automake, not only libtool * Fri Dec 10 2021 Benjamin A. Beasley - 1.1-6 - Style tweaks according to personal preference * Thu Jul 22 2021 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sat Sep 12 2020 Jerry James - 1.1-1 - Version 1.1 * Tue Jul 28 2020 Fedora Release Engineering - 1.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Oct 24 2018 Jerry James - 1.0-1 - Initial RPM ## END: Generated by rpmautospec