Toshaan Bharvani
1 year ago
commit
4058ecba26
2 changed files with 46 additions and 0 deletions
@ -0,0 +1,46 @@
@@ -0,0 +1,46 @@
|
||||
%global debug_package %{nil} |
||||
%define build_timestamp %{lua: print(os.date("%Y%m%d"))} |
||||
|
||||
Name: atracdenc |
||||
Version: 0.0.4 |
||||
Release: %{dist} |
||||
Summary: Dirty implementation of ATRAC1, ATRAC3 encoder |
||||
License: BSD-3-Clause |
||||
BuildRequires: git |
||||
BuildRequires: cmake |
||||
BuildRequires: libsndfiles-devel |
||||
BuildRequires: make |
||||
Requires: libsndfiles |
||||
|
||||
|
||||
%description |
||||
Implementation of ATRAC1, ATRAC3 encoders |
||||
|
||||
|
||||
%prep |
||||
%setup -T -n %{name}-%{version} |
||||
git clone https://github.com/dcherednik/atracdenc . |
||||
|
||||
|
||||
%build |
||||
%cmake \ |
||||
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
||||
-DCMAKE_BUILD_TYPE=Release \ |
||||
-DENABLE_PCH=true \ |
||||
-DENABLE_PIPEWIRE=false \ |
||||
. |
||||
|
||||
%cmake_build |
||||
|
||||
|
||||
%install |
||||
%cmake_install |
||||
|
||||
|
||||
%clean |
||||
rm -rf %{buildroot} |
||||
|
||||
|
||||
%files |
||||
%{_bindir}/atracdenc |
||||
%doc |
Loading…
Reference in new issue