mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-10 00:45:41 +01:00
Ronny V. Vindenes <s864@drone.ii.uib.no>
Cleanup the alsa-utils rpm spec: * removed wrongly included doc file * changed BuildRoot from /var/tmp to %{_tmppath} * use standard rpm macros for %build & %install * updated dependencies
This commit is contained in:
parent
219caa57c6
commit
9cf573ffa3
1 changed files with 14 additions and 11 deletions
|
@ -8,15 +8,22 @@ 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: /var/tmp/alsa-utils-%{ver}
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
URL: http://www.alsa-project.org
|
URL: http://www.alsa-project.org
|
||||||
Requires: alsa-lib alsa-driver
|
Requires: alsa-lib ncurses
|
||||||
|
BuildRequires: alsa-lib-devel ncurses-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
Advanced Linux Sound Architecture (ALSA) - Utils
|
Advanced Linux Sound Architecture (ALSA) - Utils
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 6 2003 Ronny V. Vindenes <sublett@dc-s.com>
|
||||||
|
|
||||||
|
- removed wrongly included doc file
|
||||||
|
- changed BuildRoot from /var/tmp to %{_tmppath}
|
||||||
|
- use standard rpm macros for %build & %install
|
||||||
|
- updated dependencies
|
||||||
|
|
||||||
* Tue Nov 20 2001 Jaroslav Kysela <perex@suse.cz>
|
* Tue Nov 20 2001 Jaroslav Kysela <perex@suse.cz>
|
||||||
|
|
||||||
|
@ -36,24 +43,20 @@ Advanced Linux Sound Architecture (ALSA) - Utils
|
||||||
%prep
|
%prep
|
||||||
%setup
|
%setup
|
||||||
%build
|
%build
|
||||||
|
%configure
|
||||||
./configure --prefix=%_prefix --mandir=%_mandir
|
|
||||||
make
|
make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
%makeinstall
|
||||||
mkdir -p $RPM_BUILD_ROOT/%_prefix/bin $RPM_BUILD_ROOT/%_mandir/man1
|
|
||||||
|
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
|
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-, root, root)
|
%defattr(-, root, root)
|
||||||
|
|
||||||
%doc ChangeLog COPYING README config.status
|
%doc ChangeLog COPYING README
|
||||||
|
|
||||||
%{_prefix}/sbin/*
|
%{_prefix}/sbin/*
|
||||||
%{_prefix}/bin/*
|
%{_prefix}/bin/*
|
||||||
|
|
Loading…
Reference in a new issue