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
|
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
|
- 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)
|
# spec file for package perl-String-Format (Version 1.16)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2009 Novell
|
# Copyright (c) 2010 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://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
|
# norootforbuild
|
||||||
|
|
||||||
Name: perl-String-Format
|
Name: perl-String-Format
|
||||||
|
%define cpan_name String-Format
|
||||||
|
Summary: Sprintf-like string formatting capabilities with arbitrary format definitions
|
||||||
Version: 1.16
|
Version: 1.16
|
||||||
Release: 1
|
Release: 1
|
||||||
%define cpan_name String-Format
|
License: GPLv2
|
||||||
Provides: %cpan_name
|
|
||||||
Requires: perl = %{perl_version}
|
|
||||||
Autoreqprov: on
|
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
License: Artistic License, GPL, see package
|
Url: http://search.cpan.org/dist/String-Format/
|
||||||
URL: http://search.cpan.org/~darren/String-Format-1.16
|
#Source: http://www.cpan.org/modules/by-module/String/String-Format-%{version}.tar.gz
|
||||||
Summary: String::Format - sprintf-like string formatting capabilities
|
Source: %{cpan_name}-%{version}.tar.bz2
|
||||||
Source0: %{cpan_name}-%{version}.tar.gz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
|
%if 0%{?suse_version} < 1120
|
||||||
|
BuildRequires: perl-macros
|
||||||
|
%endif
|
||||||
|
BuildRequires: perl(Test::More)
|
||||||
|
Requires: perl = %{perl_version}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
String::Format lets you define arbitrary printf-like format sequences to
|
String::Format lets you define arbitrary printf-like format sequences to be
|
||||||
be expanded. This module would be most useful in configuration files and
|
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
|
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
|
particular way. It was inspired by mutt's index_format and related
|
||||||
directives
|
directives
|
||||||
(see <URL:http://www.mutt.org/doc/manual/manual-6.html#index_format>).
|
(see <URL:http://www.mutt.org/doc/manual/manual-6.html#index_format>).
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
Darren Chamberlain <darren@cpan.org>
|
Darren Chamberlain <darren@cpan.org>
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %cpan_name-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
perl Makefile.PL
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
||||||
make
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make test
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
# do not perl_process_packlist (noarch)
|
||||||
%__rm -f %{buildroot}%{perl_vendorarch}/auto/String/Format/.packlist
|
# 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
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files -f %{name}.files
|
||||||
%files
|
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc Changes COPYING README
|
%doc Changes COPYING README
|
||||||
%doc %{_mandir}/man3/*
|
|
||||||
%dir %{perl_vendorlib}/String
|
|
||||||
%{perl_vendorlib}/String/Format.pm
|
|
||||||
/var/adm/perl-modules/%{name}
|
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Mon Oct 12 2009 Robert Schweikert <rschweikert@novell.com> - String-Format
|
|
||||||
- Initial build.
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user