forked from pool/perl-String-Format
Accepting request 25099 from home:rjschwei:perl-perlcritic
Copy from home:rjschwei:perl-perlcritic/perl-String-Format via accept of submit request 25099 revision 4. Request was accepted with message: thanks! OBS-URL: https://build.opensuse.org/request/show/25099 OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Format?expand=0&rev=1
This commit is contained in:
70
perl-String-Format.spec
Normal file
70
perl-String-Format.spec
Normal file
@@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package perl-String-Format (Version 1.16)
|
||||
#
|
||||
# Copyright (c) 2009 Novell
|
||||
# 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://www.suse.de/feedback/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: perl-String-Format
|
||||
Version: 1.16
|
||||
Release: 1
|
||||
%define cpan_name String-Format
|
||||
Provides: %cpan_name
|
||||
Requires: perl = %{perl_version}
|
||||
Autoreqprov: on
|
||||
Group: Development/Libraries/Perl
|
||||
License: Artistic License, GPL, see package
|
||||
URL: http://search.cpan.org/~darren/String-Format-1.16
|
||||
Summary: String::Format - sprintf-like string formatting capabilities
|
||||
Source0: %{cpan_name}-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
||||
|
||||
%description
|
||||
String::Format lets you define arbitrary printf-like format sequences to
|
||||
be expanded. This module would be most useful in configuration files and
|
||||
reporting tools, where the results of a query need to be formatted in a
|
||||
particular way. It was inspired by mutt's index_format and related
|
||||
directives
|
||||
(see <URL:http://www.mutt.org/doc/manual/manual-6.html#index_format>).
|
||||
|
||||
Authors:
|
||||
Darren Chamberlain <darren@cpan.org>
|
||||
|
||||
%prep
|
||||
%setup -q -n %cpan_name-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make
|
||||
|
||||
%check
|
||||
make test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%__rm -f %{buildroot}%{perl_vendorarch}/auto/String/Format/.packlist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc Changes COPYING README
|
||||
%doc %{_mandir}/man3/*
|
||||
%dir %{perl_vendorlib}/String
|
||||
%{perl_vendorlib}/String/Format.pm
|
||||
/var/adm/perl-modules/%{name}
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Oct 12 2009 Robert Schweikert <rschweikert@novell.com> - String-Format
|
||||
- Initial build.
|
||||
|
Reference in New Issue
Block a user