From 24eafcdceffcea323a82f59a24ed0d5962fca6f3 Mon Sep 17 00:00:00 2001 From: Chris Weyl Date: Tue, 21 Nov 2006 17:59:14 +0000 Subject: [PATCH] auto-import perl-Net-DBus-0.33.4-2.fc6 on branch devel from perl-Net-DBus-0.33.4-2.fc6.src.rpm --- .cvsignore | 1 + perl-Net-DBus.spec | 67 ++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 69 insertions(+) create mode 100644 perl-Net-DBus.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d2b5788 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Net-DBus-0.33.4.tar.gz diff --git a/perl-Net-DBus.spec b/perl-Net-DBus.spec new file mode 100644 index 0000000..8ad40ac --- /dev/null +++ b/perl-Net-DBus.spec @@ -0,0 +1,67 @@ +Name: perl-Net-DBus +Version: 0.33.4 +Release: 2%{?dist} +Summary: Use and provide DBus services +License: GPL or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Net-DBus/ +Source0: http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: perl(XML::Grove) +BuildRequires: perl(XML::Parser) +BuildRequires: perl(XML::Twig) +BuildRequires: dbus-devel >= 0.33, pkgconfig + +# testing +BuildRequires: perl(Test::Pod), perl(Test::Pod::Coverage) + +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Net::DBus provides a Perl API for the DBus message system. The DBus Perl +interface is currently operating against the 0.33 development version of +DBus, but should work with later versions too, providing the API changes +have not been too drastic. + +%prep +%setup -q -n Net-DBus-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}" +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 COPYING README examples/ +%{perl_vendorarch}/auto/* +%{perl_vendorarch}/Net* +%{_mandir}/man3/* + +%changelog +* Sat Nov 11 2006 Chris Weyl 0.33.4-2 +- add additional BR's +- update summary + +* Tue Nov 07 2006 Chris Weyl 0.33.4-1 +- update to 0.33.4 +- nix now-unneeded source regexp/tweak + +* Sat Nov 04 2006 Chris Weyl 0.33.3-1 +- Specfile autogenerated by cpanspec 1.69.1. diff --git a/sources b/sources index e69de29..431779f 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7138571b3d8df29faa65d1db509f9d32 Net-DBus-0.33.4.tar.gz