automatic version update by autodist [release 1.00-1mamba;Wed Oct 24 2012]

This commit is contained in:
Automatic Build System 2024-01-06 08:59:21 +01:00
parent d7b98e294c
commit 8eb81ab767
2 changed files with 85 additions and 0 deletions

View File

@ -1,2 +1,7 @@
# perl-File-HomeDir
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.

80
perl-File-HomeDir.spec Normal file
View File

@ -0,0 +1,80 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-File-HomeDir
Version: 1.00
Release: 1mamba
Summary: File::HomeDir - Find your home and other directories on any platform
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-%{version}.tar.gz
License: GPL, Artistic
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(File::Path)
BuildRequires: perl(File::Spec)
BuildRequires: perl(File::Temp)
BuildRequires: perl-File-Which
BuildRequires: perl(Test::Pod)
# TODO BuildRequires: perl(Test::MinimumVersion)
BuildRequires: perl(Test::More)
BuildRequires: perl-devel
Requires: perl(Cwd)
Requires: perl(File::Path)
Requires: perl(File::Spec)
Requires: perl(File::Temp)
Requires: perl-File-Which
Requires: perl >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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.
%prep
%setup -q -n File-HomeDir-%{version}
#%patch0 -p1
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w %{buildroot}/*
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{perl_vendorlib}/File/
%{_mandir}/man3/*.3pm.gz
%doc Changes LICENSE README
%changelog
* Wed Oct 24 2012 Automatic Build System <autodist@mambasoft.it> 1.00-1mamba
- automatic version update by autodist
* Fri Apr 27 2012 Automatic Build System <autodist@mambasoft.it> 0.99-1mamba
- automatic version update by autodist
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.98-1mamba
- automatic version update by autodist
* Mon May 02 2011 Automatic Build System <autodist@mambasoft.it> 0.97-1mamba
- automatic update by autodist
* Fri Feb 18 2011 gil <puntogil@libero.it> 0.93-1mamba
- package created by autospec