Commit 2e36a5d4 authored by Margaux Clerc's avatar Margaux Clerc

Add rpm support

parent cb467db3
......@@ -16,4 +16,5 @@ libbcg729.pc
test/src/decoderTest
test/src/encoderTest
.libs
bcg729.spec
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = src include
EXTRA_DIST = bcg729.spec
SUBDIRS = include src
if BUILD_MSBCG729
SUBDIRS += msbcg729
endif
......@@ -9,3 +12,7 @@ SUBDIRS += test
endif
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libbcg729.pc
rpm:
$(MAKE) dist
TAR_OPTIONS=--wildcards rpmbuild -ta --clean --rmsource --rmspec $(PACKAGE)-$(VERSION).tar.gz
# -*- rpm-spec -*-
## rpmbuild options
Summary: Bcg729 codec plugin for mediastreamer2
Name: bcg729
Version: 0.1
Release: 1
License: GPL
Group: Applications/Communications
URL: http://www.belledonne-communications.com
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Source0: %{name}-%{version}.tar.gz
Requires: bash >= 2.0
%description
BCG729 codec plugin for mediastreamer2.
%package devel
Summary: Development libraries for bcg729
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
BCG729 codec plugin for mediastreamer2.
%prep
%setup -q
%build
%configure --enable-static
%__make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog INSTALL NEWS README
%{_libdir}/*
%files devel
%defattr(-,root,root)
%{_includedir}/bcg729
%{_includedir}/*
%{_libdir}/*
%changelog
* Mon Jan 12 2014 Margaux Clerc <margaux.clerc@belledonne-communications.com>
- Creation of rpm for linphone
......@@ -76,6 +76,7 @@ AC_CONFIG_FILES([
test/Makefile
test/bin/Makefile
libbcg729.pc
bcg729.spec
])
......
SUBDIRS = bcg729
include_HEADERS= adaptativeCodebookSearch.h \
basicOperationsMacros.h \
codebooks.h \
codecParameters.h \
computeAdaptativeCodebookGain.h \
computeLP.h \
computeWeightedSpeech.h \
decodeAdaptativeCodeVector.h \
decodeFixedCodeVector.h \
decodeGains.h \
decodeLSP.h \
findOpenLoopPitchDelay.h \
fixedCodebookSearch.h \
fixedPointMacros.h \
floatingPointMacros.h \
g729FixedPointMath.h \
gainQuantization.h \
interpolateqLSP.h \
LP2LSPConversion.h \
LPSynthesisFilter.h \
LSPQuantization.h \
postFilter.h \
postProcessing.h \
preProcessing.h \
qLSP2LP.h \
typedef.h \
utils.h
EXTRA_DIST=$(include_HEADERS)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment