From fee5bd79155322b59fddf48158763c7d80d0c7370742ea4a71e1c26aea969138 Mon Sep 17 00:00:00 2001 From: Dave Plater Date: Tue, 19 May 2020 12:36:28 +0000 Subject: [PATCH] Accepting request 807255 from home:bnavigator:branches:multimedia:apps - add shared-mime-info dep to post and postun and remove ghosted xml files from %{_datadir}/mime/audio to fix https://lists.opensuse.org/opensuse-packaging/2020-05/msg00054.html - remove the duplicate listing of directories - remove ownership of some standard directories OBS-URL: https://build.opensuse.org/request/show/807255 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=59 --- buzztrax.changes | 9 +++++++++ buzztrax.spec | 22 ++++++++++------------ 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/buzztrax.changes b/buzztrax.changes index cc909cb..4940526 100644 --- a/buzztrax.changes +++ b/buzztrax.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue May 19 11:46:08 UTC 2020 - Benjamin Greiner + +- add shared-mime-info dep to post and postun and remove + ghosted xml files from %{_datadir}/mime/audio to fix + https://lists.opensuse.org/opensuse-packaging/2020-05/msg00054.html +- remove the duplicate listing of directories +- remove ownership of some standard directories + ------------------------------------------------------------------- Mon Dec 23 10:46:09 UTC 2019 - Dave Plater diff --git a/buzztrax.spec b/buzztrax.spec index 4ae221b..901ae11 100644 --- a/buzztrax.spec +++ b/buzztrax.spec @@ -1,7 +1,7 @@ # # spec file for package buzztrax # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -36,7 +36,7 @@ Release: 0 Summary: A music studio inspired by Buzz License: GPL-2.0-or-later Group: Productivity/Multimedia/Sound/Utilities -Url: http://buzztrax.org +URL: http://buzztrax.org Source0: https://github.com/Buzztrax/buzztrax/archive//%{rev}.tar.gz#/%{name}-%{version}.tar.gz #http://files.buzztrax.org/releases/%%{name}-%%{version}.tar.gz Source1: autogen.sh @@ -78,6 +78,10 @@ BuildRequires: pkgconfig(pango) Requires: %{name}-plugins = %{version} Requires: gstreamer-1_0-plugins-buzztrax = %{version} Requires: yelp +Requires(post): shared-mime-info +Requires(postun): shared-mime-info +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils Recommends: gstreamer-plugins-good-jack # We provide appdata(buzztrax-edit.appdata.xml) to prevent installation system error see: # boo#961304 which is marked duplicate of boo#952304 @@ -306,24 +310,18 @@ typelib-1_0-BuzztraxCore-1_1\n %doc AUTHORS NEWS README.md TODO %license COPYING COPYING-DOCS %attr(0755,root,root) %{_bindir}/* -%dir %{_datadir}/buzztrax -%{_datadir}/buzztrax/ +%{_datadir}/buzztrax %{_datadir}/applications/buzztrax.desktop %{_datadir}/appdata/buzztrax.appdata.xml %{_datadir}/icons/hicolor/*/apps/* %{_datadir}/icons/gnome -%{_datadir}/help/C +%{_datadir}/help/C/* %{_mandir}/man1/* -%dir %{_datadir}/gtk-doc/html/buzztrax-cmd -%dir %{_datadir}/gtk-doc/html/buzztrax-edit -%{_datadir}/gtk-doc/html/buzztrax-cmd/ -%{_datadir}/gtk-doc/html/buzztrax-edit/ +%{_datadir}/gtk-doc/html/buzztrax-cmd +%{_datadir}/gtk-doc/html/buzztrax-edit %{_datadir}/mime/packages/buzztrax.xml -%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt.xml -%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt-xml.xml # NOTE: These files need a proper home and correct handling. %{_datadir}/GConf/gsettings/buzztrax.convert -%dir %{_datadir}/appdata %{_datadir}/glib-2.0/schemas/org.buzztrax.gschema.xml %files -n gstreamer-1_0-plugins-buzztrax