File secpwgen.spec of Package secpwgen

# norootforbuildroot

Name: secpwgen
Version: 1.3
Release: 0
#
License: 1
Group: Productivity/Security
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
#
URL: http://www.core-dump.com.hr/?q=node/28
Source: http://www.core-dump.com.hr/software/secpwgen-1.3.tar.gz
Patch: secpwgen-1.3_build_config.patch
#
Summary: Secure Password Generator
%description
A utility for generating secure passphrases. Implements several methods for
passphrase generation, including the Diceware method with 8192 word dictionary
compiled in the executable.


Authors:
--------
    Zeljko Vrba <zvrba@globalnet.hr>


%debug_package
%prep
%setup
%patch

%build
%{__make} -f Makefile.proto OPTFLAGS="%{optflags} -DDISABLE_MLOCKALL"

%install
%{__install} -D -m 0755 secpwgen   %{buildroot}%{_bindir}/secpwgen
%{__install} -D -m 0644 secpwgen.1 %{buildroot}%{_mandir}/man1/secpwgen.1


%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/secpwgen
%{_mandir}/man1/secpwgen.1*
%doc ChangeLog README
openSUSE Build Service is sponsored by