|
|
|
@ -1,31 +1,27 @@
|
|
|
|
|
Name: perl-Net-DBus
|
|
|
|
|
Version: 0.33.6
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 1.0.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Use and provide DBus services
|
|
|
|
|
License: GPL+ or Artistic
|
|
|
|
|
# Based on the current LICENSE file; asked upstream for confirmation (Nov 11, 2011)
|
|
|
|
|
License: GPLv2+ or Artistic
|
|
|
|
|
Group: Development/Libraries
|
|
|
|
|
URL: http://search.cpan.org/dist/Net-DBus/
|
|
|
|
|
Source0: http://search.cpan.org/CPAN/authors/id/D/DA/DANBERR/Net-DBus-%{version}.tar.gz
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
|
|
|
|
|
|
|
|
|
# non-perl
|
|
|
|
|
BuildRequires: dbus-devel >= 0.33, pkgconfig
|
|
|
|
|
# core
|
|
|
|
|
BuildRequires: dbus-devel >= 1.00, pkgconfig
|
|
|
|
|
BuildRequires: perl(Exporter)
|
|
|
|
|
BuildRequires: perl(ExtUtils::MakeMaker)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Time::HiRes)
|
|
|
|
|
# cpan
|
|
|
|
|
BuildRequires: perl(XML::Grove)
|
|
|
|
|
BuildRequires: perl(XML::Parser)
|
|
|
|
|
BuildRequires: perl(XML::Twig)
|
|
|
|
|
BuildRequires: perl(XSLoader)
|
|
|
|
|
# test
|
|
|
|
|
BuildRequires: perl(Test::Pod)
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage)
|
|
|
|
|
|
|
|
|
|
### auto-added reqs!
|
|
|
|
|
Requires: perl(Time::HiRes)
|
|
|
|
|
Requires: perl(XML::Twig)
|
|
|
|
|
BuildRequires: perl(Carp)
|
|
|
|
|
BuildRequires: perl(Test::More)
|
|
|
|
|
BuildRequires: perl(Test::Pod) >= 1.00
|
|
|
|
|
BuildRequires: perl(Test::Pod::Coverage) >= 1.00
|
|
|
|
|
Requires: perl(XSLoader)
|
|
|
|
|
|
|
|
|
|
%{?perl_default_filter}
|
|
|
|
|
|
|
|
|
@ -43,30 +39,27 @@ have not been too drastic.
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
make pure_install PERL_INSTALL_ROOT=%{buildroot}
|
|
|
|
|
|
|
|
|
|
find %{buildroot} -type f -name .packlist -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -type f -name '*.bs' -size 0 -exec rm -f {} +
|
|
|
|
|
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
|
|
|
|
|
|
|
|
|
|
%{_fixperms} %{buildroot}/*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make test
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc AUTHORS CHANGES README examples/ t/
|
|
|
|
|
%doc AUTHORS CHANGES README LICENSE examples/
|
|
|
|
|
%{perl_vendorarch}/auto/*
|
|
|
|
|
%{perl_vendorarch}/Net*
|
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Nov 11 2011 Petr Šabata <contyk@redhat.com> - 1.0.0-1
|
|
|
|
|
- 1.0.0 bump
|
|
|
|
|
- Removing now obsolete Buildroot and defattr
|
|
|
|
|
- License updated to GPLv2+ or Artistic (asked upstream for confirmation)
|
|
|
|
|
|
|
|
|
|
* Wed Jul 20 2011 Petr Sabata <contyk@redhat.com> - 0.33.6-10
|
|
|
|
|
- Perl mass rebuild
|
|
|
|
|
|
|
|
|
|