perl-File-HomeDir/perl-File-HomeDir.spec
OBS User autobuild 3bb12965ed Accepting request 29301 from devel:languages:perl
Copy from devel:languages:perl/perl-File-HomeDir based on submit request 29301 from user coolo

OBS-URL: https://build.opensuse.org/request/show/29301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-File-HomeDir?expand=0&rev=6
2010-01-12 11:06:33 +00:00

81 lines
2.4 KiB
RPMSpec

#
# spec file for package perl-File-HomeDir (Version 0.82)
#
# Copyright (c) 2010 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: 2
Requires: perl = %{perl_version}
AutoReqProv: on
Group: Development/Libraries/Perl
License: Artistic ; GPLv2+
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 %{?_smp_mflags}
# ---------------------------------------------------------------------------
%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