alsa-utils/utils/alsa-utils.spec.in
Jaroslav Kysela 9cf573ffa3 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
2003-03-06 12:52:33 +00:00

63 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: %{_tmppath}/%{name}-%{version}-root
URL: http://www.alsa-project.org
Requires: alsa-lib ncurses
BuildRequires: alsa-lib-devel ncurses-devel
%description
Advanced Linux Sound Architecture (ALSA) - Utils
%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>
- 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
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc ChangeLog COPYING README
%{_prefix}/sbin/*
%{_prefix}/bin/*
%{_mandir}/man1/*