initial package
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-ExtUtils-InstallPaths?expand=0&rev=1
This commit is contained in:
commit
3938f6dd70
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
ExtUtils-InstallPaths-0.009.tar.gz
Normal file
3
ExtUtils-InstallPaths-0.009.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1b0827a4acf40d38552c4348767000f7e2d8cf5fd0d19436bf8747d2a72d77bc
|
||||
size 18496
|
6
perl-ExtUtils-InstallPaths.changes
Normal file
6
perl-ExtUtils-InstallPaths.changes
Normal file
@ -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
|
||||
|
116
perl-ExtUtils-InstallPaths.spec
Normal file
116
perl-ExtUtils-InstallPaths.spec
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user