OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-File-Find-Rule?expand=0&rev=1
This commit is contained in:
commit
c0f12f5175
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
File-Find-Rule-0.30.tar.gz
Normal file
3
File-Find-Rule-0.30.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:74f4b3e8c7694b9995678988a9893d2d652d285cfd14d6699fdfafc6a9550846
|
||||||
|
size 14684
|
47
perl-File-Find-Rule.spec
Normal file
47
perl-File-Find-Rule.spec
Normal file
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user