From 3938f6dd70f46167903f06b06c75ba243adff1381b616814996b526d3591b49c Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Wed, 5 Jun 2013 10:53:14 +0000 Subject: [PATCH] initial package OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-InstallPaths?expand=0&rev=1 --- .gitattributes | 23 ++++++ .gitignore | 1 + ExtUtils-InstallPaths-0.009.tar.gz | 3 + perl-ExtUtils-InstallPaths.changes | 6 ++ perl-ExtUtils-InstallPaths.spec | 116 +++++++++++++++++++++++++++++ 5 files changed, 149 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 ExtUtils-InstallPaths-0.009.tar.gz create mode 100644 perl-ExtUtils-InstallPaths.changes create mode 100644 perl-ExtUtils-InstallPaths.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/ExtUtils-InstallPaths-0.009.tar.gz b/ExtUtils-InstallPaths-0.009.tar.gz new file mode 100644 index 0000000..57cfbf1 --- /dev/null +++ b/ExtUtils-InstallPaths-0.009.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b0827a4acf40d38552c4348767000f7e2d8cf5fd0d19436bf8747d2a72d77bc +size 18496 diff --git a/perl-ExtUtils-InstallPaths.changes b/perl-ExtUtils-InstallPaths.changes new file mode 100644 index 0000000..5193f98 --- /dev/null +++ b/perl-ExtUtils-InstallPaths.changes @@ -0,0 +1,6 @@ +------------------------------------------------------------------- +Wed Jun 5 10:53:10 UTC 2013 - coolo@suse.com + +- initial package 0.009 + * created by cpanspec 1.78.06 + diff --git a/perl-ExtUtils-InstallPaths.spec b/perl-ExtUtils-InstallPaths.spec new file mode 100644 index 0000000..19c749f --- /dev/null +++ b/perl-ExtUtils-InstallPaths.spec @@ -0,0 +1,116 @@ +# +# spec file for package perl-ExtUtils-InstallPaths +# +# Copyright (c) 2013 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-ExtUtils-InstallPaths +Version: 0.009 +Release: 0 +%define cpan_name ExtUtils-InstallPaths +Summary: Build.PL install path logic made easy +License: Artistic-1.0 or GPL-1.0+ +Group: Development/Libraries/Perl +Url: http://search.cpan.org/dist/ExtUtils-InstallPaths/ +Source: http://www.cpan.org/authors/id/L/LE/LEONT/%{cpan_name}-%{version}.tar.gz +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildRequires: perl +BuildRequires: perl-macros +BuildRequires: perl(ExtUtils::Config) >= 0.002 +#BuildRequires: perl(ExtUtils::InstallPaths) +Requires: perl(ExtUtils::Config) >= 0.002 +%{perl_requires} + +%description +This module tries to make install path resolution as easy as possible. + +When you want to install a module, it needs to figure out where to install +things. The nutshell version of how this works is that default installation +locations are determined from the ExtUtils::Config manpage, and they may be +individually overridden by using the 'install_path' attribute. An +'install_base' attribute lets you specify an alternative installation root +like _/home/foo_ and 'prefix' does something similar in a rather different +(and more complicated) way. 'destdir' lets you specify a temporary +installation directory like _/tmp/install_ in case you want to create +bundled-up installable packages. + +The following types are supported by default. + +* * lib + + Usually pure-Perl module files ending in _.pm_ or _.pod_. + +* * arch + + "Architecture-dependent" module files, usually produced by compiling XS, + the Inline manpage, or similar code. + +* * script + + Programs written in pure Perl. In order to improve reuse, you may want to + make these as small as possible - put the code into modules whenever + possible. + +* * bin + + "Architecture-dependent" executable programs, i.e. compiled C code or + something. Pretty rare to see this in a perl distribution, but it + happens. + +* * bindoc + + Documentation for the stuff in 'script' and 'bin'. Usually generated from + the POD in those files. Under Unix, these are manual pages belonging to + the 'man1' category. Unless explicitly set, this is only available on + platforms supporting manpages. + +* * libdoc + + Documentation for the stuff in 'lib' and 'arch'. This is usually + generated from the POD in _.pm_ and _.pod_ files. Under Unix, these are + manual pages belonging to the 'man3' category. Unless explicitly set, + this is only available on platforms supporting manpages. + +* * binhtml + + This is the same as 'bindoc' above, but applies to HTML documents. Unless + explicitly set, this is only available when perl was configured to do so. + +* * libhtml + + This is the same as 'libdoc' above, but applies to HTML documents. Unless + explicitly set, this is only available when perl was configured to do so. + +%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 + +%files -f %{name}.files +%defattr(-,root,root,755) +%doc Changes LICENSE README + +%changelog