forked from pool/perl-App-CLI
73 lines
1.7 KiB
RPMSpec
73 lines
1.7 KiB
RPMSpec
![]() |
#
|
||
|
# spec file for package perl-App-CLI (Version 0.07)
|
||
|
#
|
||
|
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||
|
# This file and all modifications and additions to the pristine
|
||
|
# package are under the same license as the package itself.
|
||
|
#
|
||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||
|
#
|
||
|
|
||
|
# norootforbuild
|
||
|
|
||
|
Name: perl-App-CLI
|
||
|
Version: 0.07
|
||
|
Release: 1
|
||
|
#
|
||
|
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}
|
||
|
%patch
|
||
|
|
||
|
%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
|
||
|
* Mon Aug 06 2007 - mrueckert@suse.de
|
||
|
- initial package of version 0.07
|
||
|
(based on the buildservice package from dmacvicar)
|