forked from perl/perl-Workflow
132 lines
4.8 KiB
RPMSpec
132 lines
4.8 KiB
RPMSpec
|
|
#
|
||
|
|
# spec file for package perl-Workflow
|
||
|
|
#
|
||
|
|
# Copyright (c) 2009 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/
|
||
|
|
#
|
||
|
|
|
||
|
|
# norootforbuild
|
||
|
|
|
||
|
|
#Distribution: %dist
|
||
|
|
#Packager: %packager
|
||
|
|
#Vendor: %vendor
|
||
|
|
|
||
|
|
Name: perl-Workflow
|
||
|
|
%define cpan_name %( echo %{name} | %{__sed} -e 's,perl-,,' )
|
||
|
|
Summary: %{cpan_name} module for perl
|
||
|
|
Version: 1.32
|
||
|
|
Release: 1
|
||
|
|
License: artistic
|
||
|
|
Group: Applications/CPAN
|
||
|
|
Url: http://www.cpan.org
|
||
|
|
Source0: %{cpan_name}-%{version}.tar.bz2
|
||
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
|
|
BuildRequires: perl
|
||
|
|
BuildRequires: perl-macros
|
||
|
|
BuildRequires: perl(Safe)
|
||
|
|
BuildRequires: perl(Module::Build)
|
||
|
|
BuildRequires: perl(Test::More) >= 0.41
|
||
|
|
BuildRequires: perl(Test::Exception)
|
||
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.04
|
||
|
|
BuildRequires: perl(Test::Pod) >= 1.14
|
||
|
|
# other not perl || perl-base
|
||
|
|
BuildRequires: perl(Class::Accessor) >= 0.18
|
||
|
|
BuildRequires: perl(Class::Factory) >= 1.00
|
||
|
|
BuildRequires: perl(Class::Observable) >= 1.04
|
||
|
|
BuildRequires: perl(Data::Dumper)
|
||
|
|
BuildRequires: perl(Data::UUID)
|
||
|
|
BuildRequires: perl(DateTime) >= 0.15
|
||
|
|
BuildRequires: perl(DateTime::Format::Strptime) >= 1.00
|
||
|
|
BuildRequires: perl(DBD::Mock) >= 0.10
|
||
|
|
BuildRequires: perl-DBD-SQLite
|
||
|
|
BuildRequires: perl(DBI)
|
||
|
|
BuildRequires: perl(Exception::Class) >= 1.10
|
||
|
|
BuildRequires: perl(File::Slurp)
|
||
|
|
BuildRequires: perl(Log::Dispatch) >= 2.00
|
||
|
|
BuildRequires: perl(Log::Log4perl) >= 0.34
|
||
|
|
BuildRequires: perl(SPOPS)
|
||
|
|
BuildRequires: perl(XML::Simple) >= 2.00
|
||
|
|
#
|
||
|
|
Requires: perl = %{perl_version}
|
||
|
|
Requires: perl(Safe)
|
||
|
|
# other not perl || perl-base
|
||
|
|
Requires: perl(Class::Accessor) >= 0.18
|
||
|
|
Requires: perl(Class::Factory) >= 1.00
|
||
|
|
Requires: perl(Class::Observable) >= 1.04
|
||
|
|
Requires: perl(Data::Dumper)
|
||
|
|
Requires: perl(Data::UUID)
|
||
|
|
Requires: perl(DateTime) >= 0.15
|
||
|
|
Requires: perl(DateTime::Format::Strptime) >= 1.00
|
||
|
|
Requires: perl(DBD::Mock) >= 0.10
|
||
|
|
Requires: perl(DBI)
|
||
|
|
Requires: perl(Exception::Class) >= 1.10
|
||
|
|
Requires: perl(File::Slurp)
|
||
|
|
Requires: perl(Log::Dispatch) >= 2.00
|
||
|
|
Requires: perl(Log::Log4perl) >= 0.34
|
||
|
|
Requires: perl(SPOPS)
|
||
|
|
Requires: perl(XML::Simple) >= 2.00
|
||
|
|
|
||
|
|
Provides: %{cpan_name}
|
||
|
|
|
||
|
|
#----------------------------------------------------------------------------------
|
||
|
|
%description
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
The 'Workflow' Perl module implements a standalone workflow system. It
|
||
|
|
aims to be simple but flexible and therefore powerful. Each piece of
|
||
|
|
the workflow system has a direct and easily stated job, and hopefully
|
||
|
|
you`ll find that you can put the pieces together to create very useful
|
||
|
|
systems.
|
||
|
|
|
||
|
|
Read 'perldoc Workflow' for a more detailed introduction, sample usage,
|
||
|
|
interactions with your applications, and more.
|
||
|
|
|
||
|
|
Authors: Chris Winters <chris@cwinters.com>
|
||
|
|
|
||
|
|
Maintainer: Jonas B. Nielsen <jonasbn@cpan.org>
|
||
|
|
-------------------------------------------------------------------------------
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%prep
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%setup -q -n %{cpan_name}-%{version}
|
||
|
|
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%build
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
||
|
|
%{__make}
|
||
|
|
|
||
|
|
%check
|
||
|
|
%{__make} test TEST_POD=1
|
||
|
|
|
||
|
|
#-------------------------------------------------------------------------------
|
||
|
|
%install
|
||
|
|
#-------------------------------------------------------------------------------
|
||
|
|
%perl_make_install
|
||
|
|
%perl_process_packlist
|
||
|
|
%perl_gen_filelist
|
||
|
|
|
||
|
|
#-------------------------------------------------------------------------------
|
||
|
|
%clean
|
||
|
|
#-------------------------------------------------------------------------------
|
||
|
|
%{__rm} -rf $RPM_BUILD_ROOT
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%files -f %{name}.files
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%defattr(0644,root,root,0755)
|
||
|
|
%doc Changes README TODO doc eg struct
|
||
|
|
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
%changelog
|
||
|
|
#-------------------------------------------------------------------------------------
|
||
|
|
|