From: Thomas V. S. <tho...@us...> - 2002-07-13 22:23:05
|
CVS Root: /cvsroot/gstreamer Module: package Changes by: thomasvs Date: Sat Jul 13 2002 15:23:03 PDT Log message: alsa stuff, still under construction Added files: redhat/alsa : README alsa-driver-0.9.0.spec alsa-driver-install-fix.patch alsa-lib-0.9.0.spec Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/package/redhat/alsa/README?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/package/redhat/alsa/alsa-driver-0.9.0.spec?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/package/redhat/alsa/alsa-driver-install-fix.patch?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/package/redhat/alsa/alsa-lib-0.9.0.spec?rev=1.1&content-type=text/vnd.viewcvs-markup ====Begin Diffs==== --- NEW FILE: README --- package order : alsa-drivers --- NEW FILE: alsa-driver-0.9.0.spec --- Name: alsa-driver Version: 0.9.0 Release: gst.0.2.1 Summary: Advanced Linux Sound Architecture Driver Group: System/Libraries License: LGPL URL: http://www.alsa-project.org/ Vendor: GStreamer Backpackers Team <pa...@gs...> Source: ftp://ftp.alsa-project.org/pub/driver/%{name}-%{version}rc2.tar.bz2 Patch: alsa-driver-install-fix.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: kernel >= 2.4 Requires: initscripts # for /boot/kernel.h and /lib/modules/(version)/kernel BuildRequires: kernel >= 2.4 BuildRequires: kernel-source >= 2.4 BuildRequires: initscripts %description The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. ALSA has the following significant features: 1. Efficient support for all types of audio interfaces, from consumer soundcards to professional multichannel audio interfaces. 2. Fully modularized sound drivers. 3. SMP and thread-safe design. 4. User space library (alsa-lib) to simplify application programming and provide higher level functionality. 5. Support for the older OSS API, providing binary compatibility for most OSS programs. This package provides the kernel driver for ALSA. %prep %setup -n %{name}-%{version}rc2 %patch -p1 %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr \ --with-kernel=/usr/src/linux-2.4 --with-oss=yes make %install [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT ##mkdir -p %{buildroot}%{_includedir}/sound #mkdir -p %{buildroot}%{_sysconfdir}/rc.d/init.d #mkdir -p %{buildroot}%{_sbindir} %makeinstall mkdir -p $RPM_BUILD_ROOT%{_includedir}/sound mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d mkdir -p $RPM_BUILD_ROOT%{_sbindir}/rc.d/init.d make DESTDIR=$RPM_BUILD_ROOT install %clean [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sysconfdir}/rc.d/init.d/* %{_includedir}/* /lib/modules/*/kernel/* %changelog * Sat Jul 13 2002 Thomas Vander Stichele <th...@ap...> - adapted from SuSe specs for GStreamer --- NEW FILE: alsa-driver-install-fix.patch --- diff -uNr alsa-driver-0.9.0rc1.orig/Makefile alsa-driver-0.9.0rc1/Makefile --- alsa-driver-0.9.0rc1.orig/Makefile Mon Apr 22 12:13:03 2002 +++ alsa-driver-0.9.0rc1/Makefile Wed Jun 5 22:05:39 2002 @@ -116,9 +116,9 @@ ln -sf $(MAINSRCDIR)/include/sound $(DESTDIR)$(prefix)/include/sound; \ else \ rm -rf $(DESTDIR)$(prefix)/include/sound; \ - install -d -m 755 -g root -o root $(DESTDIR)$(prefix)/include/sound; \ + install -d -m 755 $(DESTDIR)$(prefix)/include/sound; \ for f in include/sound/*.h; do \ - install -m 644 -g root -o root $$f $(DESTDIR)$(prefix)/include/sound; \ + install -m 644 $$f $(DESTDIR)$(prefix)/include/sound; \ done \ fi @@ -139,11 +139,11 @@ .PHONY: install-scripts install-scripts: if [ -d /sbin/init.d ]; then \ - install -m 755 -g root -o root utils/alsasound $(DESTDIR)/sbin/init.d/alsasound; \ + install -m 755 utils/alsasound $(DESTDIR)/sbin/init.d/alsasound; \ elif [ -d /etc/rc.d/init.d ]; then \ - install -m 755 -g root -o root utils/alsasound $(DESTDIR)/etc/rc.d/init.d/alsasound; \ + install -m 755 utils/alsasound $(DESTDIR)/etc/rc.d/init.d/alsasound; \ elif [ -d /etc/init.d ]; then \ - install -m 755 -g root -o root utils/alsasound $(DESTDIR)/etc/init.d/alsasound; \ + install -m 755 utils/alsasound $(DESTDIR)/etc/init.d/alsasound; \ fi .PHONY: clean --- NEW FILE: alsa-lib-0.9.0.spec --- Name: alsa-lib Version: 0.9.0 Release: gst.0.2.1 Summary: Advanced Linux Sound Architecture Libraries Group: System/Libraries License: LGPL URL: http://www.alsa-project.org/ Vendor: GStreamer Backpackers Team <pa...@gs...> Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}rc2.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root #Requires: alsa-drivers BuildRequires: alsa-driver # to get the .m4 installed, we could also create the aclocal dir BuildRequires: automake %description The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. ALSA has the following significant features: 1. Efficient support for all types of audio interfaces, from consumer soundcards to professional multichannel audio interfaces. 2. Fully modularized sound drivers. 3. SMP and thread-safe design. 4. User space library (alsa-lib) to simplify application programming and provide higher level functionality. 5. Support for the older OSS API, providing binary compatibility for most OSS programs. %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. %prep %setup -n %{name}-%{version}rc2 %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=/usr --with-debug=no 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 %files -n alsa-lib-devel %defattr(-,root,root) %{_includedir}/alsa %{_includedir}/sys/* %{_libdir}/*.la %{_libdir}/*.so %{_datadir}/aclocal/* %changelog * Fri Jul 12 2002 Thomas Vander Stichele <th...@ap...> - adapted from SuSe SPEC files for GStreamer - updated to rc2 |