Automatic import for version 1.3-1

This commit is contained in:
Rosa 2013-10-24 13:45:38 +04:00
commit 2e4e04d67b
3 changed files with 105 additions and 0 deletions

2
.abf.yml Normal file
View file

@ -0,0 +1,2 @@
sources:
"audio-recorder-1.3-1.tar.gz": d9b6ff95c546a6b9c61ba18485d46d99d7c1323b

View file

@ -0,0 +1,50 @@
Index: audio-recorder/data/audio-recorder.desktop
===================================================================
--- audio-recorder.orig/data/audio-recorder.desktop
+++ audio-recorder/data/audio-recorder.desktop
@@ -1,6 +1,6 @@
[Desktop Entry]
GenericName=Audio Recorder
-Categories=GNOME;AudioVideo;Recorder
+Categories=GNOME;AudioVideo;Recorder;
Exec=audio-recorder
Icon=audio-recorder
StartupNotify=true
@@ -49,37 +49,3 @@ Comment[sr]=Audio Recorder
Comment[tr]=Ses Kaydedici
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
-
-[StartRecording Shortcut Group]
-Name=Start
-Name[fi_FI]=Aloita
-Name[nb_NO]=Start
-Exec=audio-recorder --command=start
-TargetEnvironment=Unity
-
-[StopRecording Shortcut Group]
-Name=Stop
-Name[fi_FI]=Lopeta
-Name[nb_NO]=Stopp
-Exec=audio-recorder --command=stop
-TargetEnvironment=Unity
-
-[PauseRecording Shortcut Group]
-Name=Pause
-Name[fi_FI]=Keskeytä väliaikaisesti
-Name[nb_NO]=Pause
-Exec=audio-recorder --command=pause
-TargetEnvironment=Unity
-
-[ShowWindow Shortcut Group]
-Name=Show window
-Name[fi_FI]=Näytä ikkuna
-Name[nb_NO]=Vis applikasjon
-Exec=audio-recorder --command=show
-TargetEnvironment=Unity
-
-

53
audio-recorder.spec Normal file
View file

@ -0,0 +1,53 @@
%define gstapi 1.0
Summary: Audio recorder for the GNOME
Name: audio-recorder
Version: 1.3
Release: 1
License: GPLv3+
Group: Sound
Url: https://launchpad.net/audio-recorder
Source0: https://launchpad.net/audio-recorder/trunk/version%{version}-1/+download/%{name}-%{version}-1.tar.gz
Patch0: audio-recorder-correct-desktop-menu.patch
BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gstreamer-%{gstapi})
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libpulse)
Requires: gstreamer%{gstapi}-plugins-bad
Requires: gstreamer%{gstapi}-plugins-base
Requires: gstreamer%{gstapi}-plugins-good
Requires: gstreamer%{gstapi}-plugins-ugly
%description
Audio-recorder allows you to record your favourite music or audio to
a file. It can record audio from your system's soundcard,
microphones, browsers, webcams & more. Put simply: if it plays out of
your loudspeakers you can record it.
%files -f %{name}.lang
%doc ChangeLog README COPYING
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_iconsdir}/hicolor/*/apps/*.png
%{_datadir}/pixmaps/%{name}/
%{_datadir}/glib-2.0/schemas/org.gnome.audio-recorder.gschema.xml
#----------------------------------------------------------------------------
%prep
%setup -q -n %{name}
%patch0 -p1
%build
%configure2_5x
%make
%install
%makeinstall_std
%find_lang %{name}