License: The Perl 5 License (Artistic 1 & GPL 1)
Group: Development/Libraries
URL: http://search.cpan.org/dist/File-HomeDir/
Source0: http://search.cpan.org/CPAN/authors/id/A/AD/ADAMK/File-HomeDir-1.00.tar.gz
%define sha1 File-HomeDir=c89743d57e15fba79238728f0456f80160aff024
Vendor: VMware, Inc.
Distribution: Photon
BuildArch: noarch
BuildRequires: perl
Requires: perl
Requires: perl-File-Which
%description
File::HomeDir is a module for locating the directories that are "owned" by a user (typicaly 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}
%build
perl Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot}
find %{buildroot} -name 'perllocal.pod' -delete
%check
make test
%files
%{perl_vendorlib}/File/HomeDir.pm
%{perl_vendorlib}/File/HomeDir/Darwin.pm
%{perl_vendorlib}/File/HomeDir/Darwin/Carbon.pm
%{perl_vendorlib}/File/HomeDir/Darwin/Cocoa.pm
%{perl_vendorlib}/File/HomeDir/Driver.pm
%{perl_vendorlib}/File/HomeDir/FreeDesktop.pm
%{perl_vendorlib}/File/HomeDir/MacOS9.pm
%{perl_vendorlib}/File/HomeDir/Test.pm
%{perl_vendorlib}/File/HomeDir/Unix.pm
%{perl_vendorlib}/File/HomeDir/Windows.pm
%{_mandir}/man3
%{_mandir}/man3/File::HomeDir.3.gz
%{_mandir}/man3/File::HomeDir::Darwin.3.gz
%{_mandir}/man3/File::HomeDir::Darwin::Carbon.3.gz
%{_mandir}/man3/File::HomeDir::Darwin::Cocoa.3.gz
%{_mandir}/man3/File::HomeDir::Driver.3.gz
%{_mandir}/man3/File::HomeDir::FreeDesktop.3.gz
%{_mandir}/man3/File::HomeDir::MacOS9.3.gz
%{_mandir}/man3/File::HomeDir::Test.3.gz
%{_mandir}/man3/File::HomeDir::Unix.3.gz
%{_mandir}/man3/File::HomeDir::Windows.3.gz
%changelog |