From 9a8527e7e2cf085c0371a99799766730cd786cd9ecd38466f3839f721f2d25e7 Mon Sep 17 00:00:00 2001 From: Anna Maresova Date: Mon, 9 Jun 2008 15:11:40 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Text-Glob?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++++++++++ .gitignore | 1 + Text-Glob-0.08.tar.gz | 3 +++ perl-Text-Glob.spec | 45 +++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 72 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Text-Glob-0.08.tar.gz create mode 100644 perl-Text-Glob.spec 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/Text-Glob-0.08.tar.gz b/Text-Glob-0.08.tar.gz new file mode 100644 index 0000000..746de48 --- /dev/null +++ b/Text-Glob-0.08.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:245fa911e22fa3f14ee76e5419e7501c52ae37bef9a65538fd7e4b21685e8937 +size 3780 diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec new file mode 100644 index 0000000..d55dbe9 --- /dev/null +++ b/perl-Text-Glob.spec @@ -0,0 +1,45 @@ +%define cpan_name Text-Glob + +Name: perl-%cpan_name +Version: 0.08 +Release: 1 +Provides: %cpan_name +Requires: perl = %{perl_version} +Group: Development/Libraries/Perl +License: Artistic +URL: http://search.cpan.org/dist/Text-Glob/ +Summary: Tools for working with paths and file specs across platforms +Source: %cpan_name-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%description +Text::Glob implements glob(3) style matching that can be used to match against text, rather than fetching names from a filesystem. If you want to do full file globbing use the File::Glob module instead. + +%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) +%doc %{_mandir}/man?/* +%{perl_vendorlib}/Text +%{perl_vendorarch}/auto/Text +/var/adm/perl-modules/%{name} +%doc Changes MANIFEST README + +%changelog -n %{name} +* Sun Jun 08 2008 - gerrit.beine@gmx.de +- first release 0.08 +