Package init
This commit is contained in:
commit
211160696a
BIN
File-HomeDir-1.004.tar.gz
Normal file
BIN
File-HomeDir-1.004.tar.gz
Normal file
Binary file not shown.
55
perl-File-HomeDir.spec
Normal file
55
perl-File-HomeDir.spec
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
Name: perl-File-HomeDir
|
||||||
|
Version: 1.004
|
||||||
|
Release: 4
|
||||||
|
Summary: A tool to find your home and other directories on any platform
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
URL: https://metacpan.org/release/File-HomeDir
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/File-HomeDir-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
BuildRequires: coreutils make git
|
||||||
|
BuildRequires: perl-generators perl-interpreter perl(File::Temp) >= 0.19 perl(File::Which) >= 0.05 perl(Test::More) >= 0.90
|
||||||
|
BuildRequires: perl(:VERSION) >= 5.5.3 perl(ExtUtils::MakeMaker) >= 6.76 perl(Cwd) >= 3.12 perl(File::Path) >= 2.01 perl(File::Spec) >= 3.12
|
||||||
|
BuildRequires: perl(Config) perl(strict) perl(warnings) perl(base) perl(Carp) perl(Exporter) perl(vars) perl(File::Spec::Functions)
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
|
||||||
|
Requires: perl(Cwd) >= 3.12 perl(File::Path) >= 2.01 perl(File::Spec) >= 3.12 perl(File::Temp) >= 0.19 perl(File::Which) >= 0.05
|
||||||
|
|
||||||
|
%global __requires_exclude perl\\(Cwd\\)|perl\\(File::Path\\)|perl\\(File::Spec\\)|perl\\(File::Temp\\)|perl\\(File::Which\\)|perl\\(Mac::|perl\\(Win32
|
||||||
|
|
||||||
|
%description
|
||||||
|
File::HomeDir is a module for locating the directories that are "owned"
|
||||||
|
by a user (typically your user) and to solve the various issues that
|
||||||
|
arise trying to find them consistently across a wide variety of
|
||||||
|
platforms.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Including man files for perl-File-HomeDir
|
||||||
|
Requires: man
|
||||||
|
|
||||||
|
%description help
|
||||||
|
This contains man files for the using of perl-File-HomeDir.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n File-HomeDir-%{version} -p1 -S git
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1 NO_PERLLOCAL=1
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README.md
|
||||||
|
%license LICENSE
|
||||||
|
%{perl_vendorlib}/File/
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man3/File*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Sun Sep 15 2019 huangzheng <huangzheng22@huawei.com> - 1.004-4
|
||||||
|
- Package init
|
||||||
Loading…
x
Reference in New Issue
Block a user