2003-02-19 08:19:51 +00:00
|
|
|
#
|
|
|
|
# spec file for package capisuite
|
|
|
|
#
|
|
|
|
# Author: Gernot Hillier <gernot@hillier.de>
|
|
|
|
#
|
|
|
|
# This spec file was developed for the use with SuSE Linux. But it
|
|
|
|
# should also work for any other distribution with slight changes.
|
|
|
|
# If you created your own RPM, please tell me and I'll happily include
|
|
|
|
# the spec or a link to your RPM on the homepage.
|
|
|
|
|
|
|
|
# neededforbuild capi4linux gcc-c++ libstdc++-devel libxml2-devel python python-devel
|
|
|
|
|
|
|
|
Name: capisuite
|
|
|
|
License: GPL
|
|
|
|
Group: Applications/Communications
|
|
|
|
Autoreqprov: on
|
2003-12-28 21:01:04 +00:00
|
|
|
Version: 0.5
|
2003-02-19 08:19:51 +00:00
|
|
|
Release: 0
|
2003-04-03 21:08:38 +00:00
|
|
|
Requires: sfftobmp sox tiff ghostscript-library
|
|
|
|
Summary: ISDN telecommunication suite providing fax and voice services
|
2003-02-19 08:19:51 +00:00
|
|
|
Source0: capisuite-%{version}.tar.gz
|
|
|
|
Source1: rc.capisuite
|
2003-04-03 21:08:38 +00:00
|
|
|
URL: http://www.capisuite.de
|
2003-02-19 08:19:51 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: %insserv_prereq
|
|
|
|
|
|
|
|
%description
|
2003-04-03 21:08:38 +00:00
|
|
|
CapiSuite is an ISDN telecommunication suite providing easy to use
|
2003-02-19 08:19:51 +00:00
|
|
|
telecommunication functions which can be controlled from Python scripts.
|
|
|
|
|
|
|
|
It uses a CAPI-compatible driver for accessing the ISDN-hardware, so you'll
|
2003-04-03 21:08:38 +00:00
|
|
|
need an Eicon or AVM card with the according driver.
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
CapiSuite is distributed with two example scripts for call incoming handling
|
2003-04-03 21:08:38 +00:00
|
|
|
and fax sending. See /usr/share/doc/packages/capisuite for further information.
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
Authors:
|
|
|
|
--------
|
2003-04-03 21:08:38 +00:00
|
|
|
Gernot Hillier
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup
|
2004-03-24 20:05:57 +00:00
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-docdir=/usr/share/doc/packages/capisuite --mandir=/usr/share/man
|
2003-02-19 08:19:51 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
|
|
|
install -g root -m 755 -o root %{SOURCE1} $RPM_BUILD_ROOT/etc/init.d/capisuite
|
|
|
|
ln -sf ../../etc/init.d/capisuite $RPM_BUILD_ROOT/usr/sbin/rccapisuite
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%config /etc/capisuite/capisuite.conf
|
|
|
|
%config /etc/capisuite/fax.conf
|
|
|
|
%config /etc/capisuite/answering_machine.conf
|
2003-04-03 21:08:38 +00:00
|
|
|
/usr/sbin/capisuite
|
2003-02-19 08:19:51 +00:00
|
|
|
/usr/bin/capisuitefax
|
|
|
|
%doc /usr/share/doc/packages/capisuite
|
|
|
|
/usr/share/capisuite
|
|
|
|
/usr/lib/capisuite
|
|
|
|
/var/spool/capisuite
|
2003-04-03 21:08:38 +00:00
|
|
|
/usr/%{_lib}/python2.?/site-packages/cs_helpers.py
|
2003-02-19 08:19:51 +00:00
|
|
|
/etc/init.d/capisuite
|
|
|
|
/usr/sbin/rccapisuite
|
|
|
|
|