153 lines
6.1 KiB
RPMSpec
153 lines
6.1 KiB
RPMSpec
#
|
|
# spec file for package capisuite
|
|
#
|
|
# Copyright (c) 2003 Gernot Hillier <gernot@hillier.de>
|
|
# Parts Copyright (c) SuSE Linux AG, Nuernberg, Germany.
|
|
#
|
|
# This file and all modifications and additions to the pristine
|
|
# package are under the same license as the package itself.
|
|
#
|
|
# 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
|
|
# usedforbuild aaa_base aaa_version acl attr bash bind9-utils bison cpio cpp cyrus-sasl db devs diffutils e2fsprogs file filesystem fileutils fillup findutils flex gawk gdbm-devel glibc glibc-devel glibc-locale gpm grep groff gzip kbd less libgcc libstdc++ libxcrypt m4 make man mktemp modutils ncurses ncurses-devel net-tools netcfg pam pam-devel pam-modules patch permissions ps rcs readline sed sendmail sh-utils shadow strace syslogd sysvinit tar texinfo textutils timezone unzip util-linux vim zlib-devel autoconf automake binutils bzip2 capi4linux cracklib gcc gcc-c++ gdbm gettext libstdc++-devel libtool libxml2-devel perl python python-devel rpm zlib
|
|
|
|
Name: capisuite
|
|
License: GPL
|
|
Group: Hardware/ISDN
|
|
Autoreqprov: on
|
|
Version: 0.4.4
|
|
Release: 0
|
|
Requires: sfftobmp sox tiff ghostscript-library glibc-locale
|
|
Summary: ISDN telecommunication suite providing fax and voice services
|
|
Source0: capisuite-%{version}.tar.gz
|
|
URL: http://www.capisuite.de
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: %insserv_prereq
|
|
|
|
%description
|
|
CapiSuite is an ISDN telecommunication suite providing easy to use
|
|
telecommunication functions which can be controlled from Python scripts.
|
|
|
|
It uses a CAPI-compatible driver for accessing the ISDN-hardware, so you'll
|
|
need an AVM card with the according driver.
|
|
|
|
CapiSuite is distributed with two example scripts for call incoming handling
|
|
and fax sending. See /usr/share/doc/packages/capisuite for further information.
|
|
|
|
Authors:
|
|
--------
|
|
Gernot Hillier
|
|
|
|
%prep
|
|
%setup
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --with-docdir=/usr/share/doc/packages/capisuite
|
|
|
|
%build
|
|
make
|
|
strip src/capisuite
|
|
|
|
%install
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
mkdir -p $RPM_BUILD_ROOT/etc/init.d
|
|
mkdir -p $RPM_BUILD_ROOT/usr/sbin
|
|
mkdir -p $RPM_BUILD_ROOT/etc/cron.daily
|
|
install -g root -m 644 -o root cronjob.conf $RPM_BUILD_ROOT/etc/capisuite/cronjob.conf
|
|
install -g root -m 755 -o root rc.capisuite $RPM_BUILD_ROOT/etc/init.d/capisuite
|
|
install -g root -m 755 -o root capisuite.cron $RPM_BUILD_ROOT/etc/cron.daily/capisuite
|
|
ln -sf ../../etc/init.d/capisuite $RPM_BUILD_ROOT/usr/sbin/rccapisuite
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%post
|
|
%{insserv_force_if_yast etc/init.d/capisuite }
|
|
|
|
%postun
|
|
%{insserv_cleanup}
|
|
|
|
%files
|
|
%config /etc/capisuite/cronjob.conf
|
|
%config /etc/capisuite/capisuite.conf
|
|
%config /etc/capisuite/fax.conf
|
|
%config /etc/capisuite/answering_machine.conf
|
|
/usr/sbin/capisuite
|
|
/usr/bin/capisuitefax
|
|
%doc /usr/share/doc/packages/capisuite
|
|
/usr/share/capisuite
|
|
/usr/lib/capisuite
|
|
/var/spool/capisuite
|
|
/usr/%{_lib}/python2.?/site-packages/cs_helpers.py
|
|
/etc/init.d/capisuite
|
|
/etc/cron.daily/capisuite
|
|
/usr/sbin/rccapisuite
|
|
|
|
%changelog -n capisuite
|
|
* Sun Jan 18 2004 - gernot@hillier.de
|
|
- updated to 0.4.4
|
|
* Sun Jul 20 2003 - gernot@hillier.de
|
|
- updated to 0.4.3
|
|
* Sun Apr 27 2003 - gernot@hillier.de
|
|
- updated to 0.4.2
|
|
* Sat Apr 05 2003 - gernot@hillier.de
|
|
- updated to 0.4.1a (SECURITY FIX for cronjob, ...)
|
|
* Thu Mar 20 2003 - ghillie@suse.de
|
|
- updated to 0.4.1, thrown away all patches which are already
|
|
included in this release
|
|
* Thu Mar 13 2003 - ghillie@suse.de
|
|
- SECURITY FIX: permissions of saved documents and waves are 0600
|
|
now instead of 0644 and dirs have 0700 instead of 0755. This
|
|
fixes critical bug #25242. Bug severity was approved by kkeil.
|
|
* Mon Mar 10 2003 - ghillie@suse.de
|
|
- added current documentation as .tar.bz2 to avoid change of
|
|
Makefile so late (old Makefiles won't install new docs correctly)
|
|
* Mon Mar 03 2003 - ghillie@suse.de
|
|
- added capisuite-faxid.diff: fixes sending of fax station ID, fax
|
|
headline works now
|
|
* Sun Feb 23 2003 - ghillie@suse.de
|
|
- added capisuite-cron.diff: cron-script errors to /dev/null
|
|
* Fri Feb 21 2003 - ghillie@suse.de
|
|
- capisuite-removesetuid.diff: fixes Bugzilla 23732 (freeze because
|
|
of usage of setuid() which isn't allowed in threads)
|
|
- capisuite-cosmetical.diff: cosmetical fixes (examples in conf files
|
|
were wrong, removed debug output)
|
|
- added tiff & ghostscript-library to Requires: fixes Bug 23962
|
|
* Tue Feb 18 2003 - ghillie@suse.de
|
|
- fixed Bugzilla 23731 (lock files weren't deleted in idle.py)
|
|
* Mon Feb 17 2003 - ghillie@suse.de
|
|
- updated to 0.4 (new/old messages in remote inquiry, capisuitefax
|
|
can show sendqueue and abort jobs)
|
|
* Tue Feb 11 2003 - ghillie@suse.de
|
|
- included cron job for cleaning up
|
|
- rc.capisuite was moved into tar ball
|
|
* Mon Feb 10 2003 - ghillie@suse.de
|
|
- updated to 0.3.2 (got rid of CommonC++, using native pthreads now,
|
|
fixed some major bugs)
|
|
* Mon Feb 03 2003 - ghillie@suse.de
|
|
- updated to 0.3.1: (bugfixes, use different sendqueue for each user,
|
|
script improvements, e.g. sayNumber supports 0-99 well now)
|
|
* Wed Jan 29 2003 - ghillie@suse.de
|
|
- added sox to Require:
|
|
* Wed Jan 29 2003 - ghillie@suse.de
|
|
- don't start if no user configured for default scripts
|
|
- added insserv to %%post (spec file)
|
|
* Mon Jan 27 2003 - ghillie@suse.de
|
|
- included startup script
|
|
* Mon Jan 27 2003 - ghillie@suse.de
|
|
- updated to 0.3 (split configuration files into fax and
|
|
answering machine config)
|
|
* Thu Jan 23 2003 - ghillie@suse.de
|
|
- updated to 0.2.1 (mainly documentation improvements, has an own
|
|
manual now)
|
|
* Mon Jan 20 2003 - ghillie@suse.de
|
|
- updated to 0.2 (see included NEWS for changes)
|
|
- added correct docdir to configure call in specfile
|
|
* Mon Dec 16 2002 - gernot@hillier.de
|
|
- first package
|
|
* Mon Dec 16 2002 - gernot@hillier.de
|
|
- fixed 2 small bugs (physical disconnect was missing in some cases,
|
|
file delete in remote inquiry didn't work)
|