audio-recorder/audio-recorder.spec

90 lines
2.6 KiB
RPMSpec

%define ubuntu_codename jammy
Name: audio-recorder
Version: 3.3.4
Release: 1mamba
Summary: An audio recorder application
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://launchpad.net/audio-recorder
Source: https://launchpad.net/~audio-recorder/+archive/ubuntu/ppa/+sourcefiles/audio-recorder/%{version}~%{ubuntu_codename}/audio-recorder_%{version}~%{ubuntu_codename}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libappindicator3-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbusmenu-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libpango-devel
## AUTOBUILDREQ-END
BuildRequires: libappindicator3-devel
Requires: glib-dconf
%description
This program allows you to record your favourite music and 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.
%debug_package
%prep
%setup -q -c -a0
%build
cd trunk
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C trunk
%find_lang %{name} || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%postun
if [ $1 -eq 0 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
fi
:
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/audio-recorder
%{_datadir}/applications/audio-recorder.desktop
%dir %{_datadir}/audio-recorder
%{_datadir}/audio-recorder/*
%{_datadir}/glib-2.0/schemas/org.gnome.audio-recorder.gschema.xml
%{_datadir}/icons/hicolor/scalable/apps/audio-recorder.svg
%{_datadir}/icons/hicolor/scalable/status/audio-recorder*.svg
%dir %{_datadir}/pixmaps/audio-recorder
%{_datadir}/pixmaps/audio-recorder/*.png
%{_datadir}/pixmaps/audio-recorder/audio-recorder*.svg
%{_mandir}/man1/audio-recorder.1*
%doc trunk/COPYING trunk/AUTHORS
%changelog
* Wed Dec 08 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.4-1mamba
- update to 3.3.4
* Thu Feb 04 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.2.3-1mamba
- update to 3.2.3
* Tue Jul 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1-1mamba
- package created by silvan using the webbuild interface