## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 %global _legacy_common_support 1 %global forgeurl https://gitlab.utu.fi/vesoik/tpcclib Name: libtpcmisc # upstream has gone from versioning series 1.x to 0.x in the new GitLab repository Epoch: 1 Version: 0.8.0 Release: %autorelease Summary: Miscellaneous PET functions # upstream only supports 64 bit architectures ExcludeArch: %{ix86} %global tag v%{version} %forgemeta License: GPL-3.0-or-later URL: %forgeurl Source0: %forgesource # fedora related changes are in my fork # - generate shared objects # - only build tpcmisc # - clean up compiler flags Patch: https://gitlab.com/sanjayankur31/tpcclib/-/merge_requests/1.patch BuildRequires: cmake BuildRequires: git-core BuildRequires: gcc %description Former libpet, the common PET C library, has been divided up in smaller sub-libraries that each handle a specific task. This library includes miscellaneous functions utilized in PET data processing. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package static Summary: Static libraries for %{name} %description static This package contains static libraries for %{name}. %prep %forgeautosetup -S git sed -i 's/\r$//' changelog.md sed -i 's/\r$//' readme.md %build %cmake %cmake_build %install %cmake_install %files %license license.md %doc readme.md changelog.md %{_bindir}/%{name} %{_libdir}/%{name}.so.0.0.0 %{_libdir}/%{name}.so.0 %files devel %{_libdir}/%{name}.so %{_includedir}/* %files static %license license.md %{_libdir}/%{name}.a %changelog ## START: Generated by rpmautospec * Mon Aug 12 2024 Ankur Sinha (Ankur Sinha Gmail) - 1:0.8.0-4 - fix: correct requires for devel subpackage (fixes rh#2300917. rh#2225980) * Mon Aug 12 2024 Ankur Sinha (Ankur Sinha Gmail) - 1:0.8.0-3 - chore: update patch * Mon Aug 12 2024 Ankur Sinha (Ankur Sinha Gmail) - 1:0.8.0-2 - feat: exclude 32bit arches * Mon Aug 12 2024 Ankur Sinha (Ankur Sinha Gmail) - 1:0.8.0-1 - fix build with new sources (fixes rh#2225980) * Mon Aug 12 2024 Ankur Sinha (Ankur Sinha Gmail) - 1.4.8-38 - feat: use spdx identifier * Thu Jul 18 2024 Fedora Release Engineering - 1.4.8-34 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Jan 25 2024 Fedora Release Engineering - 1.4.8-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 1.4.8-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Thu Jul 20 2023 Fedora Release Engineering - 1.4.8-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jan 19 2023 Fedora Release Engineering - 1.4.8-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 7 2022 Florian Weimer - 1.4.8-29 - Do not override C language support level * Thu Jul 21 2022 Fedora Release Engineering - 1.4.8-28 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Jan 20 2022 Fedora Release Engineering - 1.4.8-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Jul 22 2021 Fedora Release Engineering - 1.4.8-26 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Tue Jan 26 2021 Fedora Release Engineering - 1.4.8-25 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Fri Aug 07 2020 Jeff Law - 1.4.8-24 - Enable _legacy_common_support * Sat Aug 01 2020 Fedora Release Engineering - 1.4.8-23 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue Jul 28 2020 Fedora Release Engineering - 1.4.8-22 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jan 29 2020 Fedora Release Engineering - 1.4.8-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jul 25 2019 Fedora Release Engineering - 1.4.8-20 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 1.4.8-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 1.4.8-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Mar 10 2018 Ankur Sinha - 1.4.8-17 - Add gcc to BR * Wed Feb 07 2018 Fedora Release Engineering - 1.4.8-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 1.4.8-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.4.8-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.4.8-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 1.4.8-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Wed Jun 17 2015 Fedora Release Engineering - 1.4.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 1.4.8-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 1.4.8-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 1.4.8-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 1.4.8-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 1.4.8-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 06 2012 Ankur Sinha - 1.4.8-5 - spec bump for gcc 4.7 rebuild * Mon Aug 08 2011 Tom Callaway - 1.4.8-4 - build shared libraries with PIC - put static lib in subpackage * Mon Aug 01 2011 Ankur Sinha - 1.4.8-3 - Add graphviz to BR * Sun Jul 31 2011 Ankur Sinha - 1.4.8-2 - Changes that Richard made: - Add more documentation - Fix line endings and encoding - Add architecture specific requires - https://bugzilla.redhat.com/show_bug.cgi?id=714326#c2 * Fri Jun 17 2011 Ankur Sinha - 1.4.8-1 - initial rpm build ## END: Generated by rpmautospec