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