- update to 1.53 ***CHANGED*** default log file position from /var/log/modem.log to /tmp/modem.log. - Added voice dialing. Just dialing though. You can't perform real voice calls through Device::Modem (yet :) Thanks to Marek Jaros. - Added ';' (voice dialing) and 'p' (pause) as valid values for dial() number. OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl-Device-Modem?expand=0&rev=8
53 lines
1.3 KiB
RPMSpec
53 lines
1.3 KiB
RPMSpec
%define cpan_name Device-Modem
|
|
|
|
Name: perl-%cpan_name
|
|
Version: 1.53
|
|
Release: 1
|
|
Provides: %cpan_name
|
|
Requires: perl-Device-SerialPort
|
|
BuildRequires: perl-Device-SerialPort
|
|
BuildRequires: perl-macros
|
|
Group: Development/Libraries/Perl
|
|
License: Artistic
|
|
URL: http://search.cpan.org/dist/Device-Modem/
|
|
Summary: Perl extension to talk to modem devices connected via serial port
|
|
Source: %cpan_name-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
%{perl_requires}
|
|
|
|
%description
|
|
Device::Modem class implements basic AT (Hayes) compliant device abstraction.
|
|
It can be inherited by sub classes (as Device::Gsm), which are based on serial connections.
|
|
|
|
%prep
|
|
%setup -q -n %cpan_name-%{version}
|
|
find . -type f -exec chmod -x {} \;
|
|
|
|
%build
|
|
perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
|
|
make
|
|
|
|
%check
|
|
make test
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install_vendor
|
|
%perl_process_packlist
|
|
|
|
%clean
|
|
# clean up the hard disc after build
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_mandir}/man?/*
|
|
%{perl_vendorlib}/Device
|
|
%{perl_vendorarch}/auto/Device
|
|
%doc Changes MANIFEST README
|
|
|
|
%changelog -n %{name}
|
|
* Sun Oct 26 2008 - gerrit.beine@gmx.de
|
|
- update to 1.50
|
|
* Wed May 21 2008 - gerrit.beine@gmx.de
|
|
- first release 1.48
|