forked from pool/perl-Net-DBus
This commit is contained in:
parent
a2b4c0cf86
commit
3a722bfadd
@ -15,55 +15,58 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
|
|
||||||
|
|
||||||
Name: perl-Net-DBus
|
Name: perl-Net-DBus
|
||||||
|
Version: 1.0.0
|
||||||
|
Release: 1
|
||||||
|
License: GPL-2.0+
|
||||||
%define cpan_name Net-DBus
|
%define cpan_name Net-DBus
|
||||||
Summary: Perl extension for the DBus message system
|
Summary: Perl extension for the DBus message system
|
||||||
Version: 1.0.0
|
|
||||||
Release: 4
|
|
||||||
License: GPLv2+ or Artistic
|
|
||||||
Group: Development/Libraries/Perl
|
|
||||||
Url: http://search.cpan.org/dist/Net-DBus/
|
Url: http://search.cpan.org/dist/Net-DBus/
|
||||||
Source: %{cpan_name}-%{version}.tar.gz
|
Group: Development/Libraries/Perl
|
||||||
|
Source: http://www.cpan.org/authors/id/D/DA/DANBERR/%{cpan_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{perl_requires}
|
|
||||||
BuildRequires: dbus-1-devel pkg-config
|
|
||||||
BuildRequires: perl
|
BuildRequires: perl
|
||||||
BuildRequires: perl-macros
|
BuildRequires: perl-macros
|
||||||
BuildRequires: perl(Test::More)
|
|
||||||
BuildRequires: perl(Test::Pod)
|
BuildRequires: perl(Test::Pod)
|
||||||
BuildRequires: perl(Test::Pod::Coverage)
|
BuildRequires: perl(Test::Pod::Coverage)
|
||||||
BuildRequires: perl(Time::HiRes)
|
|
||||||
BuildRequires: perl(XML::Twig)
|
BuildRequires: perl(XML::Twig)
|
||||||
Requires: perl(Time::HiRes)
|
|
||||||
Requires: perl(XML::Twig)
|
Requires: perl(XML::Twig)
|
||||||
Provides: %{cpan_name}
|
# MANUAL
|
||||||
|
BuildRequires: dbus-1-devel pkg-config
|
||||||
|
%{perl_requires}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Net::DBus provides a Perl API for the DBus message system.
|
Net::DBus provides a Perl API for the DBus message system. The DBus Perl
|
||||||
|
interface is currently operating against the 0.32 development version of
|
||||||
|
DBus, but should work with later versions too, providing the API changes
|
||||||
|
have not been too drastic.
|
||||||
|
|
||||||
|
Users of this package are either typically, service providers in which case
|
||||||
|
the the Net::DBus::Service manpage and the Net::DBus::Object manpage
|
||||||
|
modules are of most relevance, or are client consumers, in which case the
|
||||||
|
Net::DBus::RemoteService manpage and the Net::DBus::RemoteObject manpage
|
||||||
|
are of most relevance.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{cpan_name}-%{version}
|
%setup -q -n %{cpan_name}-%{version}
|
||||||
|
find . -type f -print0 | xargs -0 chmod 644
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
|
%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{optflags}"
|
||||||
make %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%check
|
||||||
|
%{__make} test
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%perl_make_install
|
%perl_make_install
|
||||||
%perl_process_packlist
|
%perl_process_packlist
|
||||||
%perl_gen_filelist
|
%perl_gen_filelist
|
||||||
|
|
||||||
%check
|
%files -f %{name}.files
|
||||||
make test
|
%defattr(-,root,root,755)
|
||||||
|
%doc AUTHORS CHANGES examples LICENSE Net-DBus.spec README
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files -f %name.files
|
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%doc AUTHORS CHANGES LICENSE README
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user