Fix mior typos
[u/jw35/ucam-sms-send.git] / perl-Ucam-SMS-Send.spec
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 %if 0%{?suse_version} < 1120
22 BuildRequires: perl-macros
23 %endif
24
25 %description
26 A Perl interface to the University of Cambridge SMS (Short Message Service)
27 service
28
29 %prep
30 %setup -q -n Ucam-SMS-Send-%{version}
31
32 %build
33 perl Makefile.PL
34 %{__make}
35
36 %install
37
38 [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
39
40 %perl_make_install
41 %perl_process_packlist
42 %perl_gen_filelist
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files -f %{name}.files
48 #%defattr(644,root,root,-)
49 #%attr(755,root,root) /usr/lib/nagios/plugins/notify_telecoms_sms
50
51
52 %changelog
53 * Thu Nov 26 2015 <jw35@cam.ac.uk> 1.00-1
54 - This package created