mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 05:55:42 +01:00
60 lines
1.4 KiB
RPMSpec
60 lines
1.4 KiB
RPMSpec
%define ver @VERSION@
|
|
%define rel 1
|
|
|
|
Summary: Advanced Linux Sound Architecture (ALSA) - Utils
|
|
Name: alsa-utils
|
|
Version: %ver
|
|
Release: %rel
|
|
Copyright: GPL
|
|
Group: System/Libraries
|
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2
|
|
BuildRoot: /var/tmp/alsa-utils-%{ver}
|
|
URL: http://www.alsa-project.org
|
|
Requires: alsa-lib alsa-driver
|
|
|
|
%description
|
|
|
|
Advanced Linux Sound Architecture (ALSA) - Utils
|
|
|
|
%changelog
|
|
|
|
* 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
|
|
|
|
* 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
|
|
|
|
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
|
|
|
|
- Made SPEC file
|
|
|
|
%prep
|
|
%setup
|
|
%build
|
|
|
|
./configure --prefix=%_prefix --mandir=%_mandir
|
|
make
|
|
|
|
%install
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT/%_prefix/bin $RPM_BUILD_ROOT/%_mandir/man1
|
|
|
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
|
|
%clean
|
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-, root, root)
|
|
|
|
%doc ChangeLog COPYING README config.status
|
|
|
|
%{_prefix}/sbin/*
|
|
%{_prefix}/bin/*
|
|
%{_mandir}/man1/*
|