Blame utils/alsa-lib.spec.in

Packit 4a16fb
%define ver      @SND_LIB_VERSION@
Packit 4a16fb
%define rel      1
Packit 4a16fb
Packit 4a16fb
Summary: Advanced Linux Sound Architecture (ALSA) - Library
Packit 4a16fb
Name: alsa-lib
Packit 4a16fb
Version: %ver
Packit 4a16fb
Release: %rel
Packit 4a16fb
License: LGPL
Packit 4a16fb
Group: System/Libraries
Packit 4a16fb
Source: ftp://ftp.alsa-project.org/pub/lib/alsa-lib-%{ver}.tar.bz2
Packit 4a16fb
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Packit 4a16fb
URL: http://www.alsa-project.org
Packit 4a16fb
Packit 4a16fb
%description
Packit 4a16fb
Packit 4a16fb
Advanced Linux Sound Architecture (ALSA) - Library
Packit 4a16fb
Packit 4a16fb
%package -n alsa-lib-devel
Packit 4a16fb
Summary: ALSA Libraries Development Files
Packit 4a16fb
Group: Development/Libraries
Packit 4a16fb
Requires: %{name} = %{version}-%{release}
Packit 4a16fb
Packit 4a16fb
%description -n alsa-lib-devel
Packit 4a16fb
Development files for building applications which use the ALSA libraries.
Packit 4a16fb
Packit 4a16fb
%changelog
Packit 4a16fb
* Sat Feb 22 2003 Ronny V. Vindenes <sublett@dc-s.com>
Packit 4a16fb
- split alsa-lib into alsa-lib and alsa-lib-devel
Packit 4a16fb
- changed which files are installed (now includes alsa.pc)
Packit 4a16fb
- use standard rpm macros for build and install
Packit 4a16fb
- changed BuildRoot from /var/tmp to %{_tmppath}
Packit 4a16fb
Packit 4a16fb
* Tue Nov 20 2001 Jaroslav Kysela <perex@perex.cz>
Packit 4a16fb
Packit 4a16fb
- changed BuildRoot from /tmp to /var/tmp
Packit 4a16fb
- use the standard RPM macros for prefix and paths
Packit 4a16fb
- added DESTDIR for make install
Packit 4a16fb
Packit 4a16fb
* Sun Nov 11 2001 Miroslav Benes <mbenes@tenez.cz>
Packit 4a16fb
Packit 4a16fb
- dangerous command "rpm -rf $RPM_BUILD_ROOT" checks $RPM_BUILD_ROOT variable
Packit 4a16fb
- unset key "Docdir" - on some new systems are documentation in /usr/share/doc
Packit 4a16fb
Packit 4a16fb
* Mon May 28 1998 Helge Jensen <slog@slog.dk>
Packit 4a16fb
Packit 4a16fb
- Made SPEC file
Packit 4a16fb
Packit 4a16fb
%prep
Packit 4a16fb
%setup
Packit 4a16fb
%build
Packit 4a16fb
%configure
Packit 4a16fb
make
Packit 4a16fb
Packit 4a16fb
%install
Packit 4a16fb
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
Packit 4a16fb
%makeinstall
Packit 4a16fb
Packit 4a16fb
%clean
Packit 4a16fb
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
Packit 4a16fb
Packit 4a16fb
%files
Packit 4a16fb
%defattr(-, root, root)
Packit 4a16fb
%{_bindir}/*
Packit 4a16fb
%{_libdir}/*.so.*
Packit 4a16fb
%{_datadir}/alsa
Packit 4a16fb
%doc doc/*.txt
Packit 4a16fb
Packit 4a16fb
%files -n alsa-lib-devel
Packit 4a16fb
%defattr(-,root,root)
Packit 4a16fb
%{_includedir}/alsa
Packit 4a16fb
%{_includedir}/sys/*
Packit 4a16fb
%{_libdir}/*.la
Packit 4a16fb
%{_libdir}/*.so
Packit 4a16fb
%{_datadir}/aclocal/*
Packit 4a16fb
%{_libdir}/pkgconfig/*