From c97203af6fd794b4373bb920ed69bfd69b241b5941599a1a706812fac4ebb9b2 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Fri, 21 Jan 2011 20:22:21 +0000 Subject: [PATCH] iniital package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Module-Install-GithubMeta?expand=0&rev=1 --- .gitattributes | 23 +++++++++ .gitignore | 1 + Module-Install-GithubMeta-0.10.tar.bz2 | 3 ++ perl-Module-Install-GithubMeta.changes | 6 +++ perl-Module-Install-GithubMeta.spec | 69 ++++++++++++++++++++++++++ 5 files changed, 102 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 Module-Install-GithubMeta-0.10.tar.bz2 create mode 100644 perl-Module-Install-GithubMeta.changes create mode 100644 perl-Module-Install-GithubMeta.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/Module-Install-GithubMeta-0.10.tar.bz2 b/Module-Install-GithubMeta-0.10.tar.bz2 new file mode 100644 index 0000000..3e14fe8 --- /dev/null +++ b/Module-Install-GithubMeta-0.10.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:48078d358cde79c9d4129a8067bd789d977540fb4bd13ada3f8d5ad9e3341bcb +size 22130 diff --git a/perl-Module-Install-GithubMeta.changes b/perl-Module-Install-GithubMeta.changes new file mode 100644 index 0000000..4601643 --- /dev/null +++ b/perl-Module-Install-GithubMeta.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Fri Jan 21 20:22:17 UTC 2011 - coolo@novell.com + +- initial package 0.10 + * created by cpanspec 1.78.03 + diff --git a/perl-Module-Install-GithubMeta.spec b/perl-Module-Install-GithubMeta.spec new file mode 100644 index 0000000..4ba017f --- /dev/null +++ b/perl-Module-Install-GithubMeta.spec @@ -0,0 +1,69 @@ +# +# spec file for package perl-Module-Install-GithubMeta (Version 0.10) +# +# Copyright (c) 2010 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/ +# + +Name: perl-Module-Install-GithubMeta +Version: 0.10 +Release: 1 +License: GPL+ or Artistic +%define cpan_name Module-Install-GithubMeta +Summary: A Module::Install extension to include GitHub meta information in META.yml +Url: http://search.cpan.org/dist/Module-Install-GithubMeta/ +Group: Development/Libraries/Perl +#Source: http://www.cpan.org/authors/id/B/BI/BINGOS/Module-Install-GithubMeta-%{version}.tar.gz +Source: %{cpan_name}-%{version}.tar.bz2 +BuildRequires: perl(Capture::Tiny) >= 0.05 +BuildRequires: perl(Module::Install) >= 0.85 +BuildRequires: perl +BuildRequires: perl-macros +Requires: perl(Module::Install) >= 0.85 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch +%{perl_requires} + +%description +Module::Install::GithubMeta is a the Module::Install manpage extension to +include GitHub the http://github.com manpage meta information in +'META.yml'. + +It automatically detects if the distribution directory is under 'git' +version control and whether the 'origin' is a GitHub repository and will +set the 'repository' and 'homepage' meta in 'META.yml' to the appropriate +URLs for GitHub. + +%prep +%setup -q -n %{cpan_name}-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +%{__make} %{?_smp_mflags} + +%check +%{__make} test + +%install +%perl_make_install +%perl_process_packlist +%perl_gen_filelist + +%clean +%{__rm} -rf %{buildroot} + +%files -f %{name}.files +%defattr(644,root,root,755) +%doc Changes LICENSE README + +%changelog