Initial commit -- packaging in progress
[u/jw35/ucam-sms-send.git] / perl-Ucam-SMS-Send.spec
CommitLineData
4f1bc490
JW
1Summary: Perl interface to the University of Cambridge SMS service
2Name: perl-Ucam-SMS-Send
3Version: 1.00
4Release: 1
5License: GPL
6Group: Applications/Internet
7
8source: Ucam-SMS-Send-%{version}.tar.gz
9BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
10
11BuildArchitectures: noarch
12BuildArch: noarch
13
14%if 0%{?suse_version} < 1140
15Requires: perl = %{perl_version}
16%else
17%{perl_requires}
18%endif
19
20Requires: perl-LWP-UserAgent perl-HTML-Entities
21BuildRequires: perl-macros
22
23%description
24A Perl interface to the University of Cambridge SMS (Short Message Service)
25service
26
27%prep
28%setup -q -n Ucam-SMS-Send-%{version}
29
30%build
31perl 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
43rm -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