File perl-App-CLI.spec of Package perl-App-CLI

#
# spec file for package perl-App-CLI (Version 0.07)
#
# 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-App-CLI
Version:        0.07
Release:        71
#
Group:          Development/Libraries/Perl
License:        Artistic License .. ; GPL v2 only
#
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  perl-Locale-Maketext-Simple
Requires:       perl-Locale-Maketext-Simple
Requires:       perl = %{perl_version}
#
Url:            http://search.cpan.org/~clkao/
Source:         http://search.cpan.org/CPAN/authors/id/C/CL/CLKAO/App-CLI-0.07.tar.gz
Patch0:         noautoinstall.diff
#
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.



Authors:
--------
    Chia-liang Kao <clkao@clkao.org>

%prep
%setup -n App-CLI-%{version}
%patch0

%build
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make

%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
openSUSE Build Service is sponsored by