2007-08-22 02:39:25 +00:00
|
|
|
#
|
2010-01-10 17:05:27 +00:00
|
|
|
# spec file for package perl-App-CLI (Version 0.07)
|
2007-08-22 02:39:25 +00:00
|
|
|
#
|
2010-01-13 14:46:50 +00:00
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-08-22 02:39:25 +00:00
|
|
|
#
|
2009-06-17 22:13:46 +00: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-08-22 02:39:25 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
2009-06-17 22:13:46 +00:00
|
|
|
|
2007-08-22 02:39:25 +00:00
|
|
|
Name: perl-App-CLI
|
2010-02-14 21:38:30 +00:00
|
|
|
Version: 0.07
|
|
|
|
Release: 72
|
2007-08-22 02:39:25 +00:00
|
|
|
#
|
|
|
|
Group: Development/Libraries/Perl
|
2010-01-13 14:46:50 +00:00
|
|
|
License: Artistic License .. ; GPLv2
|
2007-08-22 02:39:25 +00:00
|
|
|
#
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
BuildRequires: perl-Locale-Maketext-Simple
|
|
|
|
Requires: perl-Locale-Maketext-Simple
|
|
|
|
Requires: perl = %{perl_version}
|
|
|
|
#
|
2009-06-17 22:13:46 +00:00
|
|
|
Url: http://search.cpan.org/~clkao/
|
2010-02-14 21:38:30 +00:00
|
|
|
Source: http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/App-CLI-0.07.tar.gz
|
|
|
|
Patch0: noautoinstall.diff
|
2007-08-22 02:39:25 +00:00
|
|
|
#
|
|
|
|
Summary: Dispatcher module for command line interface programs
|
|
|
|
|
|
|
|
%description
|
|
|
|
App::CLI dispatches CLI (command line interface) based commands into
|
|
|
|
command classes. It also supports subcommand and per-command options.
|
|
|
|
|
2010-02-14 21:38:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
|
|
|
Chia-liang Kao <clkao@clkao.org>
|
|
|
|
|
2007-08-22 02:39:25 +00:00
|
|
|
%prep
|
|
|
|
%setup -n App-CLI-%{version}
|
2010-02-14 21:38:30 +00:00
|
|
|
%patch0
|
2007-08-22 02:39:25 +00:00
|
|
|
|
|
|
|
%build
|
2010-02-14 21:38:30 +00:00
|
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
2010-01-13 14:46:50 +00:00
|
|
|
make %{?_smp_mflags}
|
2007-08-22 02:39:25 +00:00
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc %{_mandir}/man?/*
|
|
|
|
%dir %{perl_vendorlib}/App
|
|
|
|
%{perl_vendorlib}/App/CLI*
|
|
|
|
%dir %{perl_vendorarch}/auto/App/
|
|
|
|
%dir %{perl_vendorarch}/auto/App/CLI/
|
|
|
|
%{perl_vendorarch}/auto/App/CLI/.packlist
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|