mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 17:36:30 +01:00
Updated...
This commit is contained in:
parent
fcd84b4de0
commit
39cc208f0a
1 changed files with 13 additions and 10 deletions
|
@ -1,6 +1,5 @@
|
||||||
%define ver @VERSION@
|
%define ver @VERSION@
|
||||||
%define rel 1
|
%define rel 1
|
||||||
%define prefix /
|
|
||||||
|
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Utils
|
Summary: Advanced Linux Sound Architecture (ALSA) - Utils
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
|
@ -9,9 +8,8 @@ Release: %rel
|
||||||
Copyright: GPL
|
Copyright: GPL
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2
|
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2
|
||||||
BuildRoot: /tmp/alsa-utils-%{ver}
|
BuildRoot: /var/tmp/alsa-utils-%{ver}
|
||||||
URL: http://www.alsa-project.org
|
URL: http://www.alsa-project.org
|
||||||
#Docdir: %{prefix}/usr/doc
|
|
||||||
Requires: alsa-lib alsa-driver
|
Requires: alsa-lib alsa-driver
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
@ -20,12 +18,17 @@ Advanced Linux Sound Architecture (ALSA) - Utils
|
||||||
|
|
||||||
%changelog
|
%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>
|
* Sun Nov 11 2001 Miroslav Benes <mbenes@tenez.cz>
|
||||||
|
|
||||||
- dangerous command "rpm -rf $RPM_BUILD_ROOT" checks $RPM_BUILD_ROOT variable
|
- 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
|
- unset key "Docdir" - on some new systems are documentation in /usr/share/doc
|
||||||
|
|
||||||
|
|
||||||
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
|
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
|
||||||
|
|
||||||
- Made SPEC file
|
- Made SPEC file
|
||||||
|
@ -34,15 +37,15 @@ Advanced Linux Sound Architecture (ALSA) - Utils
|
||||||
%setup
|
%setup
|
||||||
%build
|
%build
|
||||||
|
|
||||||
./configure --prefix=/usr
|
./configure --prefix=%_prefix --mandir=%_mandir
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT/usr/bin $RPM_BUILD_ROOT/usr/man/man1
|
mkdir -p $RPM_BUILD_ROOT/%_prefix/bin $RPM_BUILD_ROOT/%_mandir/man1
|
||||||
|
|
||||||
make prefix="$RPM_BUILD_ROOT/usr" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
@ -52,6 +55,6 @@ make prefix="$RPM_BUILD_ROOT/usr" install
|
||||||
|
|
||||||
%doc ChangeLog COPYING README config.status
|
%doc ChangeLog COPYING README config.status
|
||||||
|
|
||||||
%{prefix}/usr/sbin/*
|
%{_prefix}/sbin/*
|
||||||
%{prefix}/usr/bin/*
|
%{_prefix}/bin/*
|
||||||
%{prefix}/usr/man/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
Loading…
Reference in a new issue