-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgpplayer.spec
49 lines (40 loc) · 1005 Bytes
/
gpplayer.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#
# GPPLAYER specfile
#
# (C) Cyril Hrubis metan{at}ucw.cz 2013-2024
#
#
Summary: A mp3 player written using libmpg123 and gfxprim widgets
Name: gpplayer
Version: git
Release: 1
License: GPL-2.0-or-later
Group: Applications/Multimedia
Url: https://github.com/gfxprim/gpplayer
Source: gpplayer-%{version}.tar.bz2
BuildRequires: alsa-devel
BuildRequires: mpg123-devel
BuildRequires: mpv-devel
BuildRequires: libgfxprim-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
%description
A mp3 player written using libmpg123 and gfxprim widgets
%prep
%setup -n gpplayer-%{version}
%build
./configure
make %{?jobs:-j%jobs}
%install
DESTDIR="$RPM_BUILD_ROOT" make install
%files -n gpplayer
%defattr(-,root,root)
%{_bindir}/gpplayer
%{_sysconfdir}/gp_apps/
%{_sysconfdir}/gp_apps/gpplayer/
%{_sysconfdir}/gp_apps/gpplayer/*
%{_datadir}/applications/gpplayer.desktop
%{_datadir}/gpplayer/
%{_datadir}/gpplayer/gpplayer.png
%changelog
* Sun Jan 31 2021 Cyril Hrubis <[email protected]>
Initial version.