From fa43999f0c5fb823ae91967c76e77c3e6ed9a305a228a2f58925e76f1a7aa559 Mon Sep 17 00:00:00 2001 From: Christian Wittmer Date: Thu, 10 Dec 2009 22:21:06 +0000 Subject: [PATCH] Accepting request 26220 from home:computersalat:devel:perl Copy from home:computersalat:devel:perl/perl-Sub-Identify via accept of submit request 26220 revision 1. Request was accepted with message: ok OBS-URL: https://build.opensuse.org/request/show/26220 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Sub-Identify?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + Sub-Identify-0.04.tar.bz2 | 3 ++ perl-Sub-Identify.changes | 5 +++ perl-Sub-Identify.spec | 67 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 99 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Sub-Identify-0.04.tar.bz2 create mode 100644 perl-Sub-Identify.changes create mode 100644 perl-Sub-Identify.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/Sub-Identify-0.04.tar.bz2 b/Sub-Identify-0.04.tar.bz2 new file mode 100644 index 0000000..63ea1b6 --- /dev/null +++ b/Sub-Identify-0.04.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d7e3f2abb969c6895a24e80667e74d43152053e7d041e03336d820e3a653efdd +size 39475 diff --git a/perl-Sub-Identify.changes b/perl-Sub-Identify.changes new file mode 100644 index 0000000..b3ce063 --- /dev/null +++ b/perl-Sub-Identify.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Dec 10 22:03:34 UTC 2009 - chris@computersalat.de + +- initial pkg 0.04 + diff --git a/perl-Sub-Identify.spec b/perl-Sub-Identify.spec new file mode 100644 index 0000000..39a6d13 --- /dev/null +++ b/perl-Sub-Identify.spec @@ -0,0 +1,67 @@ +# +# spec file for package perl-Sub-Identify (Version 0.04) +# +# 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 +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + +# norootforbuild + +Name: perl-Sub-Identify +%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' ) +Summary: Retrieve names of code references +Version: 0.04 +Release: 1 +License: Artistic +Group: Development/Libraries/Perl +URL: http://search.cpan.org/dist/Sub-Identify +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.14 +Requires: perl = %{perl_version} + +%description +Sub::Identify allows you to retrieve the real name of code references. +For this, it uses perl's introspection mechanism, provided by the +B module. + + Author: Rafael Garcia-Suarez + +%prep +%setup -q -n %{cpan_name}-%{version} +%{__sed} -i -e "s/^auto_install;/#auto_install;/g" Makefile.PL + +%build +perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall" +%{__make} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%files -f %{name}.files +%defattr(-,root,root) +%doc Changes + +%changelog +