44e7c67
%global cpan_name RPC-XML
Chris Weyl 2b95e61
44e7c67
Name:    perl-%{cpan_name}
191c8b5
Version: 0.80
191c8b5
Release: 1%{?dist}
Chris Weyl 2b95e61
Summary: Set of classes for core data, message and XML handling
Chris Weyl 2b95e61
Group:   Development/Libraries
Chris Weyl 2b95e61
License: Artistic 2.0 or LGPLv2
44e7c67
URL:     http://search.cpan.org/dist/%{cpan_name}/
b25d8ba
Source0: http://search.cpan.org/CPAN/authors/id/R/RJ/RJRAY/%{cpan_name}-%{version}.tar.gz
Chris Weyl 2b95e61
Source1:   README.license
Chris Weyl 2b95e61
BuildArch: noarch
191c8b5
BuildRequires:  coreutils
191c8b5
BuildRequires:  findutils
191c8b5
BuildRequires:  make
b25d8ba
BuildRequires:  perl
191c8b5
BuildRequires:  perl-generators
b25d8ba
BuildRequires:  perl(ExtUtils::MakeMaker)
b25d8ba
BuildRequires:  perl(File::Find)
b25d8ba
BuildRequires:  perl(File::Spec) >= 0.8
781680f
# Run-time without Apache stuff:
b25d8ba
BuildRequires:  perl(base)
b25d8ba
BuildRequires:  perl(Carp)
b25d8ba
BuildRequires:  perl(constant) >= 1.03
b25d8ba
BuildRequires:  perl(Exporter)
b25d8ba
BuildRequires:  perl(File::Temp)
b25d8ba
BuildRequires:  perl(HTTP::Daemon)
b25d8ba
BuildRequires:  perl(HTTP::Request)
b25d8ba
BuildRequires:  perl(HTTP::Response)
b25d8ba
BuildRequires:  perl(HTTP::Status)
b25d8ba
BuildRequires:  perl(IO::Handle)
b25d8ba
BuildRequires:  perl(LWP::UserAgent)
b25d8ba
BuildRequires:  perl(MIME::Base64)
b25d8ba
BuildRequires:  perl(Module::Load) >= 0.24
b25d8ba
# Keep Net::Server::MultiType optional, HTTP::Daemon is preferred
b25d8ba
BuildRequires:  perl(Scalar::Util) >= 1.33
b25d8ba
BuildRequires:  perl(strict)
b25d8ba
BuildRequires:  perl(subs)
b25d8ba
BuildRequires:  perl(URI)
b25d8ba
BuildRequires:  perl(vars)
b25d8ba
BuildRequires:  perl(warnings)
b25d8ba
BuildRequires:  perl(XML::LibXML) >= 1.85
b25d8ba
BuildRequires:  perl(XML::Parser) >= 2.31
781680f
# Run-time for Apache stuff:
b25d8ba
BuildRequires:  perl(Apache)
b25d8ba
BuildRequires:  perl(Apache::Constants)
b25d8ba
BuildRequires:  perl(Apache::File)
b25d8ba
BuildRequires:  perl(CGI)
b25d8ba
BuildRequires:  perl(Socket)
781680f
# Recommended run-time:
b25d8ba
# Keep Compress::Zlib optional
b25d8ba
BuildRequires:  perl(DateTime) >= 0.70
b25d8ba
BuildRequires:  perl(DateTime::Format::ISO8601) >= 0.07
b25d8ba
BuildRequires:  perl(LWP::UserAgent) >= 5.834
781680f
# Tests:
b25d8ba
BuildRequires:  perl(Config)
b25d8ba
BuildRequires:  perl(Digest::MD5)
b25d8ba
BuildRequires:  perl(IO::Socket)
b25d8ba
BuildRequires:  perl(List::Util)
b25d8ba
BuildRequires:  perl(LWP) >= 5.834
b25d8ba
BuildRequires:  perl(Symbol)
b25d8ba
BuildRequires:  perl(Test::More) >= 0.94
781680f
# Optional tests:
b25d8ba
BuildRequires:  perl(Compress::Zlib)
191c8b5
# IO::Socket::IP not helpful
b25d8ba
BuildRequires:  perl(Net::Server)
ff08316
Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
781680f
Requires:       perl(constant) >= 1.03
Chris Weyl e25254c
Requires:       perl(File::Spec) >= 0.8
781680f
Requires:       perl(HTTP::Daemon)
781680f
Requires:       perl(MIME::Base64)
ff08316
Requires:       perl(Module::Load) >= 0.24
b25d8ba
Requires:       perl(Scalar::Util) >= 1.33
Chris Weyl e25254c
Requires:       perl(XML::Parser) >= 2.31
b25d8ba
# Recommended:
b25d8ba
# Keep Compress::Zlib optional
2e59569
Requires:       perl(DateTime) >= 0.70
2e59569
Requires:       perl(DateTime::Format::ISO8601) >= 0.07
100b198
Requires:       perl(XML::LibXML) >= 1.85
Chris Weyl e25254c
Chris Weyl e25254c
%perl_default_filter
2e59569
# Remove underspecified symbols
ff08316
%global __requires_exclude %{?__requires_exclude:%__requires_exclude|}^perl\\(constant|File::Spec|Module::Load|Scalar::Util|XML::LibXML|XML::Parser\\)\\s*$
Chris Weyl e25254c
Chris Weyl 2b95e61
%description
Chris Weyl 2b95e61
The RPC::XML package is an implementation of XML-RPC. The module provides
Chris Weyl 2b95e61
classes for sample client and server implementations, a server designed as an
Chris Weyl e25254c
Apache location-handler, and a suite of data-manipulation classes that are
Chris Weyl 2b95e61
used by them.
Chris Weyl 2b95e61
44e7c67
44e7c67
%package -n perl-Apache-RPC
44e7c67
Summary: Companion packages for RPC::XML tuned for mod_perl environments
44e7c67
Group:   Development/Libraries
ff08316
Requires:   perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
44e7c67
Requires:   perl(File::Spec) >= 0.8
44e7c67
Chris Weyl 2b95e61
%description -n perl-Apache-RPC
Chris Weyl 2b95e61
This package contains Apache::RPC::Server and Apache::RPC::Status, useful for
Chris Weyl 2b95e61
running RPC::XML under mod_perl.
Chris Weyl 2b95e61
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%prep
44e7c67
%setup -qn %{cpan_name}-%{version}
Chris Weyl 2b95e61
cp -p %{SOURCE1} .
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%build
191c8b5
perl Makefile.PL INSTALLDIRS=vendor
Chris Weyl 2b95e61
make %{?_smp_mflags}
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%install
44e7c67
make pure_install DESTDIR=%{buildroot}
191c8b5
find %{buildroot} -type f -name .packlist -delete
Chris Weyl 2b95e61
%{_fixperms} %{buildroot}/*
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%check
Chris Weyl 2b95e61
make test
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%files
b25d8ba
%license README.license
b25d8ba
%doc ChangeLog* README etc/*.dtd ex/ methods/
Chris Weyl 2b95e61
%{_mandir}/man3/RPC*
Chris Weyl 2b95e61
%{_mandir}/man1/*
Chris Weyl 2b95e61
%{_bindir}/make_method
Chris Weyl 2b95e61
%{perl_vendorlib}/RPC
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%files -n perl-Apache-RPC
b25d8ba
%license README.license
b25d8ba
%doc README.apache2
Chris Weyl 2b95e61
%{_mandir}/man3/Apache*
Chris Weyl 2b95e61
%{perl_vendorlib}/Apache
Chris Weyl 2b95e61
Chris Weyl 2b95e61
%changelog
191c8b5
* Mon May 09 2016 Petr Pisar <ppisar@redhat.com> - 0.80-1
191c8b5
- 0.80 bump
191c8b5
1fc9c85
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.79-3
1fc9c85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
1fc9c85
0d903eb
* Sat Jun 06 2015 Jitka Plesnikova <jplesnik@redhat.com> - 0.79-2
0d903eb
- Perl 5.22 rebuild
0d903eb
b25d8ba
* Mon May 04 2015 Petr Pisar <ppisar@redhat.com> - 0.79-1
b25d8ba
- 0.79 bump
b25d8ba
1be0cb6
* Mon Sep 01 2014 Jitka Plesnikova <jplesnik@redhat.com> - 0.78-3
1be0cb6
- Perl 5.20 rebuild
1be0cb6
a247dc4
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.78-2
a247dc4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
a247dc4
ff08316
* Mon Feb 10 2014 Petr Pisar <ppisar@redhat.com> - 0.78-1
ff08316
- 0.78 bump
ff08316
e4bb371
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-4
e4bb371
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
e4bb371
89e1daa
* Thu Aug 01 2013 Petr Pisar <ppisar@redhat.com> - 0.77-3
89e1daa
- Perl 5.18 rebuild
6f1e4db
- Adjust tests for perl 5.18 (CPAN RT#86187)
89e1daa
190f8ee
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.77-2
190f8ee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
190f8ee
100b198
* Tue Sep 04 2012 Petr Pisar <ppisar@redhat.com> - 0.77-1
100b198
- 0.77 bump
781680f
- Specify all dependencies
44e7c67
- Modernize spec file
e4379d3
- Do not package tests
100b198
92dc42f
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.76-5
92dc42f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
92dc42f
62f8f6c
* Thu Jun 21 2012 Petr Pisar <ppisar@redhat.com> - 0.76-4
62f8f6c
- Perl 5.16 rebuild
62f8f6c
a6ac9fa
* Mon Jan 16 2012 Petr Pisar <ppisar@redhat.com> - 0.76-3
a6ac9fa
- Require MODULE_COMPAT because this is Perl package.
a6ac9fa
ceaa701
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.76-2
ceaa701
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ceaa701
2e59569
* Mon Nov 21 2011 Petr Pisar <ppisar@redhat.com> - 0.76-1
2e59569
- 0.76 bump
2e59569
2232106
* Mon Apr 04 2011 Petr Pisar <ppisar@redhat.com> - 0.74-1
2232106
- 0.74 bump
2232106
e1ce9eb
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.69-4
e1ce9eb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e1ce9eb
7362aa7
* Tue Dec 21 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.69-3
7362aa7
- 661697 rebuild for fixing problems with vendorach/lib
7362aa7
3f61451
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.69-2
3f61451
- Mass rebuild with perl-5.12.0
3f61451
Chris Weyl e25254c
* Tue Sep 22 2009 Chris Weyl <cweyl@alumni.drew.edu> 0.69-1
Chris Weyl e25254c
- auto-update to 0.69 (by cpan-spec-update 0.01)
Chris Weyl e25254c
- added a new br on perl(File::Spec) (version 0.8)
Chris Weyl e25254c
- altered br on perl(LWP) (0 => 5.801)
Chris Weyl e25254c
- added a new br on perl(Scalar::Util) (version 1.19)
Chris Weyl e25254c
- altered br on perl(XML::Parser) (0 => 2.31)
Chris Weyl e25254c
- added a new br on perl(constant) (version 1.03)
Chris Weyl e25254c
- added a new req on perl(File::Spec) (version 0.8)
Chris Weyl e25254c
- added a new req on perl(LWP) (version 5.801)
Chris Weyl e25254c
- added a new req on perl(Scalar::Util) (version 1.19)
Chris Weyl e25254c
- added a new req on perl(XML::Parser) (version 2.31)
Chris Weyl e25254c
- added a new req on perl(constant) (version 1.03)
Chris Weyl e25254c
c2c11a4
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64-3
c2c11a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c2c11a4
3364112
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.64-2
3364112
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3364112
Chris Weyl d95e370
* Thu Oct 23 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.64-1
Chris Weyl d95e370
- update to 0.64-1
Chris Weyl d95e370
- drop tests patch (fixed!)
Chris Weyl d95e370
- add BR on Net::Server
Chris Weyl d95e370
Chris Weyl c94f261
* Mon Sep 08 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.60-3
Chris Weyl c94f261
- bump
Chris Weyl c94f261
Chris Weyl 2b95e61
* Tue Aug 26 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.60-2
Chris Weyl 2b95e61
- quiesce offending test
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Sat Aug 23 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.60-1
Chris Weyl 2b95e61
- even more spec cleanups :-)
Chris Weyl 2b95e61
- update licensing
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Fri Jul 04 2008 Chris Weyl <cweyl@alumni.drew.edu> 0.60-0.1
Chris Weyl 2b95e61
- update to 0.60
Chris Weyl 2b95e61
- spec file cleanups
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Sun Mar 16 2008 Nicholas Boyle <nsboyle@gmail.com> - 0.59-5
Chris Weyl 2b95e61
- Added BuildRequires for Test::More and XML::Parser
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Sun Mar 16 2008 Nicholas Boyle <nsboyle@gmail.com> - 0.59-4
Chris Weyl 2b95e61
- Created subpackage perl-Apache-RPC to allow RPC-XML to work without
Chris Weyl 2b95e61
  requiring mod_perl
Chris Weyl 2b95e61
- Manpages now installed as regular files, instead of docs
Chris Weyl 2b95e61
- Removed explicit perl_archlib and perl_vendorarch definitions
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Fri Mar 07 2008 Nicholas Boyle <nsboyle@gmail.com> - 0.59-3
Chris Weyl 2b95e61
- Added README.license to clarify licensing
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Sat Mar 01 2008 Nicholas Boyle <nsboyle@gmail.com> - 0.59-2
Chris Weyl 2b95e61
- Initial Fedora packaging
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Mon Sep 18 2006 Dries Verachtert <dries@ulyssis.org> - 0.59-1
Chris Weyl 2b95e61
- Updated to release 0.59.
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Wed Mar 22 2006 Dries Verachtert <dries@ulyssis.org> - 0.58-1.2
Chris Weyl 2b95e61
- Rebuild for Fedora Core 5.
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Wed Jun  8 2005 Dries Verachtert <dries@ulyssis.org> - 0.58-1
Chris Weyl 2b95e61
- Updated to release 0.58.
Chris Weyl 2b95e61
Chris Weyl 2b95e61
* Sat Jan  1 2005 Dries Verachtert <dries@ulyssis.org> - 0.57-1
Chris Weyl 2b95e61
- Initial package.