commit soundconverter for openSUSE:Factory

2020-10-26 Thread root
Hello community,

here is the log from the commit of package soundconverter for openSUSE:Factory 
checked in at 2020-10-26 16:22:01

Comparing /work/SRC/openSUSE:Factory/soundconverter (Old)
 and  /work/SRC/openSUSE:Factory/.soundconverter.new.3463 (New)


Package is "soundconverter"

Mon Oct 26 16:22:01 2020 rev:5 rq:844023 version:3.0.2

Changes:

--- /work/SRC/openSUSE:Factory/soundconverter/soundconverter.changes
2018-06-19 11:57:54.390857204 +0200
+++ /work/SRC/openSUSE:Factory/.soundconverter.new.3463/soundconverter.changes  
2020-10-26 16:22:35.499238118 +0100
@@ -1,0 +2,9 @@
+Sun Oct 25 18:34:26 UTC 2020 - Илья Индиго 
+
+- Update to 3.0.2.
+  * Upstream does not provide an informational log.
+  * Refresh spec-file via spec-cleaner and manual optimizations.
+  * Remove Only-fetch-profiles-if-GConf-is-still-available.patch.
+  * Remove update_desktop_file and outdated design.
+
+---

Old:

  Only-fetch-profiles-if-GConf-is-still-available.patch
  soundconverter-3.0.0.tar.xz

New:

  soundconverter-3.0.2.tar.xz



Other differences:
--
++ soundconverter.spec ++
--- /var/tmp/diff_new_pack.ucTpkw/_old  2020-10-26 16:22:36.027238542 +0100
+++ /var/tmp/diff_new_pack.ucTpkw/_new  2020-10-26 16:22:36.031238546 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package soundconverter
 #
-# Copyright (c) 2018 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
@@ -12,23 +12,19 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %global __requires_exclude typelib\\(GConf\\)|typelib\\(Unity\\)
-
 Name:   soundconverter
-Version:3.0.0
+Version:3.0.2
 Release:0
 Summary:Sound Converter Application for the GNOME Desktop
 License:GPL-3.0-or-later
 Group:  Productivity/Multimedia/Video/Editors and Convertors
-URL:http://soundconverter.org/
+URL:https://soundconverter.org
 Source0:
https://launchpad.net/soundconverter/trunk/%{version}/+download/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM Only-fetch-profiles-if-GConf-is-still-available.patch -- 
No longer mandate gconf2
-Patch0: Only-fetch-profiles-if-GConf-is-still-available.patch
-
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  hicolor-icon-theme
@@ -37,16 +33,13 @@
 BuildRequires:  python3
 BuildRequires:  python3-gobject
 BuildRequires:  python3-gobject-Gdk
-BuildRequires:  update-desktop-files
 BuildRequires:  typelib(Gst) = 1.0
 BuildRequires:  typelib(Gtk) = 3.0
-
 Requires:   gstreamer
 Requires:   gstreamer-plugins-base
 Requires:   gstreamer-plugins-good
 Requires:   python3-gobject
 Requires:   python3-gobject-Gdk
-Recommends: %{name}-lang
 Recommends: gstreamer-plugins-bad
 Recommends: gstreamer-plugins-ugly
 Suggests:   gstreamer-plugins-bad-orig-addon
@@ -56,8 +49,7 @@
 A sound converter application for the GNOME environment.
 
 It reads anything the GStreamer library can read, and offers writing
-to WAV, FLAC, MP3, AAC, and Ogg Vorbis, also with the help of
-GStreamer.
+to WAV, FLAC, MP3, AAC, and Ogg Vorbis, also with the help of GStreamer.
 
 %lang_package
 
@@ -66,36 +58,25 @@
 
 %build
 %configure
-make %{?_smp_mflags} V=1
+%make_build
 
 %install
 %make_install
 chmod a+x %{buildroot}%{_libdir}/%{name}/python/%{name}/*py
 
 %find_lang %{name}
-%suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing
-%fdupes %{buildroot}%{_prefix}/
-
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%endif
+%fdupes %{buildroot}%{_prefix}
 
 %files
 %license COPYING
-%doc ChangeLog README TODO
+%doc ChangeLog README
 %{_bindir}/%{name}
-%{_libdir}/%{name}/
-%{_datadir}/%{name}/
+%{_libdir}/%{name}
+%{_datadir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/apps/%{name}.*
-%dir %{_datadir}/appdata/
-%{_datadir}/appdata/%{name}.appdata.xml
+%dir %{_datadir}/metainfo
+%{_datadir}/metainfo/%{name}.appdata.xml
 %{_mandir}/man1/%{name}.1%{?ext_man}
 %{_datadir}/glib-2.0/schemas/org.soundconverter.gschema.xml
 

++ soundconverter-3.0.0.tar.xz -> soundconverter-3.0.2.tar.xz ++
 25960 lines of diff (skipped)




commit soundconverter for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package soundconverter for openSUSE:Factory 
checked in at 2018-06-19 11:57:45

Comparing /work/SRC/openSUSE:Factory/soundconverter (Old)
 and  /work/SRC/openSUSE:Factory/.soundconverter.new (New)


Package is "soundconverter"

Tue Jun 19 11:57:45 2018 rev:4 rq:616446 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/soundconverter/soundconverter.changes
2018-05-23 16:08:51.682510450 +0200
+++ /work/SRC/openSUSE:Factory/.soundconverter.new/soundconverter.changes   
2018-06-19 11:57:54.390857204 +0200
@@ -1,0 +2,7 @@
+Thu Jun  7 23:22:59 UTC 2018 - bjorn@gmail.com
+
+- Add Only-fetch-profiles-if-GConf-is-still-available.patch: No
+  longer mandate gconf2, also add typelib(GConf) to global requires
+  exclude, prevent the gir scanner to add typelib.
+
+---

New:

  Only-fetch-profiles-if-GConf-is-still-available.patch



Other differences:
--
++ soundconverter.spec ++
--- /var/tmp/diff_new_pack.Tq5No2/_old  2018-06-19 11:57:56.142792154 +0200
+++ /var/tmp/diff_new_pack.Tq5No2/_new  2018-06-19 11:57:56.162791411 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%global __requires_exclude typelib\\(Unity\\)
+%global __requires_exclude typelib\\(GConf\\)|typelib\\(Unity\\)
 
 Name:   soundconverter
 Version:3.0.0
@@ -26,6 +26,8 @@
 Group:  Productivity/Multimedia/Video/Editors and Convertors
 URL:http://soundconverter.org/
 Source0:
https://launchpad.net/soundconverter/trunk/%{version}/+download/%{name}-%{version}.tar.xz
+# PATCH-FIX-UPSTREAM Only-fetch-profiles-if-GConf-is-still-available.patch -- 
No longer mandate gconf2
+Patch0: Only-fetch-profiles-if-GConf-is-still-available.patch
 
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
@@ -60,7 +62,7 @@
 %lang_package
 
 %prep
-%autosetup
+%autosetup -p1
 
 %build
 %configure

++ Only-fetch-profiles-if-GConf-is-still-available.patch ++
From: Sebastian Ramacher 
Date: Fri, 6 Apr 2018 13:25:35 +0200
Subject: Only fetch profiles if GConf is still available

---
 bin/soundconverter.py   |  1 -
 soundconverter/gstreamer.py | 44 
 2 files changed, 24 insertions(+), 21 deletions(-)

diff --git a/bin/soundconverter.py b/bin/soundconverter.py
index 39055ce..5198443 100644
--- a/bin/soundconverter.py
+++ b/bin/soundconverter.py
@@ -66,7 +66,6 @@ def _check_libs():
 import gi
 gi.require_version('Gst', '1.0')
 gi.require_version('Gtk', '3.0')
-gi.require_version('GConf', '2.0')
 from gi.repository import GObject
 # force GIL creation - see 
https://bugzilla.gnome.org/show_bug.cgi?id=710447
 import threading
diff --git a/soundconverter/gstreamer.py b/soundconverter/gstreamer.py
index 23aaa9b..211b052 100644
--- a/soundconverter/gstreamer.py
+++ b/soundconverter/gstreamer.py
@@ -25,7 +25,7 @@ from urllib.parse import urlparse
 from gettext import gettext as _
 
 import gi
-from gi.repository import Gst, Gtk, GObject, GConf, Gio
+from gi.repository import Gst, Gtk, GObject, Gio
 
 from soundconverter.fileoperations import vfs_encode_filename, 
file_encode_filename
 from soundconverter.fileoperations import unquote_filename, vfs_makedirs, 
vfs_unlink
@@ -66,25 +66,29 @@ _GCONF_PROFILE_LIST_PATH = 
"/system/gstreamer/1.0/audio/global/profile_list"
 audio_profiles_list = []
 audio_profiles_dict = {}
 
-_GCONF = GConf.Client.get_default()
-profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
-for name in profiles:
-if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
-# get profile
-description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/name")
-extension = _GCONF.get_string(_GCONF_PROFILE_PATH + name + 
"/extension")
-pipeline = _GCONF.get_string(_GCONF_PROFILE_PATH + name + "/pipeline")
-# check profile validity
-if not extension or not pipeline:
-continue
-if not description:
-description = extension
-if description in audio_profiles_dict:
-continue
-# store
-profile = description, extension, pipeline
-audio_profiles_list.append(profile)
-audio_profiles_dict[description] = profile
+try:
+from gi.repository import GConf
+_GCONF = GConf.Client.get_default()
+profiles = _GCONF.all_dirs(_GCONF_PROFILE_LIST_PATH)
+for name in profiles:
+if _GCONF.get_bool(_GCONF_PROFILE_PATH + name + "/active"):
+# get profile
+description = _GCONF.get_string(_GCONF_PROFILE_PATH + name + 
"/name")
+extension = 

commit soundconverter for openSUSE:Factory

2018-05-23 Thread root
Hello community,

here is the log from the commit of package soundconverter for openSUSE:Factory 
checked in at 2018-05-23 16:08:51

Comparing /work/SRC/openSUSE:Factory/soundconverter (Old)
 and  /work/SRC/openSUSE:Factory/.soundconverter.new (New)


Package is "soundconverter"

Wed May 23 16:08:51 2018 rev:3 rq:611171 version:3.0.0

Changes:

--- /work/SRC/openSUSE:Factory/soundconverter/soundconverter.changes
2017-03-02 19:39:07.336466109 +0100
+++ /work/SRC/openSUSE:Factory/.soundconverter.new/soundconverter.changes   
2018-05-23 16:08:51.682510450 +0200
@@ -1,0 +2,19 @@
+Mon May 21 18:39:16 UTC 2018 - bjorn@gmail.com
+
+- Update to version 3.0.0:
+  + Change GConf to GSettings to store settings.
+  + Stop using typefind when adding files, and filter only when
+converting. This is much faster.
+  + Actually use --jobs command line to limit the number of jobs.
+  + Updated translations.
+- Run spec-cleaner, modernize spec.
+- Update source url to point to launchpad.
+- Drop autoconf and automake BuildRequires and no longer pass
+  autoreconf, using properly bootstrapped tarball again.
+- Drop conditionals for obsolete versions of openSUSE.
+- "Updgrade" gstreamer-plugins-base and gstreamer-plugins-good
+  Recommends to Requires. If one wants soundconverter to do
+  anything meaningfull, these two are needed.
+- Add gstreamer-plugins-bad-orig-addon Suggests (for aac support).
+
+---

Old:

  soundconverter-2.9.0~beta2.tar.gz

New:

  soundconverter-3.0.0.tar.xz



Other differences:
--
++ soundconverter.spec ++
--- /var/tmp/diff_new_pack.Mu8bmD/_old  2018-05-23 16:08:52.322487012 +0200
+++ /var/tmp/diff_new_pack.Mu8bmD/_new  2018-05-23 16:08:52.322487012 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package soundconverter
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 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
@@ -15,40 +15,40 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 %global __requires_exclude typelib\\(Unity\\)
 
-%define _revb101a833fbc55ec43811691338e1e67789d23b98
 Name:   soundconverter
-Version:2.9.0~beta2
+Version:3.0.0
 Release:0
 Summary:Sound Converter Application for the GNOME Desktop
-License:GPL-3.0+
+License:GPL-3.0-or-later
 Group:  Productivity/Multimedia/Video/Editors and Convertors
-Url:http://soundconverter.org/
-Source: 
https://github.com/kassoulet/soundconverter/archive/%{_rev}.tar.gz#/%{name}-%{version}.tar.gz
-BuildRequires:  autoconf
-BuildRequires:  automake
+URL:http://soundconverter.org/
+Source0:
https://launchpad.net/soundconverter/trunk/%{version}/+download/%{name}-%{version}.tar.xz
+
 BuildRequires:  fdupes
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
+BuildRequires:  pkgconfig
 BuildRequires:  python3
 BuildRequires:  python3-gobject
+BuildRequires:  python3-gobject-Gdk
 BuildRequires:  update-desktop-files
 BuildRequires:  typelib(Gst) = 1.0
 BuildRequires:  typelib(Gtk) = 3.0
+
 Requires:   gstreamer
+Requires:   gstreamer-plugins-base
+Requires:   gstreamer-plugins-good
 Requires:   python3-gobject
+Requires:   python3-gobject-Gdk
 Recommends: %{name}-lang
 Recommends: gstreamer-plugins-bad
-Recommends: gstreamer-plugins-base
-Recommends: gstreamer-plugins-good
 Recommends: gstreamer-plugins-ugly
+Suggests:   gstreamer-plugins-bad-orig-addon
 Suggests:   gstreamer-plugins-ugly-orig-addon
-%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
-BuildRequires:  python3-gobject-Gdk
-Requires:   python3-gobject-Gdk
-%endif
 
 %description
 A sound converter application for the GNOME environment.
@@ -60,10 +60,9 @@
 %lang_package
 
 %prep
-%setup -q -n %{name}-%{_rev}
+%autosetup
 
 %build
-NOCONFIGURE=1 ./autogen.sh
 %configure
 make %{?_smp_mflags} V=1
 
@@ -75,6 +74,7 @@
 %suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing
 %fdupes %{buildroot}%{_prefix}/
 
+%if 0%{?suse_version} < 1500
 %post
 %desktop_database_post
 %icon_theme_cache_post
@@ -82,10 +82,11 @@
 %postun
 %desktop_database_postun
 %icon_theme_cache_postun
+%endif
 
 %files
-%defattr(-,root,root)
-%doc COPYING ChangeLog README TODO
+%license COPYING
+%doc ChangeLog README TODO
 %{_bindir}/%{name}
 %{_libdir}/%{name}/
 %{_datadir}/%{name}/
@@ -94,8 +95,8 @@
 %dir %{_datadir}/appdata/
 %{_datadir}/appdata/%{name}.appdata.xml
 

commit soundconverter for openSUSE:Factory

2017-03-02 Thread root
Hello community,

here is the log from the commit of package soundconverter for openSUSE:Factory 
checked in at 2017-03-02 19:39:06

Comparing /work/SRC/openSUSE:Factory/soundconverter (Old)
 and  /work/SRC/openSUSE:Factory/.soundconverter.new (New)


Package is "soundconverter"

Thu Mar  2 19:39:06 2017 rev:2 rq:461013 version:2.9.0~beta2

Changes:

--- /work/SRC/openSUSE:Factory/soundconverter/soundconverter.changes
2016-11-09 11:38:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.soundconverter.new/soundconverter.changes   
2017-03-02 19:39:07.336466109 +0100
@@ -1,0 +2,19 @@
+Sun Feb 26 03:00:27 UTC 2017 - zai...@opensuse.org
+
+- Add global __requires_exclude typelib\\(Unity\\), make app
+  installable.
+
+---
+Wed Feb  8 00:33:22 UTC 2017 - jeng...@inai.de
+
+- Description update
+
+---
+Thu Jan 19 00:16:12 UTC 2017 - sor.ale...@meowr.ru
+
+- Update to version 2.9.0~beta2:
+  * No changelog available.
+- Separate locales to soundconverter-lang.
+- Own /usr/share/appdata/ unconditionally.
+
+---

Old:

  soundconverter-2.1.6.tar.xz

New:

  soundconverter-2.9.0~beta2.tar.gz



Other differences:
--
++ soundconverter.spec ++
--- /var/tmp/diff_new_pack.lpAEPo/_old  2017-03-02 19:39:08.032367635 +0100
+++ /var/tmp/diff_new_pack.lpAEPo/_new  2017-03-02 19:39:08.036367069 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package soundconverter
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 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
@@ -15,58 +15,65 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+%global __requires_exclude typelib\\(Unity\\)
+
+%define _revb101a833fbc55ec43811691338e1e67789d23b98
 Name:   soundconverter
-Version:2.1.6
-Release:1
+Version:2.9.0~beta2
+Release:0
+Summary:Sound Converter Application for the GNOME Desktop
 License:GPL-3.0+
-Summary:Simple Sound Converter Application for the GNOME Desktop
-Url:http://soundconverter.org/
 Group:  Productivity/Multimedia/Video/Editors and Convertors
-Source: 
https://launchpad.net/soundconverter/trunk/%{version}/+download/soundconverter-%{version}.tar.xz
+Url:http://soundconverter.org/
+Source: 
https://github.com/kassoulet/soundconverter/archive/%{_rev}.tar.gz#/%{name}-%{version}.tar.gz
+BuildRequires:  autoconf
+BuildRequires:  automake
+BuildRequires:  fdupes
+BuildRequires:  gobject-introspection-devel
+BuildRequires:  hicolor-icon-theme
 BuildRequires:  intltool
-BuildRequires:  mDNSResponder-lib
-BuildRequires:  perl-XML-Parser
-BuildRequires:  python
-BuildRequires:  python-gnome
-BuildRequires:  python-gtk-devel >= 2.24
+BuildRequires:  python3
+BuildRequires:  python3-gobject
 BuildRequires:  update-desktop-files
-BuildRequires:  hicolor-icon-theme
-BuildRequires:  fdupes
-Requires:   gstreamer-0_10
-Recommends: gstreamer-0_10-plugins-bad
-Recommends: gstreamer-0_10-plugins-base
-Recommends: gstreamer-0_10-plugins-good
-Recommends: gstreamer-0_10-plugins-ugly
-Suggests:   gstreamer-0_10-plugins-ugly-orig-addon
-Requires:   python-gnome
-Requires:   python-gstreamer-0_10
-Requires:   python-gtk >= 2.24
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%py_requires
+BuildRequires:  typelib(Gst) = 1.0
+BuildRequires:  typelib(Gtk) = 3.0
+Requires:   gstreamer
+Requires:   python3-gobject
+Recommends: %{name}-lang
+Recommends: gstreamer-plugins-bad
+Recommends: gstreamer-plugins-base
+Recommends: gstreamer-plugins-good
+Recommends: gstreamer-plugins-ugly
+Suggests:   gstreamer-plugins-ugly-orig-addon
+%if 0%{?suse_version} > 1320 || 0%{?sle_version} >= 120200
+BuildRequires:  python3-gobject-Gdk
+Requires:   python3-gobject-Gdk
+%endif
 
 %description
-A simple sound converter application for the GNOME environment.
+A sound converter application for the GNOME environment.
 
-It reads anything the GStreamer library can read, and writes WAV,
-FLAC, MP3, and Ogg Vorbis files.
+It reads anything the GStreamer library can read, and offers writing
+to WAV, FLAC, MP3, AAC, and Ogg Vorbis, also with the help of
+GStreamer.
+
+%lang_package
 
 %prep
-%setup -q
+%setup -q -n %{name}-%{_rev}
 
 %build
+NOCONFIGURE=1 ./autogen.sh
 %configure
-make %{?_smp_mflags}
+make %{?_smp_mflags} V=1
 
 %install
 

commit soundconverter for openSUSE:Factory

2016-11-09 Thread h_root
Hello community,

here is the log from the commit of package soundconverter for openSUSE:Factory 
checked in at 2016-11-09 11:38:30

Comparing /work/SRC/openSUSE:Factory/soundconverter (Old)
 and  /work/SRC/openSUSE:Factory/.soundconverter.new (New)


Package is "soundconverter"

Changes:

New Changes file:

--- /dev/null   2016-10-27 01:54:32.792041256 +0200
+++ /work/SRC/openSUSE:Factory/.soundconverter.new/soundconverter.changes   
2016-11-09 11:38:31.0 +0100
@@ -0,0 +1,36 @@
+---
+Mon Mar 28 10:45:20 UTC 2016 - mailaen...@opensuse.org
+
+- Update to version 2.1.6:
+  + Fix: name 'vfs_exists' is not defined.
+(Closes pr:10, thanks Michael)
+  + Fix problem when dropping files.
+(Closes lp:1432399, thanks Thibaut & Rüdiger)
+
+---
+Sat Mar  7 17:18:11 UTC 2015 - zai...@opensuse.org
+
+- Update to version 2.1.5:
+  + Don't write xing header if target MP3 is in CBR mode
+(lp#1399276).
+  + Fix problem when dropping files with special chars.
+  + Updated translations.
+- Changes from version 1.5.5 to current, please see upstream web.
+- Update url and source to new home, and update licencetag to new
+  standard.
+- Stop building as noarch package, it is not anymore.
+
+---
+Fri Jul 15 23:40:34 UTC 2011 - fi...@opensuse.org
+
+- upstream update to 1.5.4
+
+---
+Sun Jun 20 00:00:00 UTC 2010 - vishwi...@googlemail.com
+
+- update to 1.5.3
+
+---
+Wed Mar 31 00:00:00 UTC 2010 - vishwi...@googlemail.com
+
+- 1.5.0 alpha1

New:

  soundconverter-2.1.6.tar.xz
  soundconverter.changes
  soundconverter.spec



Other differences:
--
++ soundconverter.spec ++
#
# spec file for package soundconverter
#
# Copyright (c) 2016 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:   soundconverter
Version:2.1.6
Release:1
License:GPL-3.0+
Summary:Simple Sound Converter Application for the GNOME Desktop
Url:http://soundconverter.org/
Group:  Productivity/Multimedia/Video/Editors and Convertors
Source: 
https://launchpad.net/soundconverter/trunk/%{version}/+download/soundconverter-%{version}.tar.xz
BuildRequires:  intltool
BuildRequires:  mDNSResponder-lib
BuildRequires:  perl-XML-Parser
BuildRequires:  python
BuildRequires:  python-gnome
BuildRequires:  python-gtk-devel >= 2.24
BuildRequires:  update-desktop-files
BuildRequires:  hicolor-icon-theme
BuildRequires:  fdupes
Requires:   gstreamer-0_10
Recommends: gstreamer-0_10-plugins-bad
Recommends: gstreamer-0_10-plugins-base
Recommends: gstreamer-0_10-plugins-good
Recommends: gstreamer-0_10-plugins-ugly
Suggests:   gstreamer-0_10-plugins-ugly-orig-addon
Requires:   python-gnome
Requires:   python-gstreamer-0_10
Requires:   python-gtk >= 2.24
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
%py_requires

%description
A simple sound converter application for the GNOME environment.

It reads anything the GStreamer library can read, and writes WAV,
FLAC, MP3, and Ogg Vorbis files.

%prep
%setup -q

%build
%configure
make %{?_smp_mflags}

%install
%make_install

%find_lang %{name}

%suse_update_desktop_file -r %{name} AudioVideo AudioVideoEditing

%fdupes %{buildroot}%{_prefix}

chmod +x %{buildroot}%{_libdir}/soundconverter/python/soundconverter/*py

%post
%desktop_database_post
%icon_theme_cache_post

%postun
%desktop_database_postun
%icon_theme_cache_postun

%files -f %{name}.lang
%defattr(-,root,root)
%doc COPYING ChangeLog README TODO
%{_bindir}/%{name}
%{_libdir}/%{name}
%{_datadir}/%{name}/
%{_mandir}/man1/%{name}*
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%if 0%{?suse_version} < 1320
%dir %{_datadir}/appdata/
%endif
%{_datadir}/appdata/%{name}.appdata.xml

%changelog