rpms/svxlink/devel svxlink-080730-libs.patch, NONE, 1.1 svxlink-080730-spandsp-0.5.patch, NONE, 1.1 svxlink-080730-tcl.patch, NONE, 1.1 svxlink-080730-x86_64.patch, NONE, 1.1 svxlink.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Lucian Langa
lucilanga at fedoraproject.org
Mon Dec 8 06:22:26 UTC 2008
- Previous message (by thread): rpms/kernel/F-9 linux-2.6-wireless-ath9k-dma-fixes.patch, NONE, 1.1 kernel.spec, 1.873, 1.874 linux-2.6-wireless-ath9k-check-broken-iommu.patch, 1.1, NONE
- Next message (by thread): rpms/python-openoffice/devel python-openoffice.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: lucilanga
Update of /cvs/pkgs/rpms/svxlink/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23095
Modified Files:
.cvsignore sources
Added Files:
svxlink-080730-libs.patch svxlink-080730-spandsp-0.5.patch
svxlink-080730-tcl.patch svxlink-080730-x86_64.patch
svxlink.spec
Log Message:
initial import
svxlink-080730-libs.patch:
--- NEW FILE svxlink-080730-libs.patch ---
--- svxlink-080730/echolib/Makefile.default 2006-11-07 22:44:20.000000000 +0200
+++ svxlink-0807300-mod/echolib/Makefile.default 2008-11-21 12:51:11.000000000 +0200
@@ -76,7 +76,7 @@
EchoLinkDispatcher.cpp EchoLinkStationData.cpp
# Which libs are used by the DYNAMIC lib generated.
-LIB_LIBS = -lc -lasynccore -lgsm
+LIB_LIBS = -lc -lasynccore -lgsm -lasyncaudio
# Which STATIC libs should be included in the generated STATIC lib.
# These libs must be in the $(LIB) directory. Only the name of the
svxlink-080730-spandsp-0.5.patch:
--- NEW FILE svxlink-080730-spandsp-0.5.patch ---
--- svxlink-080730-orig/svxlink/trx/SpanDtmfDecoder.cpp 2008-04-12 13:58:51.000000000 +0300
+++ svxlink-080730/svxlink/trx/SpanDtmfDecoder.cpp 2008-08-12 08:19:48.000000000 +0300
@@ -166,7 +166,8 @@
}
dtmf_rx_init(&p->rx_state, NULL, this);
- dtmf_rx_parms(&p->rx_state, FALSE, max_fwd_twist, max_rev_twist);
+//added reverse twist since spandsp > 0.0.5 (< 0 leaves unchanged)
+ dtmf_rx_parms(&p->rx_state, FALSE, max_fwd_twist, max_rev_twist, -99);
dtmf_rx_set_realtime_callback(&p->rx_state, SpanDtmfDecoder::toneReportCb,
this);
svxlink-080730-tcl.patch:
--- NEW FILE svxlink-080730-tcl.patch ---
--- svxlink-080730-orig/create_config.sh 2008-07-30 13:15:04.000000000 +0300
+++ svxlink-080730/create_config.sh 2008-08-12 07:49:58.000000000 +0300
@@ -144,9 +144,15 @@
info "${TCL_VERSION}\n"
output "TCL_LIBS=-ltcl${TCL_VERSION}"
else
+if [ -r /usr/lib64/tclConfig.sh ]; then
+ . /usr/lib64/tclConfig.sh
+ info "${TCL_VERSION}\n"
+ output "TCL_LIBS=-ltcl${TCL_VERSION}"
+else
info "no\n"
exit 1
fi
+fi
exit 0
svxlink-080730-x86_64.patch:
--- NEW FILE svxlink-080730-x86_64.patch ---
--- svxlink-080730/makefile.inc 2008-07-30 14:27:51.000000000 +0300
+++ svxlink-080730-mod/makefile.inc 2008-08-20 16:21:44.000000000 +0300
@@ -106,11 +106,11 @@
# Compiler warnings
CWARNINGS = -Wstrict-prototypes -Wpointer-arith \
-DNeedVarargsPrototypes -fstrength-reduce \
- -fpcc-struct-return -fno-common -Wall
+ -fno-common -Wall
CXXWARNINGS = -Wpointer-arith \
-DNeedVarargsPrototypes -fstrength-reduce \
- -fpcc-struct-return -fno-common -Wall
+ -fno-common -Wall
# Bash-script to find out the relative path from a given directory
--- NEW FILE svxlink.spec ---
%define main_version 080730
Name: svxlink
Version: %{main_version}
Release: 6%{?dist}
Summary: Repeater controller and EchoLink (simplex or repeater)
Group: Applications/Internet
#files contained in sounds package are licensed under GPLv2
#the rest of files are licensed under GPLv2+
License: GPLv2 and GPLv2+
URL: http://svxlink.sourceforge.net
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
Source1: http://downloads.sourceforge.net/%{name}/sounds-%{version}.tar.gz
Patch0: svxlink-080730-tcl.patch
Patch1: svxlink-080730-spandsp-0.5.patch
Patch2: svxlink-080730-x86_64.patch
#aparently echolib is not correctly linked against libasync
Patch3: svxlink-080730-libs.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libsigc++-devel, libmng-devel, tcl-devel, qt3-devel, gsm-devel
BuildRequires: spandsp-devel, libXi-devel, libtiff-devel, popt-devel
BuildRequires: doxygen, desktop-file-utils
Requires (preun): chkconfig
Requires (preun): initscripts
Requires (post): chkconfig
Requires (postun): initscripts
%description
The SvxLink project is a multi purpose voice services system for
ham radio use. For example, EchoLink connections are supported.
Also, the SvxLink server can act as a repeater controller.
%package -n libasync
Summary: Svxlink async libs
Group: Development/Libraries
Version: 0.16.1
%description -n libasync
The Async library files.
%package -n libasync-devel
Summary: Svxlink async development files
Group: Development/Libraries
Version: 0.16.1
Requires: libasync = 0.16.1
%description -n libasync-devel
The async library development files
%package -n echolib
Summary: EchoLink communications library
Group: Development/Libraries
Version: 0.13.0
%description -n echolib
EchoLink communications library
%package -n echolib-devel
Summary: Development files for the EchoLink communications library
Group: Development/Libraries
Version: 0.13.0
Requires: echolib = 0.13.0
%description -n echolib-devel
Development files for the EchoLink communications library
%package -n qtel
Summary: The Qt EchoLink Client
Group: Applications/Communications
Version: 0.11.1
%description -n qtel
This package contains Qtel, the Qt EchoLink client. It is an implementation of
the EchoLink software in Qt. This is only an EchoLink client, that is it can
not be connected to a transciever to create a link. If it is a pure link node
you want, install the svxlink-server package.
%package -n svxlink-server
Summary: SvxLink - A general purpose voice services system
Version: 0.10.1
Group: Applications/Communications
Requires: udev
Requires (pre): shadow-utils
%description -n svxlink-server
The SvxLink server is a general purpose voice services system for ham radio
use. Each voice service is implemented as a plugin called a module.
Some examples of voice services are: Help system, Simplex repeater,
EchoLink connection.
The core of the system handle the radio interface and is quite flexible
as well. It can act both as a simplex node and as a repeater controller.
%package -n svxlink-server-devel
Summary: SvxLink - A general purpose voice services system
Summary: Development files for the SvxLink server
Version: 0.10.1
Group: Applications/Communications
%description -n svxlink-server-devel
Development files for the SvxLink server
%prep
%setup -q -n %{name}-%{main_version}
%setup -q -D -T -a 1 -n %{name}-%{main_version}
%patch0 -p1 -b .tcl
%patch1 -p1 -b .spandsp
%patch2 -p1 -b .x86_64
%patch3 -p1 -b .libs
#sed -i -e "s/.SILENT://g" Makefile
#sed -i -e "s/.SILENT://g" makefile.sub
#make realclean
%build
#LDFLAGS="${LDFLAGS:--Wl,-as-needed}" ; export LDFLAGS
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS
make %{?_smp_mflags}
doxygen doxygen.async
doxygen doxygen.echolib
%install
rm -rf %{buildroot}
make INSTALL_ROOT=$RPM_BUILD_ROOT NO_CHOWN=1 LIB_INSTALL_DIR=%{_libdir} \
INC_INSTALL_DIR=%{_includedir}/svxlink BIN_INSTALL_DIR=%{_bindir} \
SBIN_INSTALL_DIR=%{_sbindir} PLUGIN_INSTALL_DIR=%{_libdir}/svxlink install
mkdir -p %{buildroot}%{_datadir}/svxlink
cp -a sounds %{buildroot}%{_datadir}/svxlink/
mkdir -p %{buildroot}%{_localstatedir}/log
touch %{buildroot}%{_localstatedir}/log/svxlink
touch %{buildroot}%{_localstatedir}/log/svxlink.{1,2,3,4}
desktop-file-install \
--dir=%{buildroot}%{_datadir}/applications qtel/qtel.desktop
mv %{buildroot}%{_sysconfdir}/logrotate.d/svxlink %{buildroot}%{_sysconfdir}/logrotate.d/svxlink-server
sed -i -e "s/subsys\/\$PROG/subsys\/svxlink/g" %{buildroot}%{_sysconfdir}/init.d/svxlink
sed -i -e "s/subsys\/\$PROG/subsys\/remotetrx/g" %{buildroot}%{_sysconfdir}/init.d/remotetrx
#remove static libs
rm -f %{buildroot}%{_libdir}/libasync*.a
rm -f %{buildroot}%{_libdir}/libecholib.a
rm -f %{buildroot}%{_libdir}/libtrx.a
%post -n libasync -p /sbin/ldconfig
%postun -n libasync -p /sbin/ldconfig
%post -n echolib -p /sbin/ldconfig
%postun -n echolib -p /sbin/ldconfig
%pre -n svxlink-server
getent group daemon >/dev/null || groupadd -r daemon
getent passwd svxlink >/dev/null || \
useradd -r -g daemon -d / -s /sbin/nologin \
-c "SvxLink Daemon " svxlink
exit 0
%post -n svxlink-server
/sbin/chkconfig --add svxlink
%preun -n svxlink-server
if [ $1 = 0 ]; then
/sbin/service svxlink stop >/dev/null 2>&1 || :
/sbin/chkconfig --del svxlink
fi
%postun -n svxlink-server
if [ "$1" -ge "1" ] ; then
/sbin/service svxlink condrestart >/dev/null 2>&1 || :
fi
%clean
rm -rf %{buildroot}
%files -n libasync
%defattr(-,root,root,-)
%doc async/ChangeLog
%defattr(755,root,root)
%{_libdir}/libasync*.so.*
%{_libdir}/libasync*.*.so
%files -n libasync-devel
%defattr(-,root,root,-)
%doc doc/async/html
%{_libdir}/libasyncaudio.so
%{_libdir}/libasynccore.so
%{_libdir}/libasynccpp.so
%{_libdir}/libasyncqt.so
%dir %{_includedir}/svxlink
%{_includedir}/svxlink/Async*
%{_includedir}/svxlink/SigCAudio*.h
%files -n echolib
%defattr(-,root,root,-)
%doc echolib/ChangeLog
%defattr(755,root,root)
%{_libdir}/libecholib*.so.*
%{_libdir}/libecholib*.*.so
%files -n echolib-devel
%defattr(-,root,root,-)
%doc doc/echolib/html
%{_libdir}/libecholib.so
%dir %{_includedir}/svxlink
%{_includedir}/svxlink/EchoLink*
%files -n qtel
%defattr(-,root,root,-)
%doc qtel/ChangeLog
%{_bindir}/qtel
%{_datadir}/qtel
%{_datadir}/icons/link.xpm
%{_datadir}/applications/qtel.desktop
%files -n svxlink-server
%defattr(-,root,root,-)
%doc svxlink/ChangeLog
%{_bindir}/svxlink
%{_bindir}/dtmf_plot
%{_bindir}/remotetrx
%{_bindir}/siglevdetcal
%dir %{_libdir}/svxlink
%{_libdir}/svxlink/Module*.so
%dir %{_sysconfdir}/svxlink.d
%{_datadir}/svxlink
%defattr(644,root,root)
%config(noreplace) %{_sysconfdir}/svxlink.conf
%config(noreplace) %{_sysconfdir}/svxlink.d/*
%config(noreplace) %{_sysconfdir}/TclVoiceMail.conf
%config(noreplace) %{_sysconfdir}/logrotate.d/svxlink-server
%config(noreplace) %{_sysconfdir}/remotetrx.conf
%config(noreplace) %{_sysconfdir}/sysconfig/svxlink
%config(noreplace) %{_sysconfdir}/sysconfig/remotetrx
%config(noreplace) %{_sysconfdir}/security/console.perms.d/90-svxlink.perms
%config(noreplace) %{_sysconfdir}/udev/rules.d/10-svxlink.rules
%{_mandir}/man*/*
%attr(755,svxlink,daemon) %dir %{_localstatedir}/spool/svxlink
%attr(755,svxlink,daemon) %dir %{_localstatedir}/spool/svxlink/voice_mail
%defattr(755,root,root)
%{_datadir}/svxlink/event_test.tcl
%{_sysconfdir}/init.d/svxlink
%{_sysconfdir}/init.d/remotetrx
%defattr(644,root,root)
%ghost /var/log/*
%files -n svxlink-server-devel
%defattr(-,root,root,-)
%doc svxlink/ChangeLog
%{_includedir}/svxlink
%changelog
* Sun Dec 07 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-6
- added udev dependency
- fixed libs permissions
- update scriptlets
* Sat Dec 06 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-5
- license update
* Wed Dec 03 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-4
- fix duplicated files
- remove static libraries
* Fri Nov 21 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-3
- added fedora optflags
- fix unowned dirs
- spandsp 0.5 patch
- update BR
* Sun Aug 21 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-2
- mangle svxlink conf to include correct libdir
- misc -devel clean
* Sun Aug 10 2008 Lucian Langa <cooly at gnome.eu.org> - 080730-1
- Initial spec (parts of it imported from upstream spec)
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/svxlink/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 8 Dec 2008 00:27:32 -0000 1.1
+++ .cvsignore 8 Dec 2008 06:21:56 -0000 1.2
@@ -0,0 +1,2 @@
+svxlink-080730.tar.gz
+sounds-080730.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/svxlink/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 8 Dec 2008 00:27:33 -0000 1.1
+++ sources 8 Dec 2008 06:21:56 -0000 1.2
@@ -0,0 +1,2 @@
+aadbba0afd8ab34d7419aa7816bcb2a3 svxlink-080730.tar.gz
+b030db62a080c7c35a5210a994ce5efa sounds-080730.tar.gz
- Previous message (by thread): rpms/kernel/F-9 linux-2.6-wireless-ath9k-dma-fixes.patch, NONE, 1.1 kernel.spec, 1.873, 1.874 linux-2.6-wireless-ath9k-check-broken-iommu.patch, 1.1, NONE
- Next message (by thread): rpms/python-openoffice/devel python-openoffice.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list