Accepting request 43643 from devel:languages:perl

Copy from devel:languages:perl/perl-File-HomeDir based on submit request 43643 from user computersalat

OBS-URL: https://build.opensuse.org/request/show/43643
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-HomeDir?expand=0&rev=10
This commit is contained in:
OBS User autobuild 2010-07-23 19:48:20 +00:00 committed by Git OBS Bridge
parent 0a656b8eaf
commit 2706ce7fcc
4 changed files with 92 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3566b86a7bbd16ce5e40cf7db906bfd71a5dd5a0be0950254eaa28144df8f7e2
size 33180

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6a716b284b801bbf6bc5fdc24fe6cafb9dbec7933459f4d533567ffb7f440ad
size 41266

View File

@ -1,3 +1,45 @@
-------------------------------------------------------------------
Wed Jul 21 15:17:41 UTC 2010 - chris@computersalat.de
- update to 0.91
- Moving the FreeDesktop driver to prod
- Adding File::HomeDir::Test driver
- 0.90_04 Fri 12 Feb 2010
- Adding missing prereq
- 0.90_03 Tue 9 Feb 2010
- Using FreeDesktop implementation only if xdg-user-script is
present, since it's now what's been used internally. This should
prevent test failures seen in _02. (JQUELIN)
- 0.90_02 Thu 14 Jan 2010
- Adding support for the alternate FreeBSD xdg directory (JQUELIN)
- Improved specification compliance (DAXIM)
- 0.90_01 Thu 7 Jan 2010
- WARNING: This release introduces a major backwards incompatibility
for Unix users. The results returned by most methods may change.
- Added complete implementation of the FreeDesktop specification and
auto-detection of the Unix hosts to which it applies (JQUELIN)
- 01_compile.t now loads all backends (since on most platforms,
most backends will never normally be loaded).
- 0.89 Sun 3 Jan 2010
- Loosen the testing intensity on Darwin Carbon backends to prevent
issues with consumer directories prevent installation entirely.
- 0.88 Tue 24 Nov 2009
- Switching to a production release
- 0.87_01 Sat 3 Oct 2009
- First developer implementation of improved Mac support
- 0.86 Fri 27 Mar 2009
- Bug fix for the 64-bit implementation
- 0.85_01 Fri 27 Mar 2009
- For 64-bit perl on Darwin, fall back to File::HomeDir::Unix
as Mac::Carbon is not available
- 0.84 Wed 11 Mar 2009
- Adds support for $ENV{HOME} on Darwin
- Other bug fixes on Darwin (MIYAGAWA)
- 0.83_01 Sat 1 Nov 2008
- Patch from Darin McBride to fix user_home on Darwin.
- recreated by cpanspec 1.78
- noarch pkg
-------------------------------------------------------------------
Sun Jan 10 15:43:32 CET 2010 - jengelh@medozas.de

View File

@ -1,5 +1,5 @@
#
# spec file for package perl-File-HomeDir (Version 0.82)
# spec file for package perl-File-HomeDir (Version 0.91)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -19,28 +19,44 @@
Name: perl-File-HomeDir
Version: 0.82
Release: 2
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic ; GPLv2+
Url: http://search.cpan.org/~adamk/File-HomeDir
%define cpan_name File-HomeDir
Summary: Find your home and other directories, on any platform
Source: File-HomeDir-%{version}.tar.bz2
Version: 0.91
Release: 1
License: GPL+ or Artistic
Group: Development/Libraries/Perl
Url: http://search.cpan.org/dist/File-HomeDir/
#Source: http://www.cpan.org/modules/by-module/File/File-HomeDir-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.bz2
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
%if 0%{?suse_version} < 1120
BuildRequires: perl-macros
%endif
BuildRequires: perl(Carp)
BuildRequires: perl(Cwd) >= 3.12
BuildRequires: perl(File::Spec) >= 3.12
# author wants >= 0.19, but can't agree this
#BuildRequires: perl(File::Temp) >= 0.19
BuildRequires: perl(File::Temp)
BuildRequires: perl(File::Which)
Requires: perl = %{perl_version}
Requires: perl(Carp)
Requires: perl(Cwd) >= 3.12
Requires: perl(File::Spec) >= 3.12
#Requires: perl(File::Temp) >= 0.19
Requires: perl(File::Temp)
Requires: perl(File::Which)
%description
File::HomeDir is a module for dealing with issues relating to the
location of directories that are "owned" by a user, primarily your
user, and to solve these issues consistently across a wide variety of
platforms.
File::HomeDir is a module for dealing with issues relating to the location
of directories that are "owned" by a user, primarily your user, and to
solve these issues consistently across a wide variety of platforms.
Thus, a single API is presented that can find your resources on any
platform.
Authors:
--------
Adam Kennedy <adamk@cpan.org>
@ -49,32 +65,30 @@ Authors:
Stephen Steneker <stennie@cpan.org>
%prep
%setup -q -n File-HomeDir-%{version}
# ---------------------------------------------------------------------------
%setup -q -n %{cpan_name}-%{version}
%build
perl Makefile.PL
make %{?_smp_mflags}
# ---------------------------------------------------------------------------
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
make test
# ---------------------------------------------------------------------------
%{__make} test
%install
%perl_make_install
%perl_process_packlist
# ---------------------------------------------------------------------------
# do not perl_process_packlist (noarch)
# remove .packlist file
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
# remove perllocal.pod file
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
%perl_gen_filelist
%files
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files -f %{name}.files
%defattr(-,root,root,-)
%doc Changes MANIFEST README
%doc %{_mandir}/man?/*
%dir %{perl_vendorlib}/File
%{perl_vendorlib}/File/HomeDir.pm
%{perl_vendorlib}/File/HomeDir
%dir %{perl_vendorarch}/auto/File
%{perl_vendorarch}/auto/File/HomeDir
/var/adm/perl-modules/%{name}
%doc Changes LICENSE README
%changelog