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

#
# spec file for package perl-Getopt-Mixed (Version 1.10)
#
# 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

%define module Getopt-Mixed

Name:           perl-Getopt-Mixed
BuildRequires:  perl-Test-Pod-Coverage
Version:        1.10
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

%check
make test

%install
make DESTDIR=%buildroot install_vendor
%perl_process_packlist

%clean
rm -rf %buildroot

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

%changelog
* Wed Jan 21 2009 pth@suse.de
- Update to 1.10:
  - Use strict
  - Added pod.t & pod-coverage.t
  - Moved example scripts to examples/ and make them use strict
* 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
* Sun May 25 2003 ro@suse.de
- remove unpackaged files from buildroot
* Mon Nov 25 2002 pthomas@suse.de
- Initial package (1.008).
openSUSE Build Service is sponsored by