Commit | Line | Data |
---|---|---|
4f1bc490 JW |
1 | Summary: Perl interface to the University of Cambridge SMS service |
2 | Name: perl-Ucam-SMS-Send | |
3 | Version: 1.00 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Applications/Internet | |
7 | ||
8 | source: Ucam-SMS-Send-%{version}.tar.gz | |
9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot | |
10 | ||
11 | BuildArchitectures: noarch | |
12 | BuildArch: noarch | |
13 | ||
14 | %if 0%{?suse_version} < 1140 | |
15 | Requires: perl = %{perl_version} | |
16 | %else | |
17 | %{perl_requires} | |
18 | %endif | |
19 | ||
20 | Requires: perl-LWP-UserAgent perl-HTML-Entities | |
21 | BuildRequires: perl-macros | |
22 | ||
23 | %description | |
24 | A Perl interface to the University of Cambridge SMS (Short Message Service) | |
25 | service | |
26 | ||
27 | %prep | |
28 | %setup -q -n Ucam-SMS-Send-%{version} | |
29 | ||
30 | %build | |
31 | perl Makefile.PL | |
32 | %{__make} | |
33 | ||
34 | %install | |
35 | ||
36 | [ "%{buildroot}" != "/" ] && rm -rf %{buildroot} | |
37 | ||
38 | %perl_make_install | |
39 | %perl_process_packlist | |
40 | %perl_gen_filelist | |
41 | ||
42 | %clean | |
43 | rm -rf $RPM_BUILD_ROOT | |
44 | ||
45 | %files -f %{name}.files | |
46 | #%defattr(644,root,root,-) | |
47 | #%attr(755,root,root) /usr/lib/nagios/plugins/notify_telecoms_sms | |
48 | ||
49 | ||
50 | %changelog | |
51 | * Thu Nov 26 2015 <jw35@cam.ac.uk> 1.00-1 | |
52 | - This package created |