]> git.pld-linux.org Git - packages/alsa-tools.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 30 May 2004 12:36:34 +0000 (12:36 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    alsa-tools.spec -> 1.1

alsa-tools.spec [new file with mode: 0644]

diff --git a/alsa-tools.spec b/alsa-tools.spec
new file mode 100644 (file)
index 0000000..f710fb0
--- /dev/null
@@ -0,0 +1,75 @@
+Summary:       Advanced Linux Sound Architecture (ALSA) - Tools
+Summary(pl):   Advanced Linux Sound Architecture (ALSA) - Narzêdzia
+Name:          alsa-tools
+Version:       1.0.5
+Release:       1
+License:       GPL
+Group:         Applications/Sound
+Source0:       ftp://ftp.alsa-project.org/pub/tools/%{name}-%{version}.tar.bz2
+# Source0-md5: c620d27c72733ad6733b44fee53f4b27
+URL:           http://www.alsa-project.org/
+BuildRequires: alsa-lib-devel >= 1.0.3
+BuildRequires: autoconf
+BuildRequires: automake
+BuildRequires: flex
+BuildRequires: libstdc++-devel
+BuildRequires: libtool
+BuildRequires: ncurses-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define        progs   ac3dec envy24control hdsploader mixartloader sscape_ctl usx2yloader as10k1 hdspconf rmedigicontrol seq/sbiload us428control vxloader
+# hdspmixer sb16_csp - FIXME: these do not build
+
+%description
+This packages contains command line utilities for the ALSA project.
+
+%description -l pl
+Pakiet zawiera dzia³aj±ce z linii poleceñ, narzêdzia dla projektu ALSA
+(Advanced Linux Sound Architecture).
+
+%prep
+%setup -q
+
+%build
+for dir in hdsploader hdspconf/src hdspmixer/src sb16_csp sscape_ctl; do
+       ln -s /usr/include $dir/alsa
+done
+
+odir=$(pwd)
+for dir in %{progs}; do
+       cd $dir
+       [ -f README ] && cp -f README "README.$(basename $dir)"
+       [ -f NEWS ] && cp -f NEWS "NEWS.$(basename $dir)"
+       [ -f TODO ] && cp -f TODO "TODO.$(basename $dir)"
+       %{__aclocal}
+       %{__autoconf}
+       %{__autoheader}
+       %{__automake}
+       CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
+       CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
+       %configure
+       %{__make}
+       cd $odir
+done
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+odir=$(pwd)
+for dir in %{progs}; do
+       cd $dir
+       %{__make} install \
+               DESTDIR=$RPM_BUILD_ROOT
+       cd $odir
+done
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc */README.* */*/README.*
+%doc */NEWS.* */TODO.*
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man?/*
+%{_sysconfdir}/hotplug/usb/*
This page took 0.080641 seconds and 4 git commands to generate.