packages: alsa-tools/alsa-tools.spec - split appropriate NEWS/README/TODO f...
qboosh
qboosh at pld-linux.org
Fri Feb 4 19:28:02 CET 2011
Author: qboosh Date: Fri Feb 4 18:28:02 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- split appropriate NEWS/README/TODO files over -gui-* packages; take care about README.profiles too
---- Files affected:
packages/alsa-tools:
alsa-tools.spec (1.43 -> 1.44)
---- Diffs:
================================================================
Index: packages/alsa-tools/alsa-tools.spec
diff -u packages/alsa-tools/alsa-tools.spec:1.43 packages/alsa-tools/alsa-tools.spec:1.44
--- packages/alsa-tools/alsa-tools.spec:1.43 Fri Feb 4 18:45:36 2011
+++ packages/alsa-tools/alsa-tools.spec Fri Feb 4 19:27:57 2011
@@ -1,11 +1,5 @@
# $Revision$, $Date$
#
-# TODO: make description true (i.e. separate GUIs)
-# echomixer,envy24control,rmedigicontrol use GTK+ 2
-# hdspconf,hdspmixer use FLTK
-# hwmixvolume uses pyalsa>=1.0.22,pygtk 2
-# qlo10k1 uses Qt 3
-#
# Conditional build:
%bcond_with hotplug # build with hotplug support for Tascam USB devices
#
@@ -219,13 +213,15 @@
sed -i -e 's,/usr/bin/env python,/usr/bin/python,' hwmixvolume/hwmixvolume
+install -d doc-main doc-sep
+
%build
odir=$(pwd)
for dir in %{progs}; do
cd $dir
- [ -s README ] && cp -f README "README.$(basename $dir)"
- [ -s NEWS ] && cp -f NEWS "NEWS.$(basename $dir)"
- [ -s TODO ] && cp -f TODO "TODO.$(basename $dir)"
+ [ -s README ] && cp -f README $odir/doc-main/"README.$(basename $dir)"
+ [ -s NEWS ] && cp -f NEWS $odir/doc-main/"NEWS.$(basename $dir)"
+ [ -s TODO ] && cp -f TODO $odir/doc-main/"TODO.$(basename $dir)"
%{__libtoolize}
%{__aclocal}
%{__autoconf}
@@ -236,12 +232,15 @@
%{__make}
cd $odir
done
+mv doc-main/NEWS.{hdspmixer,rmedigicontrol} doc-sep
+mv doc-main/README.{echomixer,envy24control,hdspconf,hdspmixer,hwmixvolume,rmedigicontrol} doc-sep
+mv doc-main/TODO.hdspmixer doc-sep
cd qlo10k1
sed -i 's:include:include/qt:g' acinclude.m4
-cp -f README README.qlo10k1
-cp -f NEWS NEWS.qlo10k1
-cp -f TODO TODO.qlo10k1
+cp -f README $odir/doc-sep/README.qlo10k1
+cp -f NEWS $odir/doc-sep/NEWS.qlo10k1
+cp -f TODO $odir/doc-sep/TODO.qlo10k1
%{__libtoolize}
%{__aclocal} -I ../ld10k1
%{__autoconf}
@@ -261,13 +260,12 @@
sed -i -e 's,#!/bin/sh,#!/bin/bash,' ld10k1/setup/init_live
-odir=$(pwd)
for dir in %{progs} qlo10k1; do
%{__make} -C $dir install \
DESTDIR=$RPM_BUILD_ROOT
done
-install $odir/as10k1/examples/*.emu10k1 $RPM_BUILD_ROOT%{_datadir}/ld10k1/effects
+install as10k1/examples/*.emu10k1 $RPM_BUILD_ROOT%{_datadir}/ld10k1/effects
%if %{without hotplug}
%{__rm} -r $RPM_BUILD_ROOT%{_sysconfdir}/hotplug
@@ -281,7 +279,7 @@
%files
%defattr(644,root,root,755)
-%doc */README.* */*/README.* */NEWS.* */TODO.*
+%doc doc-main/{README,NEWS,TODO}.*
%attr(755,root,root) %{_bindir}/as10k1
%attr(755,root,root) %{_bindir}/cspctl
%attr(755,root,root) %{_bindir}/hdsploader
@@ -306,19 +304,23 @@
%files gui-echoaudio
%defattr(644,root,root,755)
+%doc doc-sep/README.echomixer
%attr(755,root,root) %{_bindir}/echomixer
%files gui-emu10k1
%defattr(644,root,root,755)
+%doc doc-sep/{README,NEWS,TODO}.qlo10k1
%attr(755,root,root) %{_bindir}/qlo10k1
%files gui-envy24
%defattr(644,root,root,755)
+%doc doc-sep/README.envy24control envy24control/README.profiles
%attr(755,root,root) %{_bindir}/envy24control
%{_mandir}/man1/envy24control.1*
%files gui-hdsp
%defattr(644,root,root,755)
+%doc doc-sep/README.hdspconf doc-sep/{NEWS,README,TODO}.hdspmixer
%attr(755,root,root) %{_bindir}/hdspconf
%attr(755,root,root) %{_bindir}/hdspmixer
%{_desktopdir}/hdspconf.desktop
@@ -328,10 +330,12 @@
%files gui-hwmix
%defattr(644,root,root,755)
+%doc doc-sep/README.hwmixvolume
%attr(755,root,root) %{_bindir}/hwmixvolume
%files gui-rmedigi
%defattr(644,root,root,755)
+%doc doc-sep/{NEWS,README}.rmedigicontrol
%attr(755,root,root) %{_bindir}/rmedigicontrol
%if %{with hotplug}
@@ -364,6 +368,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.44 2011/02/04 18:27:57 qboosh
+- split appropriate NEWS/README/TODO files over -gui-* packages; take care about README.profiles too
+
Revision 1.43 2011/02/04 17:45:36 qboosh
- separated GUIs (basing on hardware)
- don't package empty README/NEWS/TODO files
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/alsa-tools/alsa-tools.spec?r1=1.43&r2=1.44&f=u
More information about the pld-cvs-commit
mailing list