2007-05-22 04:40:01 +02:00
|
|
|
#
|
2011-11-11 12:17:51 +01:00
|
|
|
# spec file for package perl-File-HomeDir
|
2007-05-22 04:40:01 +02:00
|
|
|
#
|
2018-05-18 20:01:31 +02:00
|
|
|
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
2007-05-22 04:40:01 +02:00
|
|
|
#
|
2009-01-21 17:55:26 +01:00
|
|
|
# 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.
|
|
|
|
|
2007-05-22 04:40:01 +02:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2011-11-11 12:17:51 +01:00
|
|
|
|
2007-05-22 04:40:01 +02:00
|
|
|
Name: perl-File-HomeDir
|
2018-05-18 20:01:31 +02:00
|
|
|
Version: 1.004
|
2011-12-19 16:37:02 +01:00
|
|
|
Release: 0
|
2011-03-31 13:48:46 +02:00
|
|
|
%define cpan_name File-HomeDir
|
|
|
|
Summary: Find your home and other directories on any platform
|
2018-05-18 20:01:31 +02:00
|
|
|
License: Artistic-1.0 OR GPL-1.0-or-later
|
2011-03-31 13:48:46 +02:00
|
|
|
Group: Development/Libraries/Perl
|
2011-12-19 16:37:02 +01:00
|
|
|
Url: http://search.cpan.org/dist/File-HomeDir/
|
2017-09-23 17:10:50 +02:00
|
|
|
Source0: https://cpan.metacpan.org/authors/id/R/RE/REHSACK/%{cpan_name}-%{version}.tar.gz
|
|
|
|
Source1: cpanspec.yml
|
2010-07-23 21:48:20 +02:00
|
|
|
BuildArch: noarch
|
2007-05-22 04:40:01 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2010-07-23 21:48:20 +02:00
|
|
|
BuildRequires: perl
|
|
|
|
BuildRequires: perl-macros
|
2017-09-23 17:10:50 +02:00
|
|
|
BuildRequires: perl(File::Path) >= 2.010000
|
2011-03-31 13:48:46 +02:00
|
|
|
BuildRequires: perl(File::Temp) >= 0.19
|
|
|
|
BuildRequires: perl(File::Which) >= 0.05
|
2017-09-23 17:10:50 +02:00
|
|
|
BuildRequires: perl(Test::More) >= 0.9
|
|
|
|
Requires: perl(File::Path) >= 2.010000
|
2011-03-31 13:48:46 +02:00
|
|
|
Requires: perl(File::Temp) >= 0.19
|
|
|
|
Requires: perl(File::Which) >= 0.05
|
|
|
|
%{perl_requires}
|
2007-05-22 04:40:01 +02:00
|
|
|
|
|
|
|
%description
|
2011-03-31 13:48:46 +02:00
|
|
|
*File::HomeDir* is a module for locating the directories that are "owned"
|
2018-05-18 20:01:31 +02:00
|
|
|
by a user (typically your user) and to solve the various issues that arise
|
2011-03-31 13:48:46 +02:00
|
|
|
trying to find them consistently across a wide variety of platforms.
|
|
|
|
|
|
|
|
The end result is a single API that can find your resources on any
|
|
|
|
platform, making it relatively trivial to create Perl software that works
|
|
|
|
elegantly and correctly no matter where you run it.
|
2007-05-22 04:40:01 +02:00
|
|
|
|
|
|
|
%prep
|
2010-07-23 21:48:20 +02:00
|
|
|
%setup -q -n %{cpan_name}-%{version}
|
2007-05-22 04:40:01 +02:00
|
|
|
|
|
|
|
%build
|
2010-07-23 21:48:20 +02:00
|
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
|
|
%{__make} %{?_smp_mflags}
|
2007-10-19 04:41:16 +02:00
|
|
|
|
|
|
|
%check
|
2010-07-23 21:48:20 +02:00
|
|
|
%{__make} test
|
2007-05-22 04:40:01 +02:00
|
|
|
|
|
|
|
%install
|
2007-10-19 04:41:16 +02:00
|
|
|
%perl_make_install
|
2011-03-31 13:48:46 +02:00
|
|
|
%perl_process_packlist
|
2010-07-23 21:48:20 +02:00
|
|
|
%perl_gen_filelist
|
|
|
|
|
|
|
|
%files -f %{name}.files
|
2012-02-21 10:08:15 +01:00
|
|
|
%defattr(-,root,root,755)
|
2017-09-23 17:10:50 +02:00
|
|
|
%doc Changes README.md
|
|
|
|
%license LICENSE
|
2009-01-21 17:55:26 +01:00
|
|
|
|
2007-05-22 04:40:01 +02:00
|
|
|
%changelog
|