Align version with upstream version

This commit is contained in:
David Muckle 2017-12-11 14:25:20 -05:00
parent 3f34e8dc14
commit 86220eff9d

View File

@ -1,11 +1,11 @@
%define name musikcube %define name musikcube
%define build_timestamp %{lua: print(os.date("%Y%m%d"))} %define build_timestamp %{lua: print(os.date("%Y%m%d"))}
%define version 1.9 %define version 0.31.0
Name: %{name} Name: %{name}
Version: %{version} Version: %{version}
Release: %{build_timestamp} Release: %{build_timestamp}
Summary: A cross-platform, terminal-based audio engine, library, player and server written in C++ Summary: A cross-platform, terminal-based audio engine, library, player and server written in C++
Source0: https://github.com/clangen/musikcube/archive/master.tar.gz#/%{name}-%{version}-%{release}.tar.gz Source0: https://github.com/clangen/musikcube/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
License: GPLv3 License: GPLv3
Packager: David Muckle <dvdmuckle@dvdmuckle.xyz> Packager: David Muckle <dvdmuckle@dvdmuckle.xyz>
BuildRequires: gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel BuildRequires: gcc-c++ cmake boost-devel libogg-devel libvorbis-devel flac-devel faad2-devel ncurses-devel zlib-devel alsa-lib-devel pulseaudio-libs-devel libcurl-devel libmicrohttpd-devel lame-devel
@ -17,10 +17,11 @@ Recommends: faad2
A cross-platform, terminal-based audio engine, library, player and server written in C++ A cross-platform, terminal-based audio engine, library, player and server written in C++
%global debug_package %{nil} %global debug_package %{nil}
%prep %prep
%autosetup -n %{name}-master %autosetup -n %{name}-%{version}
%build %build
#cmake -DCMAKE_INSTALL_PREFIX:PATH=%{buildroot}%{_prefix} .
cmake . cmake .
make -j2 make -j2