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
This commit is contained in:
Dave Plater 2020-05-19 12:36:28 +00:00 committed by Git OBS Bridge
parent 55b6609ca2
commit fee5bd7915
2 changed files with 19 additions and 12 deletions

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue May 19 11:46:08 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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 <davejplater@gmail.com>

View File

@ -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