forked from AngryPenguinPL/sayonara
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsayonara.spec
68 lines (59 loc) · 1.97 KB
/
sayonara.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
%define _disable_ld_no_undefined 1
Summary: A lightweight Qt Audio player
Name: sayonara
Version: 1.10.0
Release: 2
License: GPLv3+
Group: Sound
Url: https://sayonara-player.com
Source0: https://gitlab.com/luciocarreras/sayonara-player/-/archive/%{version}-stable1/sayonara-player-%{version}-stable1.tar.bz2
BuildRequires: cmake
BuildRequires: qmake5
BuildRequires: qt5-linguist-tools
#BuildRequires: qt5-tools
BuildRequires: qt5-qttools
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(libcurl)
BuildRequires: pkgconfig(libmtp)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5DBus)
BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5Network)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Test)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(Qt5Xml)
BuildRequires: pkgconfig(libnotify)
BuildRequires: pkgconfig(taglib)
BuildRequires: pkgconfig(zlib)
Requires: qt5-database-plugin-sqlite
%description
Sayonara is a small, clear, not yet platform-independent music player.
Low CPU usage, low memory consumption and no long loading times are only
three benefits of this player. Sayonara should be easy and intuitive to
use and therefore it should be able to compete with the most popular
music players.
%files
%doc MANUAL README.md
%{_bindir}/%{name}
%{_bindir}/sayonara-ctl
%{_bindir}/sayonara-query
%{_datadir}/%{name}/
%{_datadir}/metainfo/com.sayonara-player.Sayonara.appdata.xml
%{_datadir}/applications/com.sayonara-player.Sayonara.desktop
%{_iconsdir}/hicolor/*x*/apps/sayonara.png
%{_mandir}/man1/%{name}.1.*
%{_mandir}/man1/sayonara-ctl.1.*
%{_mandir}/man1/sayonara-query.1.*
#----------------------------------------------------------------------------
%prep
%setup -q -n %{name}-player-%{version}-stable1
%build
%cmake
%make_build
%install
%make_install -C build
# remove menu dir, because it's not necessary
rm -rf %{buildroot}%{_datadir}/menu