forked from vhdirk/slimpris2
-
Notifications
You must be signed in to change notification settings - Fork 1
/
slimpris2.spec
67 lines (53 loc) · 1.79 KB
/
slimpris2.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
Name: slimpris2
Version: 3.1.0
Release: %{autorelease}
Summary: MPRIS remote control of Lyrion Music Server
License: GPLv3
URL: https://github.com/mavit/slimpris2/
Source0: https://github.com/mavit/slimpris2/archive/master.tar.gz#slimpris2-master.tar.gz
BuildArch: noarch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: intltool
BuildRequires: make
BuildRequires: pandoc
BuildRequires: python3-devel
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
Requires: glib2
Requires: libsoup
Requires: python3dist(dbus-python)
Requires: python3dist(pygobject)
Requires: python3dist(pyxdg)
Requires: python3dist(simplejson)
Requires: python3dist(six)
%description
slimpris2 provide MPRIS 2 remote control support for Lyrion Music
Server, allowing it to be controlled using the user interface integrated
into your desktop.
%prep
%autosetup
%build
./autogen.sh
%configure
%make_build
%install
%make_install
rm %{buildroot}/%{_docdir}/%{name}/COPYING
install -m 0644 -p -D %{buildroot}/%{_docdir}/%{name}/%{name}.conf \
%{buildroot}/%{_sysconfdir}/%{name}.conf
%files
%config(noreplace) %{_sysconfdir}/%{name}.conf
%doc %{_mandir}/*/*
%doc AUTHORS
%doc README.md
%doc src/%{name}.conf
%license COPYING
%{_bindir}/%{name}
%{_datadir}/applications/io.github.mavit.slimpris2.desktop
%{_datadir}/dbus-1/services/org.mpris.MediaPlayer2.slimpris2.service
%{_datadir}/locale/*/LC_MESSAGES/%{name}.mo
%{_userpresetdir}/80-%{name}.preset
%{_userunitdir}/%{name}.service
%changelog
%autochangelog