File perl-Getopt-Mixed.spec of Package perl-Getopt-Mixed

#
# spec file for package perl-Getopt-Mixed (Version 1.09)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           perl-Getopt-Mixed
%define module Getopt-Mixed
Version:        1.09
Release:        1
Provides:       Getopt-Mixed
Requires:       perl = %{perl_version}
Autoreqprov:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Summary:        GNU-style option processing (long and short) for Perl
Source:         %{module}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This module provides GNU-style option processing for Perl 5 scripts,
with both long and short options.



Authors:
--------
    Christopher J. Madsen <ac608@yfn.ysu.edu>

%prep
%setup -q -n %{module}-%{version}

%build
perl Makefile.PL
make
make test

%install
rm -rf $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-, root, root)
%doc README
%doc %{_mandir}/man?/*
%{perl_vendorlib}/Getopt
%{perl_vendorarch}/auto/Getopt
/var/adm/perl-modules/%{name}

%changelog
* Mon Mar 12 2007 - pth@suse.de
- Update to 1.09:
       - Fix for running with taint checks turned on
       - Getopt::Mixed is now obsolete
       - now released under Perl's license terms
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Sun Jan 11 2004 - adrian@suse.de
- build as user
* Fri Aug 22 2003 - mjancar@suse.cz
- require the perl version we build with
* Thu Jul 17 2003 - pthomas@suse.de
- Use vendor* instead of site* for installation.
* Tue Jul 01 2003 - ro@suse.de
- use perl_process_packlist macro
* Sun Jun 22 2003 - coolo@suse.de
- package directories
* Mon May 26 2003 - ro@suse.de
- remove unpackaged files from buildroot
* Mon Nov 25 2002 - pthomas@suse.de
- Initial package (1.008).