]> git.pld-linux.org Git - packages/perl-Device-Gsm.git/blob - perl-Device-Gsm.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Device-Gsm.git] / perl-Device-Gsm.spec
1 #
2 # Conditional build:
3 %bcond_with     tests   # perform "make test" (uses serial port)
4 #
5 %define         pdir    Device
6 %define         pnam    Gsm
7 Summary:        Device::Gsm - a Perl class for GSM
8 Summary(pl.UTF-8):      Device::Gsm - perlowy interfejs do obsługi GSM
9 Name:           perl-Device-Gsm
10 Version:        1.58
11 Release:        2
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Device/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  a0bfe2f7a7380c109c73ab8693b91797
16 URL:            http://search.cpan.org/dist/Device-Gsm/
17 BuildRequires:  perl-Device-Modem
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 This is a Perl extension to talk to GSM modems.
22
23 %description -l pl.UTF-8
24 Jest to rozszerzenie Perla do obsługi modemów GSM.
25
26 %prep
27 %setup -q -n %{pdir}-%{pnam}-%{version}
28
29 %build
30 %{__perl} Makefile.PL \
31         INSTALLDIRS=vendor
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36
37 %{__make} install \
38         DESTDIR=$RPM_BUILD_ROOT
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc Change* README
46 %{perl_vendorlib}/Device/*.pm
47 %dir %{perl_vendorlib}/Device/Gsm
48 %{perl_vendorlib}/Device/Gsm/*.pm
49 %dir %{perl_vendorlib}/Device/Gsm/Sms
50 %{perl_vendorlib}/Device/Gsm/Sms/*.pm
51 %dir %{perl_vendorlib}/Device/Gsm/Sms/Token
52 %{perl_vendorlib}/Device/Gsm/Sms/Token/*.pm
53 %{_mandir}/man3/*
This page took 0.08193 seconds and 4 git commands to generate.