forked from pool/perl-String-Flogger
new perl package, based on this list: is in devel:languages:perl without additional dependencies against O:F, has non-trivial test suite and is included in debian stable and has standard perl license OBS-URL: https://build.opensuse.org/request/show/66763 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/perl-String-Flogger?expand=0&rev=1
70 lines
2.0 KiB
RPMSpec
70 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package perl-String-Flogger (Version 1.101241)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# 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/
|
|
#
|
|
|
|
Name: perl-String-Flogger
|
|
Version: 1.101241
|
|
Release: 1
|
|
License: GPL+ or Artistic
|
|
%define cpan_name String-Flogger
|
|
Summary: string munging for loggers
|
|
Url: http://search.cpan.org/dist/String-Flogger/
|
|
Group: Development/Libraries/Perl
|
|
#Source: http://www.cpan.org/authors/id/R/RJ/RJBS/String-Flogger-%{version}.tar.gz
|
|
Source: %{cpan_name}-%{version}.tar.bz2
|
|
BuildRequires: perl(JSON)
|
|
BuildRequires: perl(Params::Util)
|
|
BuildRequires: perl(Scalar::Util)
|
|
BuildRequires: perl(Sub::Exporter)
|
|
BuildRequires: perl(Sub::Exporter::Util)
|
|
BuildRequires: perl
|
|
BuildRequires: perl-macros
|
|
Requires: perl(JSON)
|
|
Requires: perl(Params::Util)
|
|
Requires: perl(Scalar::Util)
|
|
Requires: perl(Sub::Exporter)
|
|
Requires: perl(Sub::Exporter::Util)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
%{perl_requires}
|
|
|
|
%description
|
|
sorry, no description found
|
|
|
|
%prep
|
|
%setup -q -n %{cpan_name}-%{version}
|
|
|
|
%build
|
|
%{__perl} Makefile.PL INSTALLDIRS=vendor
|
|
%{__make} %{?_smp_mflags}
|
|
|
|
%check
|
|
%{__make} test
|
|
|
|
%install
|
|
%perl_make_install
|
|
%perl_process_packlist
|
|
%perl_gen_filelist
|
|
|
|
%clean
|
|
%{__rm} -rf %{buildroot}
|
|
|
|
%files -f %{name}.files
|
|
%defattr(644,root,root,755)
|
|
%doc Changes dist.ini LICENSE README
|
|
|
|
%changelog
|