Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:mnhauke:openbts
openbts
openbts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File openbts.spec of Package openbts
# # spec file for package openbts # # Copyright (c) 2014, Martin Hauke <mardnh@gmx.de> # # 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 http://bugs.opensuse.org/ # %define openbts_dir /opt/OpenBTS/ %define build_doxygen_docs 0 Name: openbts Version: 5.0.git20160818 Release: 0 Summary: OpenBTS GSM+GPRS Radio Access Network Node License: AGPL-3.0 Group: Productivity/Telephony/Servers Url: http://wush.net/trac/rangepublic/wiki Source: OpenBTS-%{version}.tar.gz Patch1: openbts-sgsnggsn-inetutils-hostname-fix.diff Patch2: openbts-fix-gcc6-compile-error.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: cppzmq-devel BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: liba53-devel BuildRequires: libtool BuildRequires: pkg-config BuildRequires: readline-devel BuildRequires: pkgconfig(libcrypto) BuildRequires: pkgconfig(libosip2) BuildRequires: pkgconfig(libusb-1.0) BuildRequires: pkgconfig(libzmq) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(ortp) BuildRequires: pkgconfig(sqlite3) %ifarch %{ix86} x86_64 BuildRequires: libcoredumper-devel %endif # for git-version-gen BuildRequires: git-core %if 0%{?build_doxygen_docs} BuildRequires: doxygen %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %description OpenBTS (Open Base Transceiver Station) is a software-based GSM access point, allowing standard GSM-compatible mobile phones to be used as SIP endpoints in Voice over IP (VOIP) networks. It implements the lower three layers of the industry-standard GSM protocol stack. %package smqueue Summary: OpenBTS public version - smqueue Group: Productivity/Telephony/Servers Requires: %{name} = %{version} %description smqueue OpenBTS (Open Base Transceiver Station) is a software-based GSM access point, allowing standard GSM-compatible mobile phones to be used as SIP endpoints in Voice over IP (VOIP) networks. It implements the lower three layers of the GSM protocol stack. This subpackage provides smqueue a RFC-3428 store-and-forward server for SMS. %package sipauthserve Summary: OpenBTS public version - sipauthserve Group: Productivity/Telephony/Servers %description sipauthserve OpenBTS (Open Base Transceiver Station) is a software-based GSM access point, allowing standard GSM-compatible mobile phones to be used as SIP endpoints in Voice over IP (VOIP) networks. It implements the lower three layers of the GSM protocol stack. This subpackage provides sipauthserve a subscriber registry SIP interface. %package doc Summary: OpenBTS public version - Documentation Group: Productivity/Telephony/Servers Requires: %{name} = %{version} BuildArch: noarch %description doc OpenBTS (Open Base Transceiver Station) is a software-based GSM access point, allowing standard GSM-compatible mobile phones to be used as SIP endpoints in Voice over IP (VOIP) networks. It implements the lower three layers of the GSM protocol stack. This subpackage provides the official product manual. %prep %setup -q -n OpenBTS-%{version} sed -i 's|#!/usr/bin/env perl|#!/usr/bin/perl|g' smqueue/SR/apps/hexmapper subscriberRegistry/apps/hexmapper cd smqueue cd .. cd openbts %patch1 -p1 %patch2 -p1 cd .. %build # FIXME - should be fixed upstream !! # caused by the ortp-compatibility patch https://github.com/RangeNetworks/openbts/pull/3 %if 0%{?suse_version} >= 1315 export CXXFLAGS="%{optflags} -fpermissive" %endif pushd openbts ./autogen.sh %configure make %{?_smp_mflags} %if 0%{?build_doxygen_docs} doxygen -u doxconfig doxygen doxconfig -w html %endif popd pushd subscriberRegistry ./autogen.sh %configure make %{?_smp_mflags} popd pushd smqueue ./autogen.sh %configure make %{?_smp_mflags} %if 0%{?build_doxygen_docs} doxygen -u doxconfig doxygen doxconfig -w html %endif popd %install mkdir -p %{buildroot}/%{_sysconfdir}/OpenBTS/ pushd openbts install -Dm 0755 apps/OpenBTS %{buildroot}%{openbts_dir}/OpenBTS install -Dm 0755 apps/OpenBTSCLI %{buildroot}%{openbts_dir}/OpenBTSCLI install -Dm 0644 apps/OpenBTS.example.sql %{buildroot}/%{_sysconfdir}/OpenBTS/OpenBTS.example.sql install -Dm 0755 TransceiverRAD1/transceiver %{buildroot}%{openbts_dir}/transceiver-rad1 %if 0%{?build_doxygen_docs} mkdir -p %{buildroot}/%{_docdir}/openbts cp -R dox/html/ %{buildroot}/%{_docdir}/openbts/ %endif popd pushd subscriberRegistry install -Dm 0755 apps/sipauthserve %{buildroot}%{openbts_dir}/sipauthserve install -Dm 0755 apps/comp128 %{buildroot}%{openbts_dir}/comp128 install -Dm 0755 apps/hexmapper %{buildroot}%{openbts_dir}/hexmapper popd pushd smqueue install -Dm 0755 smqueue/smqueue %{buildroot}%{openbts_dir}/smqueue %if 0%{?build_doxygen_docs} mkdir -p %{buildroot}/%{_docdir}/smqueue cp -R dox/html/ %{buildroot}/%{_docdir}/smqueue/ %endif popd %fdupes -s %{buildroot} %files %defattr(-,root,root) %doc openbts/AUTHORS openbts/COPYING openbts/LEGAL openbts/README %dir %{_sysconfdir}/OpenBTS %config(noreplace) %{_sysconfdir}/OpenBTS/OpenBTS.example.sql %dir %{openbts_dir} %{openbts_dir}/OpenBTS %{openbts_dir}/OpenBTSCLI %{openbts_dir}/transceiver-rad1 %files smqueue %defattr(-,root,root) %doc smqueue/AUTHORS smqueue/COPYING smqueue/LEGAL %{openbts_dir}/smqueue %files sipauthserve %defattr(-,root,root) %doc subscriberRegistry/COPYING %{openbts_dir}/sipauthserve %{openbts_dir}/comp128 %{openbts_dir}/hexmapper %files doc %defattr(-,root,root) %if 0%{?build_doxygen_docs} %dir %{_docdir}/openbts/html %{_docdir}/openbts/html %dir %{_docdir}/smqueue/html %{_docdir}/smqueue/html %endif %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