Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
network:telephony
lcr
lcr.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lcr.spec of Package lcr
# # spec file for package lcr # # Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define version_unconverted 1.14.g555 %bcond_with asterisk %bcond_with sip Name: lcr Version: 1.14.g555 Release: 0 Summary: A PBX for ISDN License: GPL-2.0-or-later Group: Productivity/Telephony/Servers URL: http://www.linux-call-router.de/ #Git-Clone: http://git.eversberg.eu/lcr.git Source: %{name}-%{version}.tar.xz Patch0: 0001-Fix-signed-pointer-comparison.patch Patch1: 0002-Remove-check-for-SOFIA_SIP_GCC_4_8_PATCH_APLLIED.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: mISDNuser-devel BuildRequires: ncurses-devel BuildRequires: pkgconfig BuildRequires: xz BuildRequires: pkgconfig(libcrypto) Recommends: logrotate %if %{with asterisk} BuildRequires: asterisk-devel %endif %if %{with sip} BuildRequires: pkgconfig(sofia-sip-ua) >= 1.12 %endif %description Linux-Call-Router is a real ISDN PBX which interconnects ISDN telephones and ISDN lines. It is possible to connect telephones to a Linux box. It is purely a software solution except for the ISDN cards and telephones. The great benefit is the NT mode that allows to connect telephones to an ISDN card. Special cards are needed and a little bit of different cabling. It supports lots of features, that only expensive PBXs have. It include a channel driver that can link LCR to Asterisk PBX. %package asterisk Summary: Asterisk chanenl plugin for accessing Linux Call Router (LCR) Group: Productivity/Telephony/Servers %description asterisk %package tones-american Summary: American telephony tone set for Linux Call Router (LCR) Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description tones-american American dial tone files for use with Linux Call Router (LCR). %package tones-german Summary: German telephony tone set for Linux Call Router (LCR) Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description tones-german German dial tone files for use with Linux Call Router (LCR). %package tones-efi Summary: EFI telephony tone set for Linux Call Router (LCR) Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description tones-efi %package vbox-english Summary: English voicebox sounds for Linux Call Router (LCR) Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description vbox-english English audio files for Linux Call Router's voicebox interaction. %package vbox-german Summary: German voicebox sounds for Linux Call Router (LCR) Group: Productivity/Telephony/Servers %if 0%{?suse_version} >= 1130 BuildArch: noarch %endif %description vbox-german German audio files for Linux Call Router's voicebox interaction. %prep %setup -q %patch0 -p1 %patch1 -p1 %build autoreconf -fi %configure \ %if %{with asterisk} --with-asterisk \ %endif %if %{with sip} --with-sip \ %endif --disable-static %make_build %install b="%buildroot" make install DESTDIR="$b" mkdir -p "$b/%_mandir/man1" "$b/%_mandir/man8" install -pm0644 debian/*.1 "$b/%_mandir/man1/" install -pm0644 debian/*.8 "$b/%_mandir/man8/" mkdir -p "$b/%_sysconfdir/logrotate.d" install -pm0644 debian/lcr.logrotate "$b/%_sysconfdir/logrotate.d/lcr" %files %defattr(-,root,root) %dir %_sysconfdir/lcr %config(noreplace) %_sysconfdir/lcr/* %config %_sysconfdir/logrotate.d/lcr %_bindir/gentones %_bindir/genwave %_bindir/lcradmin %_sbindir/genextension %_sbindir/genrc %_sbindir/lcr %_mandir/man1/* %_mandir/man8/* %if %{with asterisk} %files asterisk %defattr(-,root,root) %dir %_libdir/asterisk %dir %_libdir/asterisk/modules %_libdir/asterisk/modules/chan_lcr.so %endif %files tones-american %defattr(-,root,root) %dir %_datadir/lcr %_datadir/lcr/tones_american %files tones-efi %defattr(-,root,root) %dir %_datadir/lcr %_datadir/lcr/tones_efi %files tones-german %defattr(-,root,root) %dir %_datadir/lcr %_datadir/lcr/tones_german %files vbox-english %defattr(-,root,root) %dir %_datadir/lcr %_datadir/lcr/vbox_english %files vbox-german %defattr(-,root,root) %dir %_datadir/lcr %_datadir/lcr/vbox_german %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor