SHA256
1
0
forked from pool/buzztrax

Accepting request 807345 from multimedia:apps

Remove null post and postun macros
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/807345
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/buzztrax?expand=0&rev=19
This commit is contained in:
Dominique Leuenberger 2020-05-20 16:44:47 +00:00 committed by Git OBS Bridge
commit 28905ff4dd
2 changed files with 20 additions and 34 deletions

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue May 19 13:34:55 UTC 2020 - Dave Plater <davejplater@gmail.com>
- Remove null post and postun macros
-------------------------------------------------------------------
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
@ -263,28 +263,6 @@ typelib-1_0-BuzztraxIc-1_1\n
typelib-1_0-BuzztraxCore-1_1\n
\t+^%{typelibdir}/BuzztraxCore-%{girsoname}.typelib$\n' > %{_sourcedir}/baselibs.conf
%post
%glib2_gsettings_schema_post
%icon_theme_cache_post
%icon_theme_cache_post gnome
%mime_database_post
%desktop_database_post
%postun
%desktop_database_postun
%mime_database_postun
%icon_theme_cache_postun gnome
%icon_theme_cache_postun
%glib2_gsettings_schema_postun
%post plugins
%mime_database_post
%desktop_database_post
%postun plugins
%desktop_database_postun
%mime_database_postun
%post -n libbuzztrax-ic%{ic_soname} -p /sbin/ldconfig
%post -n libbuzztrax-core%{core_soname} -p /sbin/ldconfig
@ -306,24 +284,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