generated from smedev/Template-for-SMEServer-Core-Perl
* Tue Feb 08 2022 Gavin Carr <gavin@openfusion.net> 0.122-1
- Update to version 0.122.
This commit is contained in:
parent
ae8bb57ee3
commit
1600bef11a
BIN
Path-Tiny-0.122.tar.gz
(Stored with Git LFS)
Normal file
BIN
Path-Tiny-0.122.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -1,57 +1,88 @@
|
||||
%define name perl-Path-Tiny
|
||||
%define version 1.0
|
||||
%define release 1
|
||||
Summary: This is what perl-Path-Tiny does.
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{release}%{?dist}
|
||||
Source: %{name}-%{version}.tar.gz
|
||||
License: GNU GPL version 2
|
||||
Group: SMEserver/addon
|
||||
BuildRoot: %{_tmppath}/%{name}-buildroot
|
||||
Prefix: %{_prefix}
|
||||
BuildArchitectures: noarch
|
||||
BuildRequires: smeserver-devtools
|
||||
Requires: smeserver-release >= 11.0
|
||||
AutoReqProv: no
|
||||
Name: perl-Path-Tiny
|
||||
Version: 0.122
|
||||
Release: 1%{?org_tag}%{?dist}
|
||||
Summary: File path utility
|
||||
License: Apache Software License
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Path-Tiny/
|
||||
Source0: http://localhost/cpan//authors/id/D/DA/DAGOLDEN/Path-Tiny-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl-interpreter
|
||||
BuildRequires: perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl >= 0:5.008001
|
||||
BuildRequires: perl(ExtUtils::MakeMaker) >= 6.17
|
||||
BuildRequires: perl(Digest) >= 1.03
|
||||
BuildRequires: perl(Digest::MD5)
|
||||
BuildRequires: perl(Digest::SHA) >= 5.45
|
||||
BuildRequires: perl(Exporter) >= 5.57
|
||||
BuildRequires: perl(File::Path) >= 2.07
|
||||
BuildRequires: perl(File::Spec) >= 3.40
|
||||
BuildRequires: perl(File::Temp) >= 0.19
|
||||
BuildRequires: perl(File::Spec) >= 3.40
|
||||
BuildRequires: perl(File::Temp) >= 0.19
|
||||
BuildRequires: perl(Test::More) >= 0.96
|
||||
BuildRequires: perl(Unicode::UTF8) >= 0.58
|
||||
BuildRequires: perl(CPAN::Meta) >= 2.120900
|
||||
BuildRequires: perl(Test::FailWarnings)
|
||||
BuildRequires: perl(Test::MockRandom)
|
||||
Requires: perl(Digest) >= 1.03
|
||||
Requires: perl(Digest::SHA) >= 5.45
|
||||
Requires: perl(Exporter) >= 5.57
|
||||
Requires: perl(File::Path) >= 2.07
|
||||
Requires: perl(File::Spec) >= 3.40
|
||||
Requires: perl(File::Temp) >= 0.19
|
||||
Requires: perl(Unicode::UTF8) >= 0.58
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
Autoreq: no
|
||||
%if %{rhel} >= 8
|
||||
Provides: perl(Path::Tiny) = %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
This module attempts to provide a small, fast utility for working with file
|
||||
paths. It is friendlier to use than File::Spec and provides easy access to
|
||||
functions from several other core file handling modules.
|
||||
|
||||
|
||||
%changelog
|
||||
* Day MMMM DD YYYY <brianr@koozali.org> 1.0-1.sme
|
||||
- Initial code - create RPM [SME:99999]
|
||||
This module attempts to provide a small, fast utility for working with file
|
||||
paths. It is friendlier to use than File::Spec and provides easy access to
|
||||
functions from several other core file handling modules.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q
|
||||
%setup -q -n Path-Tiny-%{version}
|
||||
|
||||
%build
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
|
||||
rm -f %{name}-%{version}-filelist
|
||||
/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \
|
||||
> %{name}-%{version}-filelist
|
||||
#echo "%doc COPYING" >> %{name}-%{version}-filelist
|
||||
#--dir <dir> 'attr(755,user,grp)' \
|
||||
#--file <file> 'attr(755,root,root)' \
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
||||
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
||||
|
||||
%{_fixperms} %{buildroot}/*
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%clean
|
||||
cd ..
|
||||
rm -rf %{name}-%{version}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%pre
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes CONTRIBUTING.mkdn dist.ini LICENSE META.json perlcritic.rc README
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%preun
|
||||
%changelog
|
||||
* Tue Feb 08 2022 Gavin Carr <gavin@openfusion.net> 0.122-1
|
||||
- Update to version 0.122.
|
||||
|
||||
%post
|
||||
* Mon Dec 14 2015 Gavin Carr <gavin@openfusion.com.au> 0.076-1
|
||||
- Update to version 0.076.
|
||||
|
||||
%postun
|
||||
#uninstall
|
||||
%files -f %{name}-%{version}-filelist
|
||||
%defattr(-,root,root)
|
||||
* Thu Jul 24 2014 Gavin Carr <gavin@openfusion.com.au> 0.055-1
|
||||
- Update to version 0.055.
|
||||
|
||||
* Wed Mar 20 2013 Gavin Carr <gavin@openfusion.com.au> 0.015-1
|
||||
- Specfile autogenerated by cpanspec 1.79.
|
||||
|
Loading…
x
Reference in New Issue
Block a user