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:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
3
String-Format-1.16.tar.gz
Normal file
3
String-Format-1.16.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:edb27dd055ad71012a439f262f9394517adb585a5c27ba72c1819bae2c23729a
|
||||
size 12936
|
17
perl-String-Format.changes
Normal file
17
perl-String-Format.changes
Normal file
@@ -0,0 +1,17 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Oct 21 16:29:06 CEST 2009 - rschweikert@novell.com
|
||||
|
||||
- Add %dir directive for String
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 20 20:26:03 CEST 2009 - rschweikert@novell.com
|
||||
|
||||
- Shorten summary to pass rpmlint
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 20 19:21:17 CEST 2009 - rschweikert@novell.com
|
||||
|
||||
- Fix spec to include String directory in files
|
||||
|
||||
- Mon Oct 12 - initial package
|
||||
|
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