commit c0f12f517594981909371068701a84502d8d9e10ba64cd84b47b7166aee19c6d Author: Anna Maresova Date: Mon Jun 9 15:04:49 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Find-Rule?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/File-Find-Rule-0.30.tar.gz b/File-Find-Rule-0.30.tar.gz new file mode 100644 index 0000000..15a82fa --- /dev/null +++ b/File-Find-Rule-0.30.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:74f4b3e8c7694b9995678988a9893d2d652d285cfd14d6699fdfafc6a9550846 +size 14684 diff --git a/perl-File-Find-Rule.spec b/perl-File-Find-Rule.spec new file mode 100644 index 0000000..512edb3 --- /dev/null +++ b/perl-File-Find-Rule.spec @@ -0,0 +1,47 @@ +%define cpan_name File-Find-Rule + +Name: perl-%cpan_name +Version: 0.30 +Release: 1 +Provides: %cpan_name +Requires: perl = %{perl_version} perl-Number-Compare perl-Text-Glob +Group: Development/Libraries/Perl +License: Artistic +URL: http://search.cpan.org/dist/File-Find-Rule/ +Summary: Alternative interface to File::Find +Source: %cpan_name-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl-Number-Compare perl-Text-Glob + +%description +File::Find::Rule is a friendlier interface to File::Find. It allows you to build rules which specify the desired files and directories. + +%prep +%setup -q -n %cpan_name-%{version} + +%build +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +make +make test + +%install +make DESTDIR=$RPM_BUILD_ROOT install_vendor +%perl_process_packlist + +%clean +# clean up the hard disc after build +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%{_bindir}/findrule* +%doc %{_mandir}/man?/* +%{perl_vendorlib}/File/Find +%{perl_vendorarch}/auto/File/Find/Rule +/var/adm/perl-modules/%{name} +%doc Changes MANIFEST README + +%changelog -n %{name} +* Sun Jun 08 2008 - gerrit.beine@gmx.de +- first release 0.30 +