-
Notifications
You must be signed in to change notification settings - Fork 0
/
smsgateway-1.0.spec
55 lines (46 loc) · 1.19 KB
/
smsgateway-1.0.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
Summary: The SMS Gateway program.
Name: smsgateway
Version: 1.0
Release: 1
License: Owned by Gruppo Reti S.p.A.
Group: Applications/Communications
Source0: %{name}-%{version}.tar.gz
URL: http://www.reti.it/
Vendor: Gruppo Reti S.p.A.
Packager: Andrea Biancini <andrea.biancini@reti.it>
Distribution: Red Hat Linux or Fedora Linux
ExclusiveOS: Linux
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildRequires: make
Requires: perl sed gawk bash
%description
This package contains a the SMS Gateway program.
It is able to send and receive SMS messages through the GSM modem connected
to the serial port..
%prep
%setup -q
%build
%{__make}
%install
echo "%{_tmppath}/%{name}-%{version}-root" > curdir
%makeinstall
%{__rm} -rf curdir
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%post
#%{__mv} -f /usr/share/smsgateway/bin/smsgateway /etc/init.d/smsgateway
chkconfig --add smsgateway
exit 0
%preun
chkconfig --del smsgateway
exit 0
%files
%defattr(-,root,root)
%doc README
%config /etc/modem/*
/usr/share/smsgateway/*
%attr(0755,root,root) /etc/init.d/smsgateway
%attr(0777,root,root) /usr/share/smsgateway/spool
%changelog
* Mon Jul 12 2004 Andrea Biancini <andrea.biancini@reti.it>
- Initial build for smsgateway