2024-01-06 03:32:58 +01:00
|
|
|
%define pkgver %(echo %version | tr _ '~')
|
|
|
|
%define srcver %(echo %version | sed "s|_.*|.594|")
|
|
|
|
Name: lash
|
|
|
|
Version: 0.6.0_rc2
|
2024-01-06 03:32:59 +01:00
|
|
|
Release: 2mamba
|
2024-01-06 03:32:58 +01:00
|
|
|
Summary: A session management system for JACK and ALSA audio applications on GNU/Linux
|
|
|
|
Group: Graphical Desktop/Applications/Multimedia
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://lash.nongnu.org/
|
|
|
|
Source: http://download.savannah.gnu.org/releases/lash/lash-%{pkgver}.tar.bz2
|
|
|
|
Patch0: %{name}-0.5.4-gcc44.patch
|
|
|
|
Patch1: lash-0.6.0_rc2-arm-sigsegv.patch
|
2024-01-06 03:32:59 +01:00
|
|
|
Patch2: lash-0.6.0_rc2-fix-manual-generation.patch
|
2024-01-06 03:32:58 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 03:32:59 +01:00
|
|
|
BuildRequires: ldconfig
|
2024-01-06 03:32:58 +01:00
|
|
|
BuildRequires: libalsa-devel
|
|
|
|
BuildRequires: libatk-devel
|
|
|
|
BuildRequires: libbzip2-devel
|
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libdbus-devel
|
2024-01-06 03:32:59 +01:00
|
|
|
BuildRequires: libe2fs-devel
|
2024-01-06 03:32:58 +01:00
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
|
|
|
BuildRequires: libglib-devel
|
|
|
|
BuildRequires: libgraphite2-devel
|
|
|
|
BuildRequires: libgtk2-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
|
|
|
BuildRequires: libjack-devel
|
2024-01-06 03:32:59 +01:00
|
|
|
BuildRequires: libkrb5-devel
|
2024-01-06 03:32:58 +01:00
|
|
|
BuildRequires: liblzma-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libreadline-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-01-06 03:32:59 +01:00
|
|
|
BuildRequires: libsystemd-devel
|
2024-01-06 03:32:58 +01:00
|
|
|
BuildRequires: libtirpc-devel
|
|
|
|
BuildRequires: libuuid-devel
|
|
|
|
BuildRequires: libxml2-devel
|
|
|
|
BuildRequires: libz-devel
|
2024-01-06 03:32:59 +01:00
|
|
|
BuildRequires: python
|
2024-01-06 03:32:58 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: tetex
|
|
|
|
BuildRequires: swig
|
|
|
|
Requires: swig
|
2024-01-06 03:32:59 +01:00
|
|
|
Requires(post):%{__install_info}
|
2024-01-06 03:32:58 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
LASH is a session management system for JACK and ALSA audio applications on GNU/Linux. It is an implementation of a proposal that originated from this discussion. Its aim is to allow you to have many different audio programs running at once, to save their setup, close them down and then easily reload the setup at some other time. LASH doesn't deal with any kind of audio data itself; it just runs programs, deals with saving/loading (arbitrary) data and connects different kinds of virtual audio ports together (currently JACK and ALSA sequencer ports). It can also be used to move entire sessions between computers, or post sessions on the Internet for download.
|
|
|
|
|
|
|
|
%package -n lib%{name}
|
|
|
|
Summary: A session management system for JACK and ALSA audio applications on GNU/Linux
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n lib%{name}
|
|
|
|
LASH is a session management system for JACK and ALSA audio applications on GNU/Linux. It is an implementation of a proposal that originated from this discussion. Its aim is to allow you to have many different audio programs running at once, to save their setup, close them down and then easily reload the setup at some other time. LASH doesn't deal with any kind of audio data itself; it just runs programs, deals with saving/loading (arbitrary) data and connects different kinds of virtual audio ports together (currently JACK and ALSA sequencer ports). It can also be used to move entire sessions between computers, or post sessions on the Internet for download.
|
|
|
|
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
|
|
|
%package -n lib%{name}-devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description -n lib%{name}-devel
|
|
|
|
LASH is a session management system for JACK and ALSA audio applications on GNU/Linux. It is an implementation of a proposal that originated from this discussion. Its aim is to allow you to have many different audio programs running at once, to save their setup, close them down and then easily reload the setup at some other time. LASH doesn't deal with any kind of audio data itself; it just runs programs, deals with saving/loading (arbitrary) data and connects different kinds of virtual audio ports together (currently JACK and ALSA sequencer ports). It can also be used to move entire sessions between computers, or post sessions on the Internet for download.
|
2024-01-06 03:32:59 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 03:32:58 +01:00
|
|
|
|
|
|
|
%package -n python-%{name}
|
|
|
|
Summary: Python wrapper for LASH
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description -n python-%{name}
|
|
|
|
Contains Python language bindings for developing Python applications that use LASH.
|
|
|
|
|
2024-01-06 03:32:59 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 03:32:58 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n %{name}-%{srcver}
|
2024-01-06 03:32:59 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
%ifarch arm aarch64
|
2024-01-06 03:32:58 +01:00
|
|
|
%patch1 -p1
|
|
|
|
%endif
|
2024-01-06 03:32:59 +01:00
|
|
|
cd docs
|
|
|
|
%patch2 -p1
|
|
|
|
cd ..
|
2024-01-06 03:32:58 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-alsa-midi \
|
2024-01-06 03:32:59 +01:00
|
|
|
LIBS="-luuid -lm -ltirpc" \
|
|
|
|
CFLAGS="%{optflags} -I%{_includedir}/tirpc"
|
|
|
|
|
2024-01-06 03:32:58 +01:00
|
|
|
# FIXME http://bugs.gentoo.org/show_bug.cgi?id=214234 removed pylash pakage
|
|
|
|
make -j1 ALSA_LIBS="-lpthread -lasound"
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
|
cat > %{buildroot}%{_datadir}/applications/%{name}-panel.desktop << EOF
|
|
|
|
[Desktop Entry]
|
|
|
|
Name=LASH Panel
|
|
|
|
Comment=LASH Panel
|
|
|
|
Icon=/usr/share/lash/icons/lash_48px.png
|
|
|
|
Exec=/usr/bin/lash_panel
|
|
|
|
Terminal=false
|
|
|
|
Type=Application
|
|
|
|
StartupNotify=false
|
|
|
|
Categories=Qt;KDE;AudioVideo;
|
|
|
|
EOF
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -n lib%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n lib%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post -n python-%{name} -p /sbin/ldconfig
|
|
|
|
%postun -n python-%{name} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/lash_*
|
|
|
|
%{_bindir}/lashd
|
|
|
|
%dir %{_datadir}/lash/icons
|
|
|
|
%{_datadir}/lash/icons/lash.svg
|
|
|
|
%{_datadir}/lash/icons/lash.xcf
|
|
|
|
%{_datadir}/lash/icons/lash_*px.png
|
|
|
|
%{_datadir}/applications/%{name}-panel.desktop
|
|
|
|
%{_datadir}/dbus-1/services/org.nongnu.lash.service
|
|
|
|
|
|
|
|
%files -n lib%{name}
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/liblash.so.*
|
|
|
|
%doc AUTHORS COPYING
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}/lash-1.0/lash
|
|
|
|
%{_includedir}/lash-1.0/lash/*.h
|
|
|
|
%{_libdir}/liblash.a
|
|
|
|
%{_libdir}/liblash.la
|
|
|
|
%{_libdir}/liblash.so
|
|
|
|
%{_datadir}/lash/dtds/lash-project-1.0.dtd
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%doc ChangeLog ChangeLog.old NEWS README README.SECURITY TODO
|
|
|
|
|
|
|
|
%files -n python-%{name}
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 03:32:59 +01:00
|
|
|
%{python_sitelib}/_lash.a
|
|
|
|
%{python_sitelib}/_lash.la
|
|
|
|
%{python_sitelib}/_lash.so
|
|
|
|
%{python_sitelib}/lash.py
|
2024-01-06 03:32:58 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 03:32:59 +01:00
|
|
|
* Sat Dec 12 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0_rc2-2mamba
|
|
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 03:32:58 +01:00
|
|
|
* Tue Feb 12 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0_rc2-1mamba
|
|
|
|
- update to 0.6.0_rc2
|
|
|
|
|
|
|
|
* Thu Apr 05 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-3mamba
|
|
|
|
- pass link libraries to fix build; remove python-lash subpackage
|
|
|
|
|
|
|
|
* Sat Apr 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-2mamba
|
|
|
|
- added patch to build against current gcc
|
|
|
|
- added requirements for swig
|
|
|
|
|
|
|
|
* Fri Aug 22 2008 gil <puntogil@libero.it> 0.5.4-1mamba
|
|
|
|
- update to 0.5.4
|
|
|
|
- added lash-panel.desktop
|
|
|
|
- FIXME http://bugs.gentoo.org/show_bug.cgi?id=214234 or removed python-lash pakage
|
|
|
|
|
|
|
|
* Thu Oct 26 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.2-1qilnx
|
|
|
|
- package created by autospec
|