File lash.spec of Package lash
#
# spec file for package lash (Version 0.5.0)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: lash
BuildRequires: alsa-devel e2fsprogs-devel gtk2-devel jack-devel libxml2-devel readline-devel update-desktop-files
Summary: Linux Audio Session Handler
Version: 0.5.0
Release: 105
Group: Productivity/Multimedia/Sound/Utilities
AutoReqProv: on
PreReq: %install_info_prereq
Obsoletes: ladcca <= 0.4.0
Provides: ladcca = 0.4.0
License: GPL v2 or later
Url: http://lash-audio-session-handler.org/
Source: %name-%version.tar.bz2
Source1: %name.desktop
Source2: %name.png
Patch: lash-automake-fix.diff
Patch1: lash-info-entry.diff
Patch2: lash-nogtk1.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
LASH (formerly LADCCA) is a session management system for JACK and ALSA
audio applications on GNU/Linux. Its aim is to allow you to have many
different audio programs running at once and to save the setup, close
them down, then reload the setup at some other time.
Authors:
--------
Bob Ham <node@users.sourceforge.net>
Dave Robillard <drobilla@connect.carelton.ca>
%package libs
Summary: Shared libraries for LASH system
Group: System/Libraries
Obsoletes: ladcca-libs <= 0.4.0
Provides: ladcca-libs = 0.4.0
%description libs
This package contains the shared libraries for LASH system.
Authors:
--------
Bob Ham <node@users.sourceforge.net>
Dave Robillard <drobilla@connect.carelton.ca>
%package devel
Summary: Development package for LASH
Group: Development/Libraries/C and C++
Requires: lash-libs = %{version}
Requires: alsa-devel jack-devel glibc-devel e2fsprogs-devel readline-devel
Obsoletes: ladcca-devel <= 0.4.0
Provides: ladcca-devel = 0.4.0
%description devel
This package contains the files needed to compile programs that use the
LASH system.
Authors:
--------
Bob Ham <node@users.sourceforge.net>
Dave Robillard <drobilla@connect.carelton.ca>
%prep
%setup -q
%patch
%patch1
%patch2
%{?suse_update_config:%{suse_update_config -f}}
%build
autoreconf -fi
CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
./configure --prefix=%{_prefix} \
--libdir=%{_libdir} \
--mandir=%{_mandir} \
--infodir=%{_infodir} \
--disable-serv-inst
make
%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file -i %name AudioVideo Music
mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps
cp %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
%post
%install_info --info-dir=%{_infodir} %{_infodir}/lash-manual.info.gz
%postun
%install_info_delete --info-dir=%{_infodir} %{_infodir}/lash-manual.info.gz
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
%clean
[ "$RPM_BUILD_ROOT" != "/" -a -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
/usr/share/applications/%name.desktop
%{_datadir}/pixmaps/*.png
%{_bindir}/*
%{_infodir}/*.info*
%files libs
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%{_datadir}/lash
%files devel
%defattr(-,root,root)
%{_libdir}/lib*.a
%{_libdir}/lib*.la
%{_libdir}/lib*.so
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%changelog
* Fri Sep 14 2007 - aj@suse.de
- Cleanup rpmlint warnings.
- Remove whitespace to build package again.
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Oct 17 2005 - tiwai@suse.de
- renamed to lash
- updated to version 0.5.0.
* Wed Sep 22 2004 - mskibbe@suse.de
- change specfile(suse_update_desktopfile)
* Wed Apr 28 2004 - ro@suse.de
- added -fno-strict-aliasing
* Mon Feb 16 2004 - tiwai@suse.de
- build as non-root.
* Thu Nov 20 2003 - tiwai@suse.de
- updated to 0.4.0.
- added libxml2 and devel to neededforbuild.
* Tue Sep 16 2003 - tiwai@suse.de
- added desktop icon.
* Fri Aug 29 2003 - tiwai@suse.de
- added the texinto entry (bug #29588).
* Thu Aug 28 2003 - tiwai@suse.de
- fixed the missing inclusion of limits.h.
* Sat Aug 16 2003 - adrian@suse.de
- add desktop file
* Thu Jul 03 2003 - tiwai@suse.de
- initial version: 0.3.1.