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

#
# spec file for package perl-Regexp-Shellish (Version 0.93)
#
# Copyright (c) 2005 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://www.suse.de/feedback/
#

# norootforbuild

Name:         perl-Regexp-Shellish
License:      Artistic License
Group:        Development/Languages/Perl
URL:          http://cpan.org/
Requires:     perl = %{perl_version}
Autoreqprov:  on
Summary:      Shell-like regular expressions
Version:      0.93
Release:      2
Source:       http://cpan.org/modules/by-module/Regexp/Regexp-Shellish-%{version}.tar.gz
BuildRoot:    %{_tmppath}/%{name}-%{version}-build

%description
Provides shell-like regular expressions.  The wildcards provided are ?,
* and **, where ** is like * but matches /.  See compile_shellish for
details.



Authors:
--------
    Barrie Slaymaker <barries at slaysys dot com>

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

%build
perl Makefile.PL
%{__make}

%install
%perl_make_install
%perl_process_packlist

%clean
[ "${RPM_BUILD_ROOT}" != "/" -a -d ${RPM_BUILD_ROOT} ] && rm -rf ${RPM_BUILD_ROOT}

%files
%defattr(-, root, root)
%dir %{perl_vendorlib}/Regexp
%{perl_vendorlib}/Regexp/Shellish.pm
%dir %{perl_vendorarch}/auto/Regexp
%dir %{perl_vendorarch}/auto/Regexp/Shellish
%{perl_vendorarch}/auto/Regexp/Shellish/.packlist
%{_mandir}/man3/Regexp::Shellish.3pm.gz
/var/adm/perl-modules/%{name}

%changelog -n perl-Regexp-Shellish
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Feb 16 2005 - schwab@suse.de
- Don't remove BuildRoot in %%install.
* Mon Feb 14 2005 - lmuelle@suse.de
- Initial SuSE package.