Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 9044ad15f824ee0f811731e692dbda8f > files > 2

perl-Net-Bluetooth-0.400.0-1mdv2010.0.src.rpm

%define upstream_name    Net-Bluetooth
%define upstream_version 0.40

Name:       perl-%{upstream_name}
Version:    %perl_convert_version %{upstream_version}
Release:    %mkrel 1

Summary:    Net::Bluetooth - Perl Bluetooth Interface
License:	GPL+ or Artistic
Group:		Development/Perl
Url:		http://search.cpan.org/dist/%{upstream_name}
Source0:    ftp://ftp.perl.org/pub/CPAN/modules/by-module/Net/Net-Bluetooth-%{upstream_version}.tar.bz2

BuildRequires: bluez-devel
BuildRequires: perl-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}
Requires(pre):  bluez

%description
Net::Bluetooth - Perl Bluetooth Interface
This module creates a Bluetooth interface for Perl.

%prep
%setup -q -n Net-Bluetooth-%{upstream_version}

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%make

%check
make test

%install
rm -rf $RPM_BUILD_ROOT
%makeinstall_std

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc Changes README
%{perl_vendorarch}/*
%{perl_vendorarch}/auto/Net/*
%dir %{perl_vendorarch}/auto/Net/Bluetooth
%{perl_vendorarch}/auto/Net/Bluetooth/*
%{_mandir}/man3/*


%changelog
* Wed Jul 29 2009 Jérôme Quelin <jquelin@mandriva.org> 0.400.0-1mdv2010.0
+ Revision: 404062
- rebuild using %%perl_convert_version

* Sat Feb 28 2009 Guillaume Rousse <guillomovitch@mandriva.org> 0.40-6mdv2009.1
+ Revision: 345984
- rebuild

* Thu Jul 31 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.40-5mdv2009.0
+ Revision: 257951
- rebuild

* Thu Jul 24 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.40-4mdv2009.0
+ Revision: 246002
- rebuild
- fix spacing at top of description

* Tue Jan 15 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.40-2mdv2008.1
+ Revision: 152216
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Aug 16 2007 Funda Wang <fundawang@mandriva.org> 0.40-1mdv2008.0
+ Revision: 64131
- New version 0.40

* Wed May 23 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.39-1mdv2008.0
+ Revision: 30113
- Fix BR
- Import perl-Net-Bluetooth



* Wed May 23 2007 Nicolas Lécureuil <neoclust@mandriva.org> 0.39-1mdv2008.0
- First Mandriva package