Browse Source

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

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@2085 ec354946-7b23-47d6-9f5a-488ba84defc7
kazutaka 13 years ago
parent
commit
af8964e8e6

+ 73 - 0
p/perl-Net-DBus-GLib/perl-Net-DBus-GLib-vl.spec

@@ -0,0 +1,73 @@
+Name:		perl-Net-DBus-GLib
+Version:	0.33.0
+Release:	1%{?_dist_release}
+Summary:	Perl extension for the DBus GLib bindings
+License:	GPLv2+ or Artistic
+Group:		Development/Libraries
+URL:		http://search.cpan.org/dist/Net-DBus-GLib/
+Source0:	http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-GLib-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:	perl(ExtUtils::MakeMaker)
+BuildRequires:	perl(Glib)
+BuildRequires:	perl(Net::DBus) >= 0.33.0
+BuildRequires:	perl(Test::More)
+BuildRequires:	perl(Test::Pod)
+BuildRequires:	perl(Test::Pod::Coverage)
+BuildRequires:	dbus-glib-devel
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+Net::DBus::GLib provides an extension to the Net::DBus module allowing
+integration with the GLib mainloop. To integrate with the main loop, simply
+get a connection to the bus via the methods in Net::DBus::GLib rather than
+the usual Net::DBus module. That's it - every other API remains the same.
+
+%prep
+%setup -q -n Net-DBus-GLib-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__make} %{?_smp_mflags}
+
+%install
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+%{__make} test
+
+%clean
+%{__rm} -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc AUTHORS CHANGES LICENSE README examples/
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Net*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Oct 16 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.33.0-1
+- initial build for Vine Linux
+
+* Tue May 04 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.33.0-5
+- Mass rebuild with perl-5.12.0
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.33.0-4
+- rebuild against perl 5.10.1
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.33.0-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Feb 19 2009 Allisson Azevedo <allisson@gmail.com> 0.33.0-1
+- Initial rpm release.

+ 86 - 0
p/perl-Proc-ProcessTable/perl-Proc-ProcessTable-vl.spec

@@ -0,0 +1,86 @@
+Name:		perl-Proc-ProcessTable
+Version:	0.45
+Release:	1%{?_dist_release}
+Summary:	Perl extension to access the unix process table
+License:	GPL+ or Artistic
+Group:		Development/Libraries
+URL:		http://search.cpan.org/dist/Proc-ProcessTable/
+Source0:	http://www.cpan.org/modules/by-module/Proc/Proc-ProcessTable-%{version}.tar.gz
+BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+Requires:	perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+BuildRequires:	perl(ExtUtils::MakeMaker)
+
+%description
+Perl interface to the unix process table.
+
+%prep
+%setup -q -n Proc-ProcessTable-%{version}
+
+%{__chmod} 644 contrib/*
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+%{__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 Changes PORTING README README.linux TODO contrib/pswait
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/Proc*
+%{_mandir}/man3/*
+
+%changelog
+* Fri Oct 15 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 0.45-1
+- initial build for Vine Linux
+
+* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.44-6
+- Mass rebuild with perl-5.12.0
+
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.44-5
+- rebuild against perl 5.10.1
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Mar 05 2009 Caol叩n McNamara <caolanm@redhat.com> - 0.44-3
+- defuzz patches to build
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.44-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Fri Aug  1 2008 Andreas Thienemnan <athienem@redhat.com> 0.44-1
+- Update to 0.44
+
+* Sat Apr  5 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.42-1
+- update to 0.42
+- patch to define ARG_MAX (since for some unknown reason, it isn't defined anymore)
+
+* Mon Mar  3 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.41-4
+- rebuild for new perl (again)
+
+* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.41-3
+- Autorebuild for GCC 4.3
+
+* Fri Feb  8 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.41-2
+- rebuild for new perl
+
+* Thu Mar 15 2007 Andreas Thienemann <andreas@bawue.net> 0.41-1
+- Specfile autogenerated by cpanspec 1.69.1.
+- Cleaned up for FE