File pwgen.spec of Package pwgen

#
# spec file for package pwgen
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           pwgen
Url:            http://sourceforge.net/projects/pwgen/
BuildRequires:  autoconf
Version:        2.07
Release:        0
Summary:        Password generator
License:        GPL-2.0+
Group:          Productivity/Security
Source:         http://downloads.sourceforge.net/project/pwgen/pwgen/%{version}/pwgen-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          pwgen-2.06-fdleaks.patch

%description
pwgen generates random, meaningless but pronounceable and thus easy to
remember passwords. The also contained makepasswd gives even more
options which are more aimed at security.



Authors:
--------
    Theodore Ts'o <tytso@alum.mit.edu> (this version)
    Brandon S. Allbery <allbery@ncoast.UUCP> (previous version)
    Rob Levin <levin@openproject.net> (previous version)

%prep
%setup -q
%patch

%build
autoconf
%configure
make

%install
mkdir -p	${RPM_BUILD_ROOT}/usr/bin
mkdir -p	${RPM_BUILD_ROOT}%{_mandir}/man1
make install DESTDIR=$RPM_BUILD_ROOT 

%files
%defattr(-,root,root)
%doc %{_mandir}/man1/*
/usr/bin/pwgen

%changelog
openSUSE Build Service is sponsored by