]> git.pld-linux.org Git - packages/perl-Net-DBus.git/blobdiff - perl-Net-DBus.spec
- rebuild with perl 5.24.0
[packages/perl-Net-DBus.git] / perl-Net-DBus.spec
index c9b43cebf052e1a9feab5f1accaaf17d1560042e..fef75e2f713359f0a30754ace96235274d2d82a0 100644 (file)
@@ -5,24 +5,30 @@
 %include       /usr/lib/rpm/macros.perl
 %define                pdir    Net
 %define                pnam    DBus
-Summary:       Net::ACL - Perl extension for the DBus message system 
-Summary(pl.UTF-8):     Net::ACL - Rozszerzenie Perla dla systemu komunikacji DBus
+Summary:       Net::DBus - Perl extension for the DBus message system 
+Summary(pl.UTF-8):     Net::DBus - Rozszerzenie Perla dla systemu komunikacji DBus
 Name:          perl-Net-DBus
-Version:       0.33.3
-Release:       1
-# same as perl
-License:       GPL v1+ or Artistic
+Version:       1.1.0
+Release:       3
+# "same as perl", but GPL v2+ is specified
+License:       GPL v2+ or Artistic
 Group:         Development/Languages/Perl
-Source0:       http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
-# Source0-md5: 1663f7d4440fe2756c3dc315a80aeadc
-Patch0:                %{name}-dbus.patch
+Source0:       http://www.cpan.org/modules/by-module/Net/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: da44a16f8abf1db76f5ccf50d9926944
 URL:           http://search.cpan.org/dist/Net-DBus/
+BuildRequires: dbus-devel >= 1.3.0
 BuildRequires: perl-Time-HiRes
-BuildRequires: perl-XML-Parser
 BuildRequires: perl-XML-Twig
 BuildRequires: perl-devel >= 1:5.8.0
+%if %{with tests}
+BuildRequires: perl(Test::CPAN::Changes)
+BuildRequires: perl-Test-Pod
+BuildRequires: perl-Test-Pod-Coverage
+BuildRequires: perl-Test-Simple
+%endif
+BuildRequires: pkgconfig
 BuildRequires: rpm-perlprov >= 4.1-13
-BuildArch:     noarch
+Requires:      dbus-libs >= 1.3.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -41,30 +47,31 @@ informacji na temat dbusa można znaleźć na stronie projektu:
 
 %prep
 %setup -q -n %{pdir}-%{pnam}-%{version}
-%patch0 -p1
 
 %build
 %{__perl} Makefile.PL \
        INSTALLDIRS=vendor
-%{__make}
+%{__make} \
+       CC="%{__cc}" \
+       OPTIMIZE="%{rpmcflags}"
 
 %{?with_tests:%{__make} test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} pure_install \
        DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
-rm -rf $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
+%{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/*.pod
+%{__rm} -r $RPM_BUILD_ROOT%{perl_vendorarch}/Net/DBus/Tutorial
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES README
+%doc AUTHORS Changes README
 %{perl_vendorarch}/Net/DBus.pm
 %dir %{perl_vendorarch}/Net/DBus
 %{perl_vendorarch}/Net/DBus/*.pm
@@ -75,6 +82,5 @@ rm -rf $RPM_BUILD_ROOT
 %dir %{perl_vendorarch}/Net/DBus/Test
 %{perl_vendorarch}/Net/DBus/Test/*.pm
 %dir %{perl_vendorarch}/auto/Net/DBus
-%{perl_vendorarch}/auto/Net/DBus/DBus.bs
 %attr(755,root,root) %{perl_vendorarch}/auto/Net/DBus/DBus.so
-%{_mandir}/man3/*
+%{_mandir}/man3/Net::DBus*.3pm*
This page took 0.047874 seconds and 4 git commands to generate.