.gear/rules | 2 + .../tags/3fac9e7dd59fdd4b8efe963cda0fbbdef7ce3f70 | 13 +++++ .gear/tags/list | 1 + lib/File/HomeDir/Darwin.pm | 2 +- lib/File/HomeDir/MacOS9.pm | 2 +- perl-File-HomeDir.spec | 55 ++++++++++++++++++++ 6 files changed, 73 insertions(+), 2 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..b9bc1cb --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: @version@:. name=File-HomeDir-@version@ +diff: @version@:. . name=perl-File-HomeDir-@version@-@release@.patch diff --git a/.gear/tags/3fac9e7dd59fdd4b8efe963cda0fbbdef7ce3f70 b/.gear/tags/3fac9e7dd59fdd4b8efe963cda0fbbdef7ce3f70 new file mode 100644 index 0000000..c6677df --- /dev/null +++ b/.gear/tags/3fac9e7dd59fdd4b8efe963cda0fbbdef7ce3f70 @@ -0,0 +1,13 @@ +object 3f4cdf52c198bfb822589587034a4dcd38e847a7 +type commit +tag 0.80 +tagger Alexey Tourbin 1218336617 +0400 + +0.80 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.9 (GNU/Linux) + +iEYEABECAAYFAkieV2oACgkQfBKgtDjnu0aZtgCePyue0ZWdIEZycXZy32is/zuA +dQ4AnjZCIu9MBUtFZCumALEI7GxfA1oQ +=hLLq +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..c400da0 --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +3fac9e7dd59fdd4b8efe963cda0fbbdef7ce3f70 0.80 diff --git a/lib/File/HomeDir/Darwin.pm b/lib/File/HomeDir/Darwin.pm index 70085f9..d270748 100644 --- a/lib/File/HomeDir/Darwin.pm +++ b/lib/File/HomeDir/Darwin.pm @@ -17,7 +17,7 @@ BEGIN { # Load early if in a forking environment and we have # prefork, or at run-time if not. -SCOPE: { +if ($^O eq 'darwin') { local $@; eval "use prefork 'Mac::Files'"; } diff --git a/lib/File/HomeDir/MacOS9.pm b/lib/File/HomeDir/MacOS9.pm index fdbc75c..c951b5d 100644 --- a/lib/File/HomeDir/MacOS9.pm +++ b/lib/File/HomeDir/MacOS9.pm @@ -17,7 +17,7 @@ BEGIN { # Load early if in a forking environment and we have # prefork, or at run-time if not. -SCOPE: { +if ($^O eq 'MacOS') { local $@; eval "use prefork 'Mac::Files'"; } diff --git a/perl-File-HomeDir.spec b/perl-File-HomeDir.spec new file mode 100644 index 0000000..687e2c3 --- /dev/null +++ b/perl-File-HomeDir.spec @@ -0,0 +1,55 @@ +%define dist File-HomeDir +Name: perl-%dist +Version: 0.80 +Release: alt1 + +Summary: Get the home directory for yourself or other users +License: GPL or Artistic +Group: Development/Perl + +URL: %CPAN %dist +Source: %dist-%version.tar +Patch: %name-%version-%release.patch + +BuildArch: noarch + +# Automatically added by buildreq on Sun Aug 10 2008 +BuildRequires: perl-Module-Install + +%description +File::HomeDir is a module for dealing with issues relating to the +location of directories for various purposes that are "owned" by a user, +and to solve these problems consistently across a wide variety of +platforms. + +%prep +%setup -q -n %dist-%version +%patch -p1 +rm -rv inc/ + +%build +%perl_vendor_build + +%install +%perl_vendor_install + +%files +%doc Changes README +%perl_vendor_privlib/File* + +%changelog +* Sun Aug 10 2008 Alexey Tourbin 0.80-alt1 +- 0.65 -> 0.80 + +* Sun Jun 17 2007 Alexey Tourbin 0.65-alt1 +- 0.63 -> 0.65 + +* Thu Feb 01 2007 Alexey Tourbin 0.63-alt1 +- 0.60_03 -> 0.63 + +* Thu Oct 26 2006 Alexey Tourbin 0.60-alt1 +- 0.58 -> 0.60_03 +- imported sources into git and built with gear + +* Thu Aug 10 2006 Alexey Tourbin 0.58-alt1 +- initial revision, for AppConfig 1.63