62 lines
2.1 KiB
RPMSpec
62 lines
2.1 KiB
RPMSpec
Name: perl-File-HomeDir
|
|
Version: 1.006
|
|
Release: 2
|
|
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
|
|
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
|
|
|
|
%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
|
|
* Fri Jul 30 2021 chenyanpanHW <chenyanpan@huawei.com> - 1.006-2
|
|
- DESC: delete -S git from %autosetup, and delete BuildRequires git
|
|
|
|
* Wed Jan 27 2021 yuanxin <yuanxin24@huawei.com> - 1.006-1
|
|
- upgrade version to 1.006
|
|
|
|
* Sun Sep 15 2019 huangzheng <huangzheng22@huawei.com> - 1.004-4
|
|
- Package init
|