forked from pool/perl-String-Format
cpanspec
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-String-Format?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
6d7483be7a
commit
91e7b5a1d3
3
String-Format-1.16.tar.bz2
Normal file
3
String-Format-1.16.tar.bz2
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1da7a02b7939994ec9f9802c32ac4f0cecd2cc55f8c4ecb42123ef5decc59b3f
|
||||
size 12350
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edb27dd055ad71012a439f262f9394517adb585a5c27ba72c1819bae2c23729a
|
||||
size 12936
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Nov 20 11:11:01 UTC 2010 - chris@computersalat.de
|
||||
|
||||
- recreated by cpanspec 1.78
|
||||
- cleanup changelog
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 19 08:39:07 UTC 2010 - coolo@novell.com
|
||||
|
||||
@@ -18,5 +24,8 @@ Tue Oct 20 19:21:17 CEST 2009 - rschweikert@novell.com
|
||||
|
||||
- Fix spec to include String directory in files
|
||||
|
||||
- Mon Oct 12 - initial package
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 12 09:52:13 UTC 2009 - rschweikert@novell.com
|
||||
|
||||
- initial package 1.16
|
||||
|
||||
|
@@ -1,71 +1,76 @@
|
||||
#
|
||||
# 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.
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
# 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-String-Format
|
||||
Version: 1.16
|
||||
Release: 1
|
||||
Name: perl-String-Format
|
||||
%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
|
||||
Summary: Sprintf-like string formatting capabilities with arbitrary format definitions
|
||||
Version: 1.16
|
||||
Release: 1
|
||||
License: GPLv2
|
||||
Group: Development/Libraries/Perl
|
||||
Url: http://search.cpan.org/dist/String-Format/
|
||||
#Source: http://www.cpan.org/modules/by-module/String/String-Format-%{version}.tar.gz
|
||||
Source: %{cpan_name}-%{version}.tar.bz2
|
||||
BuildArch: noarch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: perl
|
||||
%if 0%{?suse_version} < 1120
|
||||
BuildRequires: perl-macros
|
||||
%endif
|
||||
BuildRequires: perl(Test::More)
|
||||
Requires: perl = %{perl_version}
|
||||
|
||||
%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>).
|
||||
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}
|
||||
%setup -q -n %{cpan_name}-%{version}
|
||||
|
||||
%build
|
||||
perl Makefile.PL
|
||||
make
|
||||
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%check
|
||||
make test
|
||||
%{__make} test
|
||||
|
||||
%install
|
||||
%perl_make_install
|
||||
%perl_process_packlist
|
||||
%__rm -f %{buildroot}%{perl_vendorarch}/auto/String/Format/.packlist
|
||||
# do not perl_process_packlist (noarch)
|
||||
# remove .packlist file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_vendorarch
|
||||
# remove perllocal.pod file
|
||||
%{__rm} -rf $RPM_BUILD_ROOT%perl_archlib
|
||||
%perl_gen_filelist
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
%{__rm} -rf $RPM_BUILD_ROOT
|
||||
|
||||
|
||||
%files
|
||||
%files -f %{name}.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