Blame pwkickstart.spec

Lukas Zapletal 392ae6
%global gittag 1.0.3
Lukas Zapletal 2791fb
%global debug_package %{nil}
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
Name: pwkickstart
Lukas Zapletal 392ae6
Version: %{gittag}
6dd5c8
Release: 4%{?dist}
Lukas Zapletal 2791fb
Summary: Helps to generate kickstart passwords
Lukas Zapletal 2791fb
License: MIT
Lukas Zapletal 2791fb
URL: https://github.com/lzap/pwkickstart
Lukas Zapletal 2791fb
Source0: https://github.com/lzap/%{name}/archive/%{gittag}.tar.gz
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
Requires:	python3
Lukas Zapletal 45210a
Lukas Zapletal 45210a
BuildRequires:	txt2man
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%description
Lukas Zapletal 2791fb
Helps to generate kickstart passwords, similarly to grub-crypt tool.
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%prep
Lukas Zapletal 2791fb
%autosetup -n %{name}-%{gittag}
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%build
Lukas Zapletal 2791fb
txt2man -t %{name} -r %{version} -s 1 README > %{name}.1
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%install
Lukas Zapletal 2791fb
install -m 755 -D %{name} %{buildroot}/%{_bindir}/%{name}
Lukas Zapletal 2791fb
install -m 644 -D %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%files
Lukas Zapletal 2791fb
%{_bindir}/%{name}
Lukas Zapletal 2791fb
%{_mandir}/man1/%{name}.1*
Lukas Zapletal 2791fb
%license LICENSE
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
%changelog
6dd5c8
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-4
6dd5c8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
6dd5c8
29c735
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-3
29c735
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
29c735
5a9053
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.3-2
5a9053
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
5a9053
Lukas Zapletal 392ae6
* Thu Mar 22 2018 Lukas Zapletal <lzap+rpm@redhat.com> 1.0.3-1
Lukas Zapletal 392ae6
- Rebased to new upstream version
Lukas Zapletal 392ae6
Lukas Zapletal 2791fb
* Mon Feb 12 2018 Lukas Zapletal <lzap+rpm@redhat.com> 1.0.2-1
Lukas Zapletal 2791fb
- Rebased to new upstream version
Lukas Zapletal 2791fb
- Changed to python3 explicit dependency
Lukas Zapletal 2791fb
Lukas Zapletal 2791fb
* Mon Feb 12 2018 Lukas Zapletal <lzap+rpm@redhat.com> 1.0.1-1
Lukas Zapletal 2791fb
- Initial version