blob: 021cc75d276ff254f6630ae8f3b064d19ca5e0aa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
%define ver @SND_LIB_VERSION@
%define rel 1
Summary: Advanced Linux Sound Architecture (ALSA) - Library
Name: alsa-lib
Version: %ver
Release: %rel
License: LGPL
Group: System/Libraries
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
URL: http://www.alsa-project.org
%description
Advanced Linux Sound Architecture (ALSA) - Library
%package -n alsa-lib-devel
Summary: ALSA Libraries Development Files
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description -n alsa-lib-devel
Development files for building applications which use the ALSA libraries.
%changelog
* Sat Feb 22 2003 Ronny V. Vindenes <sublett@dc-s.com>
- split alsa-lib into alsa-lib and alsa-lib-devel
- changed which files are installed (now includes alsa.pc)
- use standard rpm macros for build and install
- changed BuildRoot from /var/tmp to %{_tmppath}
* Tue Nov 20 2001 Jaroslav Kysela <perex@perex.cz>
- changed BuildRoot from /tmp to /var/tmp
- use the standard RPM macros for prefix and paths
- added DESTDIR 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)
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/alsa
%doc doc/*.txt
%files -n alsa-lib-devel
%defattr(-,root,root)
%{_includedir}/alsa
%{_includedir}/sys/*
%{_libdir}/*.la
%{_libdir}/*.so
%{_datadir}/aclocal/*
%{_libdir}/pkgconfig/*
|