Last active
September 1, 2019 05:02
-
-
Save kuboosoft/c3602232d050630b5d61f899eb21d8c9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global commit0 967ac8fe3237ef20b2e6a1f20703147911717f19 | |
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7}) | |
Name: olivia | |
Version: 1 | |
Release: 1%{?dist} | |
Summary: A cool and new music player | |
License: MIT | |
URL: https://github.com/keshavbhatt/olivia | |
Source0: https://github.com/keshavbhatt/olivia/archive/%{commit0}.tar.gz#/%{name}-%{shortcommit0}.tar.gz | |
BuildRequires: qt5-devel | |
BuildRequires: python3-devel | |
Requires: mpv | |
Requires: wget | |
Requires: socat | |
%description | |
Cool new music player | |
%prep | |
%autosetup -n %{name}-%{commit0} | |
%build | |
%{qmake_qt5} -r \ | |
INSTALL_BINDIR=%{_bindir} \ | |
INSTALL_LIBDIR=%{_libdir} \ | |
INSTALL_DATADIR=%{_datadir} \ | |
INSTALL_MANDIR=%{_mandir} | |
make %{?_smp_mflags} | |
%install | |
export INSTALL_ROOT=$RPM_BUILD_ROOT | |
make install DESTDIR=$RPM_BUILD_ROOT | |
%files | |
%changelog | |
* Sat Aug 31 2019 David Va <davidva AT tuta DOT io> 1-1 | |
- Initial build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment