Created
January 19, 2017 22:39
-
-
Save dandye/c4c09332df61b12f9a919a74d534cb45 to your computer and use it in GitHub Desktop.
RPM spec file for ranpwd v1.1-1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[admin@localhost ~]$ vim ranpwd.spec | |
Summary: A program to generate random passwords | |
Name: ranpwd | |
Version: 1.1 | |
Release: 1 | |
License: GPL | |
Group: Applications/System | |
Source0: ftp://ftp.kernel.org/pub/software/utils/admin/ranpwd/%{name}-%{version}.tar.gz | |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | |
%description | |
A program to generate random passwords using the in-kernel | |
cryptographically secure random number generator. | |
%prep | |
%setup -q | |
%build | |
%configure | |
make | |
%install | |
rm -rf $RPM_BUILD_ROOT | |
make install INSTALLROOT=$RPM_BUILD_ROOT | |
%clean | |
rm -rf $RPM_BUILD_ROOT | |
%files | |
%defattr(-,root,root,-) | |
%doc %{_mandir}/man1/* | |
%{_bindir}/ranpwd | |
%doc | |
%changelog | |
* Mon Mar 17 2003 H. Peter Anvin <hpa@zytor.com> | |
- Initial build. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment