1
0
perl-File-HomeDir/perl-File-HomeDir.spec

100 lines
3.1 KiB
RPMSpec

#
# spec file for package perl-File-HomeDir (Version 0.82)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: perl-File-HomeDir
Version: 0.82
Release: 1
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic License; GPL v2 or later
Url: http://search.cpan.org/~adamk/File-HomeDir
Summary: Find your home and other directories, on any platform
Source: File-HomeDir-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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.
Thus, a single API is presented that can find your resources on any
platform.
Authors:
--------
Adam Kennedy <adamk@cpan.org>
Sean M. Burke <sburke@cpan.org>
Chris Nandor <cnandor@cpan.org>
Stephen Steneker <stennie@cpan.org>
%prep
%setup -q -n File-HomeDir-%{version}
# ---------------------------------------------------------------------------
%build
perl Makefile.PL
make
# ---------------------------------------------------------------------------
%check
make test
# ---------------------------------------------------------------------------
%install
%perl_make_install
%perl_process_packlist
# ---------------------------------------------------------------------------
%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}
%changelog
* Wed Jan 21 2009 pth@suse.de
- Update to 0.82.
Changes since 0.66:
- When we get more than one warning, diagnose the warnings so that
we have actually have a chance to get rid of the extra warnings.
- Updating to Module::Install 0.77
- Localising $@ during evals
- Updating Perl version dependency to 5.00503
- File::HomeDir should now support "Perl on a Stick"
- Added `my_dot_config`.
- Adding a base driver class.
- Updating bundled author tests
* Wed Oct 17 2007 pth@suse.de
- Update to 0.66:
- Spurious failures on some path-levels of 5.9.0 due to a warnings
bug regression. Skip the relevant test on Perl 5.9.0.
- Remove a -w flag in 02_main.t so test runs under tainting
* Wed May 16 2007 pth@suse.de
- Initial package.