File perl-Regexp-Common.spec of Package perl-Regexp-Common

#
# spec file for package perl-Regexp-Common (Version 2.122)
#
# Copyright (c) 2008 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:           perl-Regexp-Common
Version:        2.122
Release:        1
Requires:       perl = %{perl_version}
AutoReqProv:    on
Group:          Development/Libraries/Perl
License:        Artistic License
Url:            http://search.cpan.org/~abigail/Regexp-Common-2.120/
Summary:        Provide commonly requested regular expressions
Source:         Regexp-Common-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Provides regular expression patterns useful for validating all sorts of
data.

E.g.: - strings with balanced parenthesized delimiters or arbitrary
   delimiter

- IPv4 addresses

- numbers (int, float, etc.)

- palindromes

- comments in many different programming languages

- deleting leading or trailing whitespace

and much more.



Authors:
--------
    Damian Conway <damian@conway.org>
    Abigail <regexp-common@abigail.nl>

%prep
%setup -n Regexp-Common-%{version}

%build
perl Makefile.PL 
make

%install
make DESTDIR=$RPM_BUILD_ROOT install_vendor
%perl_process_packlist

%clean
rm -rf $RPM_BUILD_ROOT

%files 
%defattr(-, root, root)
%doc MANIFEST README
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/Regexp
%{perl_vendorlib}/Regexp/Common.pm
%dir %{perl_vendorlib}/Regexp/Common
%{perl_vendorlib}/Regexp/Common/*.pm
%dir %{perl_vendorlib}/Regexp/Common/URI
%{perl_vendorlib}/Regexp/Common/URI/*.pm
%dir %{perl_vendorarch}/auto/Regexp
%dir %{perl_vendorarch}/auto/Regexp/Common
%{perl_vendorarch}/auto/Regexp/Common/.packlist
/var/adm/perl-modules/%{name}

%changelog
* Fri Sep 12 2008 cwh@suse.de
- updated to 2.122:
 - Removed spurious '=head1' from README. (Smylers)
 - Comments for 'm4', 'Modula-2', 'Modula-3', 'Ubercode', and 'ZZT-OOP'.
 - Fix for French zip codes; addes Swiss zip codes (Rafael)
 - License change:
  You now have the option to use this software under either the original
  Artistic License, the Artistic License 2.0, the MIT license, or the BSD
  license.
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Fri Jun 17 2005 cwh@suse.de
- newly packaged with version 2.120
openSUSE Build Service is sponsored by