• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1%define ver      @VERSION@
2%define rel      1
3
4Summary: Advanced Linux Sound Architecture (ALSA) - Utils
5Name: alsa-utils
6Version: %ver
7Release: %rel
8Copyright: GPL
9Group: System/Libraries
10Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{ver}.tar.bz2
11BuildRoot: %{_tmppath}/%{name}-%{version}-root
12URL: http://www.alsa-project.org
13Requires: alsa-lib ncurses
14BuildRequires: alsa-lib-devel ncurses-devel gettext
15
16%description
17
18Advanced Linux Sound Architecture (ALSA) - Utils
19
20%changelog
21* Sun Oct  1 2006 Jaroslav Kysela <perex@perex.cz>
22- add gettext to BuildRequires
23- add more files (see alsa bug#2139)
24
25* Tue Nov 25 2003 Ronny V. Vindenes <sublett@amigascne.org>
26- include all manpages
27
28* Thu Mar  6 2003 Ronny V. Vindenes <sublett@dc-s.com>
29
30- removed wrongly included doc file
31- changed BuildRoot from /var/tmp to _tmppath
32- use standard rpm macros for build & install section
33- updated dependencies
34
35* Tue Nov 20 2001 Jaroslav Kysela <perex@perex.cz>
36
37- changed BuildRoot from /tmp to /var/tmp
38- _prefix and _mandir macros are used for configure and mkdir
39- DESTDIR is used for make install
40
41* Sun Nov 11 2001 Miroslav Benes <mbenes@tenez.cz>
42
43- dangerous command "rpm -rf $RPM_BUILD_ROOT" checks $RPM_BUILD_ROOT variable
44- unset key "Docdir" - on some new systems are documentation in /usr/share/doc
45
46* Mon May 28 1998 Helge Jensen <slog@slog.dk>
47
48- Made SPEC file
49
50%prep
51%setup
52%build
53%configure
54make
55
56%install
57[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
58%makeinstall
59
60%clean
61[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
62
63%files
64%defattr(-, root, root)
65
66%doc ChangeLog COPYING README
67
68%{_prefix}/sbin/*
69%{_prefix}/bin/*
70%{_mandir}/man?/*
71%{_mandir}/fr/man?/*
72%{_prefix}/share/alsa/speaker-test/*
73%{_prefix}/share/locale/ja/LC_MESSAGES/*
74%{_prefix}/share/locale/ru/LC_MESSAGES/*
75%{_prefix}/share/man/fr/man8/alsaconf.8.gz
76%{_prefix}/share/sounds/alsa/*
77