]>
Commit | Line | Data |
---|---|---|
19789111 | 1 | %include /usr/lib/rpm/macros.perl |
2 | %define pdir Modem | |
3 | %define pnam Vgetty | |
4 | Summary: Modem::Vgetty - interface to vgetty(8) | |
5 | #Summary(pl): | |
6 | Name: perl-Modem-Vgetty | |
7 | Version: 0.03 | |
8 | Release: 1 | |
9 | License: GPL or Artistic | |
10 | Group: Development/Languages/Perl | |
11 | Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz | |
12 | BuildRequires: perl >= 5.6 | |
13 | BuildRequires: rpm-perlprov >= 4.1-13 | |
14 | %if %{!?_without_tests:1}0 | |
15 | %endif | |
16 | BuildArch: noarch | |
17 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
18 | ||
19 | %description | |
20 | C<Modem::Vgetty> is an encapsulation object for writing applications for | |
21 | voice modems using the B<vgetty(8)> or B<vm(8)> package. The answering | |
22 | machines and sofisticated voice applications can be written using | |
23 | this module. | |
24 | ||
25 | # %description -l pl | |
26 | # TODO | |
27 | ||
28 | %prep | |
29 | %setup -q -n %{pdir}-%{pnam}-%{version} | |
30 | ||
31 | %build | |
32 | %{__perl} Makefile.PL \ | |
33 | INSTALLDIRS=vendor | |
34 | %{__make} | |
35 | ||
36 | %install | |
37 | rm -rf $RPM_BUILD_ROOT | |
38 | ||
39 | %{__make} install \ | |
40 | DESTDIR=$RPM_BUILD_ROOT | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files | |
46 | %defattr(644,root,root,755) | |
47 | %{perl_vendorlib}/%{pdir}/*.pm | |
48 | %{_mandir}/man3/* |