Remove build artifacts added by mistake
[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
b8933321 21%if 0%{?suse_version} < 1120
4f1bc490 22BuildRequires: perl-macros
b8933321 23%endif
4f1bc490
JW
24
25%description
26A Perl interface to the University of Cambridge SMS (Short Message Service)
27service
28
29%prep
30%setup -q -n Ucam-SMS-Send-%{version}
31
32%build
33perl 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
45rm -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