commit abe8dd05aa737f8c5c46a9115d17847cd0686606 Author: Sergey Cherevko Date: Wed Jul 24 16:10:26 2024 +0300 import scdoc-1.11.2-2.el9 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7bcab91 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/scdoc-1.11.2.tar.gz diff --git a/.scdoc.metadata b/.scdoc.metadata new file mode 100644 index 0000000..a98fb30 --- /dev/null +++ b/.scdoc.metadata @@ -0,0 +1 @@ +f80f83f5202f5b2d023f54c31d607c99dfa4e7dd SOURCES/scdoc-1.11.2.tar.gz diff --git a/SPECS/scdoc.spec b/SPECS/scdoc.spec new file mode 100644 index 0000000..220d7df --- /dev/null +++ b/SPECS/scdoc.spec @@ -0,0 +1,125 @@ +Name: scdoc +Version: 1.11.2 +Release: 2%{?dist} +Summary: Tool for generating roff manual pages + +License: MIT +URL: https://git.sr.ht/~sircmpwn/%{name} +Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz + +BuildRequires: make +BuildRequires: gcc +BuildRequires: sed + +%description +scdoc is a tool designed to make the process of writing man pages more +friendly. It reads scdoc syntax from stdin and writes roff to stdout, suitable +for reading with man. + +%prep +%setup -q + +# Disable static linking +sed -i '/-static/d' Makefile + +# Use INSTALL provided by the make_install macro +sed -i 's/\tinstall/\t$(INSTALL)/g' Makefile + +%build +make PREFIX=%{_prefix} %{?_smp_mflags} + +%install +%if 0%{?el7} +%make_install PREFIX=%{_prefix} INSTALL="%{__install} -p" +%else +%make_install PREFIX=%{_prefix} +%endif + +%check +make check + +%files +%license COPYING +%doc README.md +%{_bindir}/%{name} +%{_mandir}/man1/%{name}.1* +%{_mandir}/man5/%{name}.5* +# Not shipped in a -devel package since scdoc is a development tool not +# installed in a user runtime. +%{_datarootdir}/pkgconfig/%{name}.pc + +%changelog +* Wed Jul 24 2024 Sergey Cherevko - 1.11.2-2 +- Rebuilt for MSVSphere 9.4 + +* Sat Jan 22 2022 Fedora Release Engineering - 1.11.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Mon Nov 15 2021 Jan Staněk - 1.11.2-1 +- Upgrade to 1.11.2 (https://git.sr.ht/~sircmpwn/scdoc/refs/1.11.2) + +* Fri Jul 23 2021 Fedora Release Engineering - 1.11.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 1.11.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Mon Dec 07 2020 Jan Staněk - 1.11.1-1 +- Upgrade to 1.11.1 (https://git.sr.ht/~sircmpwn/scdoc/refs/1.11.1) + +* Wed Jul 29 2020 Fedora Release Engineering - 1.11.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue Jun 23 2020 Jan Staněk - 1.11.0-1 +- Upgrade to 1.11.0 (https://git.sr.ht/~sircmpwn/scdoc/refs/1.11.0) + +* Sat Feb 15 2020 Timothée Floure - 1.10.1-1 +- New upstream release. + +* Thu Jan 30 2020 Fedora Release Engineering - 1.9.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Aug 01 2019 Timothée Floure - 1.9.6-2 +- Explicitly specifiy INSTALL environment variable for EL7 builds + +* Wed Jul 31 2019 Timothée Floure - 1.9.6-1 +- New upstream release + +* Fri Jul 26 2019 Fedora Release Engineering - 1.9.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Tue Mar 12 2019 Timothée Floure - 1.9.4-3 +- Remove useless PCDIR variable definition in build section +- Fix erroneous dates in last two changelog entries + +* Mon Mar 11 2019 Hristo Venev - 1.9.4-2 +- Fix pkgconfig file. + +* Mon Mar 11 2019 Timothée Floure - 1.9.4-1 +- Remove some Makefile patches (applied upstream) +- New upstream release + +* Tue Feb 05 2019 Timothée Floure - 1.8.1-1 +- New upstream release + +* Sat Feb 02 2019 Fedora Release Engineering - 1.6.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sun Jan 20 2019 Timothée Floure - 1.6.1-1 +- New upstream release + +* Wed Jan 16 2019 Timothée Floure - 1.6.0-1 +- New upstream release + +* Mon Oct 22 2018 Timothée Floure - 1.5.2-1 +- New upstream release +- Fix broken source URL + +* Sat Jul 14 2018 Fedora Release Engineering - 1.3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Fri Jun 22 2018 Timothée Floure - 1.3.4-1 +- Update to 1.3.4 + +* Sat May 26 2018 Timothée Floure - 1.3.3-1 +- Let there be package