source: projects/specs/trunk/p/perl-Net-DBus-GLib/perl-Net-DBus-GLib-vl.spec @ 2085

Revision 2085, 2.4 KB checked in by kazutaka, 14 years ago (diff)

perl-Net-DBus-GLib, perl-Proc-ProcessTable? を追加

Line 
1Name:           perl-Net-DBus-GLib
2Version:        0.33.0
3Release:        1%{?_dist_release}
4Summary:        Perl extension for the DBus GLib bindings
5License:        GPLv2+ or Artistic
6Group:          Development/Libraries
7URL:            http://search.cpan.org/dist/Net-DBus-GLib/
8Source0:        http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-GLib-%{version}.tar.gz
9BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
10BuildRequires:  perl(ExtUtils::MakeMaker)
11BuildRequires:  perl(Glib)
12BuildRequires:  perl(Net::DBus) >= 0.33.0
13BuildRequires:  perl(Test::More)
14BuildRequires:  perl(Test::Pod)
15BuildRequires:  perl(Test::Pod::Coverage)
16BuildRequires:  dbus-glib-devel
17Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
18
19%description
20Net::DBus::GLib provides an extension to the Net::DBus module allowing
21integration with the GLib mainloop. To integrate with the main loop, simply
22get a connection to the bus via the methods in Net::DBus::GLib rather than
23the usual Net::DBus module. That's it - every other API remains the same.
24
25%prep
26%setup -q -n Net-DBus-GLib-%{version}
27
28%build
29%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
30%{__make} %{?_smp_mflags}
31
32%install
33%{__rm} -rf $RPM_BUILD_ROOT
34
35%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
36
37find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
38find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
39find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
40
41%{_fixperms} $RPM_BUILD_ROOT/*
42
43%check
44%{__make} test
45
46%clean
47%{__rm} -rf $RPM_BUILD_ROOT
48
49%files
50%defattr(-,root,root,-)
51%doc AUTHORS CHANGES LICENSE README examples/
52%{perl_vendorarch}/auto/*
53%{perl_vendorarch}/Net*
54%{_mandir}/man3/*
55
56%changelog
57* Sat Oct 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-1
58- initial build for Vine Linux
59
60* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33.0-5
61- Mass rebuild with perl-5.12.0
62
63* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.33.0-4
64- rebuild against perl 5.10.1
65
66* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-3
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
68
69* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-2
70- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
71
72* Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.33.0-1
73- Initial rpm release.
Note: See TracBrowser for help on using the repository browser.