LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pwgen.spec of Package pwgen (Project spins:invis)

#
# spec file for package pwgen (Version 2.06)
#
# Copyright (c) 2010 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/
#

# norootforbuild


Name:           pwgen
Url:            http://sourceforge.net/projects/pwgen/
BuildRequires:  autoconf
License:        GPLv2+
Group:          Productivity/Security
AutoReqProv:    on
Version:        2.06
Release:        89
Summary:        Password generator
Source:         http://belnet.dl.sourceforge.net/sourceforge/pwgen/pwgen-%{version}.tar.bz2
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
%patch

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

%install

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

%clean
	rm -rf ${RPM_BUILD_ROOT}

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

%changelog