source: projects/specs/branches/6/p/perl-Net-DBus-GLib/perl-Net-DBus-GLib-vl.spec @ 3699

Revision 3699, 2.5 KB checked in by kazutaka, 13 years ago (diff)

shutter の依存物を更新。

  • build with perl 5.12.3
  • add Vendor and Distribution tags
Line 
1Name:           perl-Net-DBus-GLib
2Version:        0.33.0
3Release:        2%{?_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
19Vendor: Project Vine
20Distribution: Vine Linux
21
22%description
23Net::DBus::GLib provides an extension to the Net::DBus module allowing
24integration with the GLib mainloop. To integrate with the main loop, simply
25get a connection to the bus via the methods in Net::DBus::GLib rather than
26the usual Net::DBus module. That's it - every other API remains the same.
27
28%prep
29%setup -q -n Net-DBus-GLib-%{version}
30
31%build
32%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
33%{__make} %{?_smp_mflags}
34
35%install
36%{__rm} -rf $RPM_BUILD_ROOT
37
38%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
39
40find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
41find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
42find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
43
44%{_fixperms} $RPM_BUILD_ROOT/*
45
46%check
47%{__make} test
48
49%clean
50%{__rm} -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(-,root,root,-)
54%doc AUTHORS CHANGES LICENSE README examples/
55%{perl_vendorarch}/auto/*
56%{perl_vendorarch}/Net*
57%{_mandir}/man3/*
58
59%changelog
60* Mon Apr 25 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-2
61- build with perl 5.12.3
62- add Vendor and Distribution tags
63
64* Sat Oct 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-1
65- initial build for Vine Linux
66
67* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33.0-5
68- Mass rebuild with perl-5.12.0
69
70* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.33.0-4
71- rebuild against perl 5.10.1
72
73* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-3
74- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
75
76* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-2
77- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
78
79* Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.33.0-1
80- Initial rpm release.
Note: See TracBrowser for help on using the repository browser.