## START: Set by rpmautospec ## (rpmautospec version 0.2.6) %define autorelease(e:s:pb:) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{?dist} ## END: Set by rpmautospec %global forgeurl https://github.com/debrouxl/tfdocgen %global commit a9d4bf89b9a54cdbddb970b3079d802a34d69cdb %if 0%{?el7} %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global forgesource %{forgeurl}/archive/%{commit}/tfdocgen-%{commit}.tar.gz %global date 20220124 %else %forgemeta %endif Name: tfdocgen Version: 1.00 %if 0%{?el7} Release: %autorelease -s %{date}git%{shortcommit} %else Release: %autorelease %endif Epoch: 1 Summary: TiLP framework documentation generator License: GPLv2+ URL: %{forgeurl} Source0: %{forgesource} BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: make BuildRequires: gcc BuildRequires: glib2-devel %description The tfdocgen program is a program used by the libti* libraries to generate their HTML documentation from sources and misc files. You don't need this package unless you want to develop on the libti* libraries. %prep %autosetup -n %{name}-%{commit}/trunk %build autoreconf -ifv %configure %make_build %install %make_install %files %license COPYING %doc AUTHORS ChangeLog README %{_bindir}/%{name} %{_mandir}/man1/%{name}.1* %changelog * Wed Feb 02 2022 Davide Cavalca 1:1.00-2 - Gate the forge macros out for el7 * Tue Feb 01 2022 Davide Cavalca 1:1.00-1 - Switch to the new upstream and bump to 1.00; Resolves: RHBZ#2044700 * Tue Feb 01 2022 Davide Cavalca 20150202git-21 - Misc specfile files * Fri Jul 23 2021 Fedora Release Engineering - 20150202git-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 20150202git-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 20150202git-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jan 31 2020 Fedora Release Engineering - 20150202git-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jul 27 2019 Fedora Release Engineering - 20150202git-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Feb 03 2019 Fedora Release Engineering - 20150202git-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 20150202git-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 20150202git-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 20150202git-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 20150202git-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 20150202git-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 20150202git-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 20150202git-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Mon Feb 9 2015 'Ben Rosser' 20150202git-2 - Added license tag, added an extra file to doc. - Changed tfdocgen man page to use a wildcard encoding. * Mon Feb 2 2015 'Ben Rosser' 20150202git-1 - Bumped changelog and checkout date. * Fri Oct 11 2013 'Ben Rosser' 20131011git-1 - Updated to latest checkout from git repository * Wed Jul 11 2012 'Ben Rosser' 20120711git-1 - Initial version of the package