8
0
Files
perl-App-perlbrew/perl-App-perlbrew.spec
Stephan Kulow 38b59aff0e - updated to 0.18
* Spotted and fixed by chad.a.davis++, an issue when bash set "noclobber" option,
    which breaks the creation of ~/.perlbrew/init. See https://rt.cpan.org/Ticket/Display.html?id=66518
  * A simple `perlbrew clean` command to clean build dir.
  * delegate `-j` arg value to `make test_harness`. by dagolden++
  * $HOME is replaced with "~" in many messages. https://rt.cpan.org/Ticket/Display.html?id=57668

OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-App-perlbrew?expand=0&rev=5
2011-04-03 14:54:55 +00:00

65 lines
2.0 KiB
RPMSpec

#
# spec file for package perl-App-perlbrew (Version 0.18)
#
# 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/
#
Name: perl-App-perlbrew
Version: 0.18
Release: 1
License: MIT
%define cpan_name App-perlbrew
Summary: Manage perl installations in your $HOME
Url: http://search.cpan.org/dist/App-perlbrew/
Group: Development/Libraries/Perl
#Source: http://www.cpan.org/authors/id/G/GU/GUGOD/App-perlbrew-%{version}.tar.gz
Source: %{cpan_name}-%{version}.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: perl
BuildRequires: perl-macros
%{perl_requires}
%description
perlbrew is a program to automate the building and installation of perl in
the users HOME. At the moment, it installs everything to
'~/perl5/perlbrew', and requires you to tweak your PATH by including a
bashrc/cshrc file it provides. You then can benefit from not having to run
'sudo' commands to install cpan modules because those are installed inside
your HOME too. It's a completely separate perl environment.
%prep
%setup -q -n %{cpan_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__make} %{?_smp_mflags}
%check
%{__make} test
%install
%perl_make_install
%perl_process_packlist
%perl_gen_filelist
%clean
%{__rm} -rf %{buildroot}
%files -f %{name}.files
%defattr(644,root,root,755)
%doc Changes LICENSE README
%changelog