You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
157 lines
5.3 KiB
157 lines
5.3 KiB
## START: Set by rpmautospec
|
|
## (rpmautospec version 0.6.5)
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
%define autorelease(e:s:pb:n) %{?-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*}}%{!?-n:%{?dist}}
|
|
## END: Set by rpmautospec
|
|
|
|
Name: scdoc
|
|
Version: 1.11.3
|
|
Release: %autorelease
|
|
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
|
|
%autosetup -p1
|
|
|
|
# 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 Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 1.11.3-2
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
## START: Generated by rpmautospec
|
|
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.3-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
* Mon Feb 19 2024 Jan Staněk <jstanek@redhat.com> - 1.11.3-1
|
|
- Upgrade to 1.11.3 (rhbz#2264644)
|
|
|
|
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-6
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.2-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
* Mon Nov 15 2021 Jan Staněk <jstanek@redhat.com> - 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 <releng@fedoraproject.org> - 1.11.1-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
* Mon Dec 07 2020 Jan Staněk <jstanek@redhat.com> - 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 <releng@fedoraproject.org> - 1.11.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
* Tue Jun 23 2020 Jan Staněk <jstanek@redhat.com> - 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 <fnux@fedoraproject.org> - 1.10.1-1
|
|
- New upstream release.
|
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.6-3
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
* Thu Aug 01 2019 Timothée Floure <fnux@fedoraproject.org> - 1.9.6-2
|
|
- Explicitly specifiy INSTALL environment variable for EL7 builds
|
|
|
|
* Wed Jul 31 2019 Timothée Floure <fnux@fedoraproject.org> - 1.9.6-1
|
|
- New upstream release
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.9.4-4
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
* Tue Mar 12 2019 Timothée Floure <fnux@fedoraproject.org> - 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 <hristo@venev.name> - 1.9.4-2
|
|
- Fix pkgconfig file.
|
|
|
|
* Mon Mar 11 2019 Timothée Floure <fnux@fedoraproject.org> - 1.9.4-1
|
|
- Remove some Makefile patches (applied upstream)
|
|
- New upstream release
|
|
|
|
* Tue Feb 05 2019 Timothée Floure <fnux@fedoraproject.org> - 1.8.1-1
|
|
- New upstream release
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.1-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
* Sun Jan 20 2019 Timothée Floure <fnux@fedoraproject.org> - 1.6.1-1
|
|
- New upstream release
|
|
|
|
* Wed Jan 16 2019 Timothée Floure <fnux@fedoraproject.org> - 1.6.0-1
|
|
- New upstream release
|
|
|
|
* Mon Oct 22 2018 Timothée Floure <fnux@fedoraproject.org> - 1.5.2-1
|
|
- New upstream release
|
|
- Fix broken source URL
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.4-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
* Fri Jun 22 2018 Timothée Floure <fnux@fedoraproject.org> - 1.3.4-1
|
|
- Update to 1.3.4
|
|
|
|
* Sat May 26 2018 Timothée Floure <fnux@fedoraproject.org> - 1.3.3-1
|
|
- Let there be package
|
|
|
|
## END: Generated by rpmautospec
|