File john-wordlists.spec of Package john-wordlists

#
# spec file for package john-wordlists (Version 1)
#
# Copyright (c) 2009 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:           john-wordlists
Url:            http://www.openwall.com/john/
License:        Any Noncommercial
Group:          Productivity/Security
AutoReqProv:    on
Version:        1
Release:        130
Summary:        Word List Files for John the Ripper
Source:         %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description 
These are huge word lists for john (John the Ripper) (a fast password
cracker).

The following copyright statement applies to this word list collection
as a whole:

Copyright (c) 2002,2003 by Solar Designer of Openwall Project

The home page for this word list collection is:

http://www.openwall.com/wordlists/



Authors:
--------
    Solar Designer <solar@false.com>

%prep
%setup -n %{name}-%{version}

%build

%install
JOHNDIR=$RPM_BUILD_ROOT/var/lib/john
install -d -m 700 $JOHNDIR/wordlists
install -m 644 $RPM_BUILD_DIR/%{name}-%{version}/* $JOHNDIR/wordlists/ 

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%dir /var/lib/john
%dir /var/lib/john/wordlists
%doc /var/lib/john/wordlists/*

%changelog
* Mon Mar 13 2006 lrupp@suse.de
- initial version
- split off from john to save space on media
openSUSE Build Service is sponsored by