Update to latest upstream release.

epel9
Richard M. Shaw 9 years ago
parent 3432c55533
commit e048bc9bb6

1
.gitignore vendored

@ -1,2 +1,3 @@
/codec2-0.3.svn2080.tar.xz /codec2-0.3.svn2080.tar.xz
/codec2-0.4.tar.xz /codec2-0.4.tar.xz
/codec2-0.5.tar.xz

@ -1,16 +1,11 @@
#global svnrev 2167
#global codate 20150530
Name: codec2 Name: codec2
Version: 0.4 Version: 0.5
Release: 1%{?svnrev:.%{codate}svn%{svnrev}}%{?dist} Release: 1%{?dist}
Summary: Next-Generation Digital Voice for Two-Way Radio Summary: Next-Generation Digital Voice for Two-Way Radio
License: LGPLv2 License: LGPLv2
URL: http://rowetel.com/codec2.html URL: http://rowetel.com/codec2.html
# svn co https://svn.code.sf.net/p/freetel/code/ freetel Source0: http://files.freedv.org/%{name}/%{name}-%{version}.tar.xz
# cd freetel; svn export codec2
Source0: %{name}-%{version}%{?svnrev:.svn%{svnrev}}.tar.xz
BuildRequires: cmake BuildRequires: cmake
BuildRequires: speex-devel BuildRequires: speex-devel
@ -44,14 +39,12 @@ Example code for Codec 2
%prep %prep
%setup -q -n %{name}-%{version}%{?svnrev:.svn%{svnrev}} %setup -q
%build %build
rm -rf build_linux && mkdir build_linux && pushd build_linux rm -rf build_linux && mkdir build_linux && pushd build_linux
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \ %cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DINSTALL_EXAMPLES=TRUE \
-DUNITTEST=TRUE \
../ ../
make %{?_smp_mflags} make %{?_smp_mflags}
@ -84,7 +77,9 @@ EOF
%files %files
%doc COPYING README %{!?_licensedir:%global license %doc}
%license COPYING
%doc README
%{_libdir}/*.so.* %{_libdir}/*.so.*
%files devel %files devel
@ -93,11 +88,14 @@ EOF
%{_libdir}/*.so %{_libdir}/*.so
%{_libdir}/pkgconfig/%{name}.pc %{_libdir}/pkgconfig/%{name}.pc
%files devel-examples
%{_datadir}/%{name}/
%changelog %changelog
* Thu Oct 29 2015 Richard Shaw <hobbes1069@gmail.com> - 0.5-1
- Update to latest upstream release.
* Sat Aug 8 2015 Richard Shaw <hobbes1069@gmail.com> - 0.4-2
- Update to latest bugfix release.
* Thu Jul 2 2015 Richard Shaw <hobbes1069@gmail.com> - 0.4-1 * Thu Jul 2 2015 Richard Shaw <hobbes1069@gmail.com> - 0.4-1
- Update to latest upstream release. - Update to latest upstream release.

@ -1 +1 @@
d4218aefd90f6383444be230a1957539 codec2-0.4.tar.xz 80d176fb8948c43c747cd798f200cefe codec2-0.5.tar.xz

Loading…
Cancel
Save