File silverjuke.spec of Package silverjuke
#
# spec file for package silverjuke
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: silverjuke
Version: 15.4
Release: 0
Summary: Jukebox application to play your music and videos
License: GPL-3.0+
Group: Productivity/Multimedia/Sound/Players
Url: https://github.com/r10s/silverjuke/
Source: silverjuke-v%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: make
BuildRequires: pkgconfig
#BuildRequires: wxWidgets-3_0-devel
BuildRequires: python-docutils
BuildRequires: sqlite3-devel
BuildRequires: update-desktop-files
BuildRequires: wxWidgets-wxcontainer-devel
BuildRequires: xine-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Silverjuke is the easy-to-use jukebox with more than ten yeas of experience, see
http://silverjuke.net for further information.
%prep
%setup -q -n silverjuke-%{version}
%build
./autogen.sh
%{configure} --docdir=%{_docdir}/silverjuke
make %{?_smp_mflags}
%install
%makeinstall
install -m 0644 -D src/sjdata/icons/rawsjlogo.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}/silverjuke.png
%suse_update_desktop_file -r %{buildroot}%{_datadir}/applications/%{name}.desktop AudioVideo Player Music
%find_lang %{name}
%post
%desktop_database_post
/sbin/ldconfig
%postun
%desktop_database_postun
/sbin/ldconfig
%files -f %{name}.lang
%defattr(-,root,root,-)
%docdir %{_docdir}/silverjuke
%dir %{_docdir}/silverjuke
%dir %{_datadir}/silverjuke
%dir %{_datadir}/silverjuke/skins
%dir %{_datadir}/silverjuke/keyboards
%{_docdir}/silverjuke/CHANGES.md
%{_docdir}/silverjuke/LICENSE
%{_docdir}/silverjuke/README.md
%{_docdir}/silverjuke/command-line.rst
%{_docdir}/silverjuke/dde.md
%{_docdir}/silverjuke/localization.md
%{_docdir}/silverjuke/plugins.md
%{_docdir}/silverjuke/scripting.md
%{_docdir}/silverjuke/skinning.md
%{_docdir}/silverjuke/virtual-keyboards.md
%{_mandir}/man1/silverjuke.1*
%{_bindir}/silverjuke
%{_datadir}/pixmaps/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/silverjuke/keyboards/*
%{_datadir}/silverjuke/skins/*
%changelog