2fc263f
Name:           src
7c51f4c
Version:        1.32
ef2cf75
Release:        2%{?dist}
2fc263f
Summary:        Simple Revision Control
2fc263f
7c51f4c
License:        BSD-2-Clause
2fc263f
URL:            https://gitlab.com/esr/src
2fc263f
Source0:        https://gitlab.com/esr/src/-/archive/%{version}/%{name}-%{version}.tar.bz2
2fc263f
    
2fc263f
BuildRequires:  asciidoc
2fc263f
BuildRequires:  git-core
2fc263f
BuildRequires:  make
2fc263f
BuildRequires:  python3-devel
2fc263f
BuildRequires:  rcs
2fc263f
2fc263f
Requires:       rcs
2fc263f
Requires:       python3
2fc263f
Recommends:     git-core
2fc263f
2fc263f
BuildArch:      noarch
2fc263f
2fc263f
%description
2fc263f
Simple Revision Control is RCS reloaded with a modern UI, designed to
2fc263f
manage single-file solo projects kept more than one to a directory.
2fc263f
Has a modern, svn/hg/git-like UI
2fc263f
2fc263f
%prep
2fc263f
%autosetup
2fc263f
%py3_shebang_fix src
2fc263f
2fc263f
%build
2fc263f
%make_build all FAQ.html
2fc263f
2fc263f
%install
2fc263f
%make_install prefix=%{_prefix}
2fc263f
2fc263f
%check
2fc263f
# We must provide a valid git user configuration for the tests to pass.
2fc263f
mkdir git-home
2fc263f
cat > git-home/.gitconfig <<'EOF'
2fc263f
[user]  
2fc263f
        name = Bogus Example
2fc263f
        email = bogus@example.com
2fc263f
EOF
2fc263f
# Redirecting and capturing stderr keeps the test script from detecting the
2fc263f
# terminal size, which affects the output and can cause failures.
2fc263f
result="$(HOME="${PWD}/git-home" ./srctest -b rcs -p %{python3} 2>&1)"
2fc263f
echo "${result}"
2fc263f
    
2fc263f
%files
2fc263f
%license COPYING
7c51f4c
%doc FAQ.html
2fc263f
%{_bindir}/src
2fc263f
%{_mandir}/man1/src.1*
2fc263f
2fc263f
%changelog
ef2cf75
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.32-2
ef2cf75
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
ef2cf75
7c51f4c
* Sun Aug 13 2023 Bob Hepple <bob.hepple@gmail.com> - 1.32-1
7c51f4c
- new version
7c51f4c
- SPDX license
7c51f4c
a4c4e99
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-3
a4c4e99
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
a4c4e99
bd09d93
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.29-2
bd09d93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
bd09d93
318b5c3
* Tue Nov 29 2022 Bob Hepple <bob.hepple@gmail.com> - 1.29-1
318b5c3
- new version
318b5c3
- remove Patch0:src-1.28-backport-1bbebb4a.patch 
318b5c3
660f55a
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-5
660f55a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
660f55a
0d0944d
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-4
0d0944d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
0d0944d
26e02f6
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.28-3
26e02f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
26e02f6
2fc263f
* Tue May 04 2021 Bob Hepple <bob.hepple@gmail.com> - 1.28-2
2fc263f
- rebuilt
2fc263f
2fc263f
* Thu Apr 22 2021 Bob Hepple <bob.hepple@gmail.com> - 1.28-1
2fc263f
- rebuilt
2fc263f