alsa-lib/utils/alsa-lib.spec.in

76 lines
1.8 KiB
RPMSpec
Raw Normal View History

1998-08-13 15:42:56 +00:00
%define ver @SND_LIB_VERSION@
%define rel 1
Summary: Advanced Linux Sound Architecture (ALSA) - Library
Name: alsa-lib
Version: %ver
Release: %rel
License: LGPL
1998-08-13 15:42:56 +00:00
Group: System/Libraries
2000-02-27 13:35:01 +00:00
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{ver}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
2000-02-27 13:35:01 +00:00
URL: http://www.alsa-project.org
1998-08-13 15:42:56 +00:00
%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.
1998-08-13 15:42:56 +00:00
%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}
1998-08-13 15:42:56 +00:00
* Tue Nov 20 2001 Jaroslav Kysela <perex@perex.cz>
2001-11-20 09:30:15 +00:00
- 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
1998-08-13 15:42:56 +00:00
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
- Made SPEC file
%prep
1998-12-09 14:43:21 +00:00
%setup
1998-08-13 15:42:56 +00:00
%build
%configure
1998-08-13 15:42:56 +00:00
make
%install
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%makeinstall
1998-08-13 15:42:56 +00:00
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
1998-08-13 15:42:56 +00:00
%files
%defattr(-, root, root)
%{_bindir}/*
%{_libdir}/*.so.*
%{_datadir}/alsa
1998-08-13 15:42:56 +00:00
%doc doc/*.txt
%files -n alsa-lib-devel
%defattr(-,root,root)
%{_includedir}/alsa
%{_includedir}/sys/*
%{_libdir}/*.la
%{_libdir}/*.so
%{_datadir}/aclocal/*
%{_libdir}/pkgconfig/*