File pwgen.spec of Package pwgen

# spec file for package pwgen
# Copyright (c) 2011 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

Name:           pwgen
BuildRequires:  autoconf
Version:        2.06
Release:        0
Summary:        Password generator
License:        GPL-2.0+
Group:          Productivity/Security
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Patch:          pwgen-2.06-fdleaks.patch

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.

    Theodore Ts'o <> (this version)
    Brandon S. Allbery <allbery@ncoast.UUCP> (previous version)
    Rob Levin <> (previous version)


	CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} --mandir=%{_mandir}


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

	rm -rf ${RPM_BUILD_ROOT}

%doc ChangeLog
%doc %{_mandir}/man1/*

openSUSE Build Service is sponsored by