This commit is contained in:
parent
8dbec97236
commit
618b8c678b
@ -1,3 +1,18 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 25 19:41:55 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- spec mods
|
||||
* removed ^----------
|
||||
* removed ^#---------
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 27 20:58:15 CEST 2009 - chris@computersalat.de
|
||||
|
||||
- added perl-macros
|
||||
o autogen filelist with perl_gen_filelist
|
||||
- spec mods
|
||||
o fixed desc (from README)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 12 13:35:38 CEST 2008 - cwh@suse.de
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package perl-Regexp-Common (Version 2.122)
|
||||
#
|
||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# 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
|
||||
@ -19,85 +19,58 @@
|
||||
|
||||
|
||||
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/
|
||||
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||||
Summary: Provide commonly requested regular expressions
|
||||
Source: Regexp-Common-%{version}.tar.bz2
|
||||
Version: 2.122
|
||||
Release: 3
|
||||
License: Artistic License ..
|
||||
Group: Development/Libraries/Perl
|
||||
AutoReqProv: on
|
||||
Url: http://search.cpan.org/dist/Regexp-Common
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
BuildRequires: perl-macros
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%description
|
||||
Provides regular expression patterns useful for validating all sorts of
|
||||
data.
|
||||
By default, this module exports a single hash (`%RE') that stores or
|
||||
generates commonly needed regular expressions. Patterns currently
|
||||
provided include:
|
||||
|
||||
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>
|
||||
* balanced parentheses and brackets
|
||||
* delimited text (with escapes)
|
||||
* integers and floating-point numbers in any base (up to 36)
|
||||
* comments in 44 languages
|
||||
* offensive language
|
||||
* lists of any pattern
|
||||
* IPv4 addresses
|
||||
* URIs.
|
||||
* Zip codes.
|
||||
|
||||
Authors:
|
||||
Damian Conway <damian@conway.org>
|
||||
Abigail <regexp-common@abigail.nl>
|
||||
%prep
|
||||
%setup -n Regexp-Common-%{version}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make
|
||||
CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL
|
||||
%{__make}
|
||||
|
||||
%check
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__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}
|
||||
%files -f %{name}.files
|
||||
%defattr(-,root,root)
|
||||
%doc README
|
||||
|
||||
%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
|
||||
|
Loading…
Reference in New Issue
Block a user