102 lines
3.4 KiB
RPMSpec
102 lines
3.4 KiB
RPMSpec
Name: timemachine
|
|
Version: 0.3.4
|
|
Release: 1mamba
|
|
Summary: Records audio up to ten seconds ago
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://plugin.org.uk/timemachine/
|
|
Source: https://github.com/swh/timemachine.git/v%{version}/timemachine-%{version}.tar.bz2
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libalsa-devel
|
|
BuildRequires: libatk-devel
|
|
BuildRequires: libcairo-devel
|
|
BuildRequires: libdbus-devel
|
|
BuildRequires: libfontconfig-devel
|
|
BuildRequires: libfreetype-devel
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
BuildRequires: libglib-devel
|
|
BuildRequires: libgtk2-devel
|
|
BuildRequires: libharfbuzz-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: liblash-devel
|
|
BuildRequires: liblo-devel
|
|
BuildRequires: libncurses-devel
|
|
BuildRequires: libpango-devel
|
|
BuildRequires: libreadline-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: libuuid-devel
|
|
BuildRequires: libxml2-devel
|
|
## AUTOBUILDREQ-END
|
|
|
|
%description
|
|
I used to always keep a minidisc recorder in my studio running in a mode where when you pressed record it wrote the last 10 seconds of audio to the disk and then caught up to realtime and kept recording. The recorder died and haven't been able to replace it, so this is a simple jack app to do the same job. It has the advantage that it never clips and can be wired to any part of the jack graph.
|
|
The idea is that I doodle away with whatever is kicking around in my studio and when I heard an interesting noise, I'd press record and capture it, without having to try and recreate it. :)
|
|
I've been using it to record occasional bursts of interesting noise from jack apps feeding back into each other. It seems to be stable for me, but there could be threading issues and race condidtions if run without SCHED_FIFO (ie. without jackd -R).
|
|
|
|
#% debug_package
|
|
|
|
%prep
|
|
%setup -q
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure \
|
|
LDFLAGS=-lm
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall DESTDIR=%{buildroot}
|
|
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/pixmaps
|
|
%{__mkdir_p} %{buildroot}%{_datadir}/applications
|
|
|
|
%{__install} -m 644 pixmaps/%{name}-icon.png %{buildroot}%{_datadir}/pixmaps/%{name}.png
|
|
cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF
|
|
[Desktop Entry]
|
|
Encoding=UTF-8
|
|
Name=Timemachine
|
|
Comment=Jack Time Machine
|
|
Exec=/usr/bin/timemachine
|
|
Icon=/usr/share/pixmaps/timemachine.png
|
|
Terminal=0
|
|
Type=Application
|
|
Categories=Application;AudioVideo;
|
|
EOF
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%attr(755,root,root) %{_bindir}/timemachine
|
|
%{_datadir}/applications/timemachine.desktop
|
|
%{_datadir}/pixmaps/timemachine.png
|
|
%dir %{_datadir}/timemachine/pixmaps
|
|
%{_datadir}/timemachine/pixmaps/*.png
|
|
%doc COPYING ChangeLog
|
|
|
|
%changelog
|
|
* Sat Jun 05 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.4-1mamba
|
|
- update to 0.3.4
|
|
|
|
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 0.3.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Sep 23 2009 Automatic Build System <autodist@mambasoft.it> 0.3.3-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Fri Jul 10 2009 Automatic Build System <autodist@mambasoft.it> 0.3.2-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Mar 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1mamba
|
|
- update to 0.3.2
|
|
|
|
* Wed Aug 27 2008 gil <puntogil@libero.it> 0.3.1-1mamba
|
|
- added desktop file
|