Accepting request 539025 from home:avindra

- Update to 2.0.2:
  + See ChangeLog for full details
- Rebase audio-recorder-correct-desktop-menu.patch
- Drop audio-recorder-gtk-3.16.patch: merged upstream

OBS-URL: https://build.opensuse.org/request/show/539025
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/audio-recorder?expand=0&rev=13
This commit is contained in:
Dominique Leuenberger 2017-11-19 10:55:25 +00:00 committed by Git OBS Bridge
parent 8a8fe5cf70
commit 14bc340a2f
6 changed files with 32 additions and 1422 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:12974217fa1d03bf568b6578744dce14e76982814bed0e6729be731779ffce16
size 8657059

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:572aa0390b40ee92a4c7401008438319d32b21c1c4c0ccf37127c1d9473979d7
size 518453

View File

@ -1,7 +1,6 @@
Index: audio-recorder/data/audio-recorder.desktop
===================================================================
--- audio-recorder.orig/data/audio-recorder.desktop
+++ audio-recorder/data/audio-recorder.desktop
diff -ruN a/data/audio-recorder.desktop b/data/audio-recorder.desktop
--- a/data/audio-recorder.desktop 2017-11-04 16:48:34.754392449 -0400
+++ b/data/audio-recorder.desktop 2017-11-04 16:49:48.220546146 -0400
@@ -1,6 +1,6 @@
[Desktop Entry]
GenericName=Audio Recorder
@ -10,41 +9,40 @@ Index: audio-recorder/data/audio-recorder.desktop
Exec=audio-recorder
Icon=audio-recorder
StartupNotify=true
@@ -49,37 +49,3 @@ Comment[sr]=Audio Recorder
Comment[tr]=Ses Kaydedici
@@ -51,36 +51,3 @@
Comment[uk]=Легкий в застосуванні інструмент для аудіо запису
Comment[vi]=Trình ghi âm
-
-# Right-click menu items for Unity's launcher icon.
-# Ref: https://wiki.ubuntu.com/Unity/LauncherAPI
-X-Ayatana-Desktop-Shortcuts=StartRecording;StopRecording;PauseRecording;ShowWindow
-Actions=StartRecording;StopRecording;PauseRecording;ShowWindow
-
-[StartRecording Shortcut Group]
-[Desktop Action StartRecording]
-Name=Start
-Name[fi_FI]=Aloita
-Name[nb_NO]=Start
-Exec=audio-recorder --command=start
-TargetEnvironment=Unity
-OnlyShowIn=Unity;GNOME;
-
-[StopRecording Shortcut Group]
-[Desktop Action StopRecording]
-Name=Stop
-Name[fi_FI]=Lopeta
-Name[nb_NO]=Stopp
-Exec=audio-recorder --command=stop
-TargetEnvironment=Unity
-OnlyShowIn=Unity;GNOME;
-
-[PauseRecording Shortcut Group]
-[Desktop Action PauseRecording]
-Name=Pause
-Name[fi_FI]=Keskeytä väliaikaisesti
-Name[nb_NO]=Pause
-Exec=audio-recorder --command=pause
-TargetEnvironment=Unity
-OnlyShowIn=Unity;GNOME;
-
-[ShowWindow Shortcut Group]
-[Desktop Action ShowWindow]
-Name=Show window
-Name[fi_FI]=Näytä ikkuna
-Name[nb_NO]=Vis applikasjon
-Exec=audio-recorder --command=show
-TargetEnvironment=Unity
-OnlyShowIn=Unity;GNOME;
-
-

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Nov 4 20:52:01 UTC 2017 - aavindraa@gmail.com
- Update to 2.0.2:
+ See ChangeLog for full details
- Rebase audio-recorder-correct-desktop-menu.patch
- Drop audio-recorder-gtk-3.16.patch: merged upstream
-------------------------------------------------------------------
Tue May 5 14:48:03 UTC 2015 - dimstar@opensuse.org

View File

@ -1,7 +1,7 @@
#
# spec file for package audio-recorder
#
# Copyright (c) 2015 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
@ -17,18 +17,15 @@
Name: audio-recorder
Version: 1.6
Version: 2.0.2
Release: 0
%define real_version 1.6-2
Summary: An audio recorder application for the GNOME 2/3
License: GPL-3.0
Group: Productivity/Multimedia/Sound/Utilities
Url: https://launchpad.net/audio-recorder
Source: https://launchpad.net/audio-recorder/trunk/version1.6-2/+download/audio-recorder-1.6-2.tar.gz
Source: https://launchpad.net/~%{name}/+archive/ubuntu/ppa/+files/%{name}_%{version}~artful.tar.gz#/%{name}-%{version}.tar.gz
# PATCH-FIX-OPENSUSE audio-recorder-correct-desktop-menu.patch badshah400@gmail.com -- Fixes the .desktop file by removing unity related tags from it.
Patch0: audio-recorder-correct-desktop-menu.patch
# PATCH-FIX-UPSTREAM audio-recorder-gtk-3.16.patch dimstar@opensuse.org -- Introduce GTK 3.16 compatibility, taken from upstream.
Patch1: audio-recorder-gtk-3.16.patch
BuildRequires: autoconf
BuildRequires: desktop-file-utils
BuildRequires: fdupes
@ -36,6 +33,7 @@ BuildRequires: gettext
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(appindicator3-0.1) >= 0.3
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dconf)
@ -49,7 +47,6 @@ Requires: gstreamer-plugins-base
Requires: gstreamer-plugins-good
Requires: gstreamer-plugins-ugly
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Audio-recorder allows you to record your favourite music or audio to
@ -78,10 +75,10 @@ User can also control the recorder from command line with
--command <arg> option.
%lang_package
%prep
%setup -q -n %{name}
%setup -q -n trunk
%patch0 -p1
%patch1 -p0
%build
aclocal && autoconf && automake -a
@ -104,7 +101,6 @@ make %{?_smp_mflags}
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
@ -112,6 +108,7 @@ make %{?_smp_mflags}
%{_datadir}/icons/hicolor/
%{_datadir}/pixmaps/%{name}/
%{_datadir}/glib-2.0/schemas/org.gnome.audio-recorder.gschema.xml
%{_mandir}/man1/%{name}.1%{ext_man}
%files lang -f %{name}.lang