1999-01-31 14:15:00 +01:00
|
|
|
%define ver @VERSION@
|
1998-08-13 17:43:39 +02:00
|
|
|
%define rel 1
|
|
|
|
|
|
|
|
Summary: Advanced Linux Sound Architecture (ALSA) - Utils
|
|
|
|
Name: alsa-utils
|
|
|
|
Version: %ver
|
|
|
|
Release: %rel
|
|
|
|
Copyright: GPL
|
|
|
|
Group: System/Libraries
|
2000-02-27 14:35:45 +01:00
|
|
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2
|
2001-11-20 10:03:43 +01:00
|
|
|
BuildRoot: /var/tmp/alsa-utils-%{ver}
|
1999-05-12 00:16:59 +02:00
|
|
|
URL: http://www.alsa-project.org
|
1998-08-13 17:43:39 +02:00
|
|
|
Requires: alsa-lib alsa-driver
|
2001-11-12 10:36:39 +01:00
|
|
|
|
1998-08-13 17:43:39 +02:00
|
|
|
%description
|
|
|
|
|
|
|
|
Advanced Linux Sound Architecture (ALSA) - Utils
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
2001-11-20 10:03:43 +01:00
|
|
|
* Tue Nov 20 2001 Jaroslav Kysela <perex@suse.cz>
|
|
|
|
|
|
|
|
- changed BuildRoot from /tmp to /var/tmp
|
|
|
|
- %_prefix and %_mandir macros are used for configure and mkdir
|
|
|
|
- DESTDIR is used for make install
|
|
|
|
|
2001-11-12 10:36:39 +01:00
|
|
|
* Sun Nov 11 2001 Miroslav Benes <mbenes@tenez.cz>
|
|
|
|
|
|
|
|
- dangerous command "rpm -rf $RPM_BUILD_ROOT" checks $RPM_BUILD_ROOT variable
|
|
|
|
- unset key "Docdir" - on some new systems are documentation in /usr/share/doc
|
|
|
|
|
1998-08-13 17:43:39 +02:00
|
|
|
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
|
|
|
|
|
|
|
|
- Made SPEC file
|
|
|
|
|
|
|
|
%prep
|
1998-12-09 15:44:27 +01:00
|
|
|
%setup
|
1998-08-13 17:43:39 +02:00
|
|
|
%build
|
|
|
|
|
2001-11-20 10:03:43 +01:00
|
|
|
./configure --prefix=%_prefix --mandir=%_mandir
|
1998-08-13 17:43:39 +02:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
2001-11-12 10:36:39 +01:00
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2001-11-20 10:03:43 +01:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%_prefix/bin $RPM_BUILD_ROOT/%_mandir/man1
|
1998-08-13 17:43:39 +02:00
|
|
|
|
2001-11-20 10:03:43 +01:00
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
1998-08-13 17:43:39 +02:00
|
|
|
|
|
|
|
%clean
|
2001-11-12 10:36:39 +01:00
|
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
1998-08-13 17:43:39 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
|
1999-01-18 23:43:25 +01:00
|
|
|
%doc ChangeLog COPYING README config.status
|
1998-08-13 17:43:39 +02:00
|
|
|
|
2001-11-20 10:03:43 +01:00
|
|
|
%{_prefix}/sbin/*
|
|
|
|
%{_prefix}/bin/*
|
|
|
|
%{_mandir}/man1/*
|