2012-05-06 17:40:07 +02:00
|
|
|
#
|
|
|
|
# spec file for package audio-recorder
|
|
|
|
#
|
2015-05-05 22:57:13 +02:00
|
|
|
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
2012-05-06 17:40:07 +02:00
|
|
|
#
|
|
|
|
# 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/
|
|
|
|
#
|
|
|
|
|
2013-03-14 00:34:58 +01:00
|
|
|
|
2012-05-06 17:40:07 +02:00
|
|
|
Name: audio-recorder
|
2015-05-05 22:57:13 +02:00
|
|
|
Version: 1.6
|
2013-03-14 00:34:58 +01:00
|
|
|
Release: 0
|
2015-05-05 22:57:13 +02:00
|
|
|
%define real_version 1.6-2
|
2012-05-06 17:40:07 +02:00
|
|
|
Summary: An audio recorder application for the GNOME 2/3
|
2013-03-14 00:34:58 +01:00
|
|
|
License: GPL-3.0
|
2012-05-06 17:40:07 +02:00
|
|
|
Group: Productivity/Multimedia/Sound/Utilities
|
2013-03-14 00:34:58 +01:00
|
|
|
Url: https://launchpad.net/audio-recorder
|
2015-05-05 22:57:13 +02:00
|
|
|
Source: https://launchpad.net/audio-recorder/trunk/version1.6-2/+download/audio-recorder-1.6-2.tar.gz
|
2012-05-06 17:40:07 +02:00
|
|
|
# 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
|
2015-05-05 22:57:13 +02:00
|
|
|
# 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
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: autoconf
|
2014-01-23 22:50:28 +01:00
|
|
|
BuildRequires: desktop-file-utils
|
2012-05-06 17:44:39 +02:00
|
|
|
BuildRequires: fdupes
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: gettext
|
2012-05-06 17:44:39 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: libtool
|
2015-05-05 22:57:13 +02:00
|
|
|
BuildRequires: pkgconfig(appindicator3-0.1) >= 0.3
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: pkgconfig(dbus-1)
|
2013-03-14 00:21:03 +01:00
|
|
|
BuildRequires: pkgconfig(dconf)
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2013-03-14 00:21:03 +01:00
|
|
|
BuildRequires: pkgconfig(gstreamer-1.0)
|
2015-05-05 22:57:13 +02:00
|
|
|
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= 1.4
|
2013-03-14 00:21:03 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2012-05-06 17:40:07 +02:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2013-03-14 00:21:03 +01:00
|
|
|
Requires: gstreamer-plugins-bad
|
|
|
|
Requires: gstreamer-plugins-base
|
|
|
|
Requires: gstreamer-plugins-good
|
|
|
|
Requires: gstreamer-plugins-ugly
|
2012-05-06 17:40:07 +02:00
|
|
|
Recommends: %{name}-lang
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
It has an advanced timer that can:
|
|
|
|
* Start, stop or pause recording at a given clock time.
|
|
|
|
* Start, stop or pause after a time period.
|
|
|
|
* Stop when the recorded file size exceeds a limit.
|
|
|
|
* Start recording on voice or sound.
|
|
|
|
* Stop or pause recording on "silence".
|
|
|
|
|
|
|
|
The recording can be automatically controlled by:
|
|
|
|
* RhythmBox audio player.
|
|
|
|
* Banshee audio player.
|
|
|
|
* Amarok and other MPRIS compatible players.
|
|
|
|
* Skype. It can automatically record all your Skype calls without
|
|
|
|
any user interaction.
|
|
|
|
|
|
|
|
This program supports several audio (output) formats such as OGG
|
2012-05-06 17:44:39 +02:00
|
|
|
audio, Flac, MP3 and WAV.
|
2012-05-06 17:40:07 +02:00
|
|
|
|
|
|
|
User can also control the recorder from command line with
|
|
|
|
--command <arg> option.
|
|
|
|
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}
|
|
|
|
%patch0 -p1
|
2015-05-05 22:57:13 +02:00
|
|
|
%patch1 -p0
|
2012-05-06 17:40:07 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
aclocal && autoconf && automake -a
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
%fdupes %{buildroot}%{_datadir}
|
|
|
|
%find_lang %{name} %{?no_lang_C}
|
|
|
|
|
|
|
|
%post
|
2014-01-23 22:50:28 +01:00
|
|
|
%desktop_database_post
|
2012-05-06 17:40:07 +02:00
|
|
|
%icon_theme_cache_post
|
|
|
|
%glib2_gsettings_schema_post
|
|
|
|
|
|
|
|
%postun
|
2014-01-23 22:50:28 +01:00
|
|
|
%desktop_database_postun
|
2012-05-06 17:40:07 +02:00
|
|
|
%icon_theme_cache_postun
|
|
|
|
%glib2_gsettings_schema_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc ChangeLog README COPYING
|
|
|
|
%{_bindir}/%{name}
|
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/%{name}/
|
2014-01-23 22:50:28 +01:00
|
|
|
%{_datadir}/icons/hicolor/
|
2012-05-06 17:40:07 +02:00
|
|
|
%{_datadir}/pixmaps/%{name}/
|
|
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.audio-recorder.gschema.xml
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|