Search
j0ke.net Open Build Service
>
Projects
>
server:messaging
>
sms-server-tools2
> smstools.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File smstools.spec of Package sms-server-tools2
Name: smstools Summary: The SMS Server Tools send and receive short messages through GSM modems or mobile phones. Version: 2.2.20 Release: 1 Source0: %{name}-%{version}.tar.gz Source1: %{name}.logrotate.d Source2: %{name}.suse.init Patch0: %{name}-install-destdir.diff Patch1: %{name}-makefile.diff License: GPL Group: Applications/Communications Url: http://smstools.meinemullemaus.de/ Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: mm-devel %description The SMS Server Tools send and receive short messages through GSM modems or mobile phones. You can send short messages by simply storing text files into a special spool directory. The program monitors this directory and sends new files automatically. It also stores received short messages into another directory as text files. The program can run other external programs or scripts after events like reception of a new message, successful sending and also when a problem has been detected. These external programs can inspect the related text files and perform automatic actions, for example storing information into a database, sending an automatic reply, forwarding messages via eMail, ... and whatever you like. This software runs on Windows and any Unix. It does not depend on any operating system specific feature and it does not depend on any library (except the standard C library). This makes the program highly compatible to embedded systems. %prep %setup -n smstools %patch0 -p1 %patch1 -p1 %build %{__make} %install install -D -m 755 -d %{buildroot}/%{_sysconfdir}/init.d install -D -m 755 -d %{buildroot}/%{_sysconfdir} install -D -m 755 -d %{buildroot}/%{_sysconfdir}/logrotate.d install -D -m 755 -d %{buildroot}/var/spool/sms install -D -m 755 -d %{buildroot}/%{_bindir} install -D -m 755 -d %{buildroot}/%{_sbindir} install -D -m 755 -d %{buildroot}/%{_docdir}/%{name}/html %{__make} install DESTDIR=%{buildroot} install -m 755 %{S:2} %{buildroot}/%{_sysconfdir}/init.d/smstools install -m 644 %{S:1} %{buildroot}/%{_sysconfdir}/logrotate.d/smstools mv doc html cd %{buildroot}/%{_sbindir} ln -s ../../%{_sysconfdir}/init.d/smstools rcsmstools rm -f %{buildroot}/etc/init.d/sms %files %defattr(-,root,root) %{_bindir}/smsd %{_bindir}/sendsms %{_bindir}/sms2html %{_bindir}/sms2unicode %{_bindir}/unicode2sms %{_sbindir}/rcsmstools %config(noreplace) %{_sysconfdir}/smsd.conf %{_sysconfdir}/logrotate.d/smstools %{_sysconfdir}/init.d/smstools %doc license readme %doc examples %doc html