mirror of
https://github.com/clangen/musikcube.git
synced 2024-12-26 18:19:05 +00:00
Working specfile
This commit is contained in:
parent
4a0a0005d1
commit
ae85f3d425
39
musikcube.spec
Normal file
39
musikcube.spec
Normal file
@ -0,0 +1,39 @@
|
||||
%define name musikcube
|
||||
%define build_timestamp %{lua: print(os.date("%Y%m%d"))}
|
||||
%define version 1.9
|
||||
Name: %{name}
|
||||
Version: %{version}
|
||||
Release: %{build_timestamp}
|
||||
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
|
||||
License: GPLv3
|
||||
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
|
||||
Requires: boost libogg libvorbis flac faad2 ncurses zlib alsa-lib pulseaudio-libs libcurl libmicrohttpd lame
|
||||
|
||||
%description
|
||||
|
||||
A cross-platform, terminal-based audio engine, library, player and server written in C++
|
||||
%global debug_package %{nil}
|
||||
%prep
|
||||
%autosetup -n %{name}-master
|
||||
|
||||
|
||||
%build
|
||||
#cmake -DCMAKE_INSTALL_PREFIX:PATH=%{buildroot}%{_prefix} .
|
||||
cmake .
|
||||
make -j2
|
||||
|
||||
|
||||
%install
|
||||
mkdir %{buildroot}%{_prefix} -p
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%{_prefix}/local/bin/musikcube
|
||||
%{_prefix}/local/share/musikcube/
|
||||
%{_prefix}/local/include/musikcube/
|
||||
%doc
|
Loading…
Reference in New Issue
Block a user