From e048bc9bb67621b4f87da063fed9d25fb192326d Mon Sep 17 00:00:00 2001 From: "Richard M. Shaw" Date: Thu, 29 Oct 2015 08:40:06 -0500 Subject: [PATCH] Update to latest upstream release. --- .gitignore | 1 + codec2.spec | 28 +++++++++++++--------------- sources | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index 6188088..9332115 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /codec2-0.3.svn2080.tar.xz /codec2-0.4.tar.xz +/codec2-0.5.tar.xz diff --git a/codec2.spec b/codec2.spec index a6d071e..1041773 100644 --- a/codec2.spec +++ b/codec2.spec @@ -1,16 +1,11 @@ -#global svnrev 2167 -#global codate 20150530 - Name: codec2 -Version: 0.4 -Release: 1%{?svnrev:.%{codate}svn%{svnrev}}%{?dist} +Version: 0.5 +Release: 1%{?dist} Summary: Next-Generation Digital Voice for Two-Way Radio License: LGPLv2 URL: http://rowetel.com/codec2.html -# svn co https://svn.code.sf.net/p/freetel/code/ freetel -# cd freetel; svn export codec2 -Source0: %{name}-%{version}%{?svnrev:.svn%{svnrev}}.tar.xz +Source0: http://files.freedv.org/%{name}/%{name}-%{version}.tar.xz BuildRequires: cmake BuildRequires: speex-devel @@ -44,14 +39,12 @@ Example code for Codec 2 %prep -%setup -q -n %{name}-%{version}%{?svnrev:.svn%{svnrev}} +%setup -q %build rm -rf build_linux && mkdir build_linux && pushd build_linux %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DINSTALL_EXAMPLES=TRUE \ - -DUNITTEST=TRUE \ ../ make %{?_smp_mflags} @@ -84,7 +77,9 @@ EOF %files -%doc COPYING README +%{!?_licensedir:%global license %doc} +%license COPYING +%doc README %{_libdir}/*.so.* %files devel @@ -93,11 +88,14 @@ EOF %{_libdir}/*.so %{_libdir}/pkgconfig/%{name}.pc -%files devel-examples -%{_datadir}/%{name}/ - %changelog +* Thu Oct 29 2015 Richard Shaw - 0.5-1 +- Update to latest upstream release. + +* Sat Aug 8 2015 Richard Shaw - 0.4-2 +- Update to latest bugfix release. + * Thu Jul 2 2015 Richard Shaw - 0.4-1 - Update to latest upstream release. diff --git a/sources b/sources index c48a784..f345ab9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d4218aefd90f6383444be230a1957539 codec2-0.4.tar.xz +80d176fb8948c43c747cd798f200cefe codec2-0.5.tar.xz