[packages/zynaddsubfx-fusion: 28/33] - up to 2.4.1 - restored docs - corrected banks directory (name in lowercase in datadir) - corrected

jajcus jajcus at pld-linux.org
Thu Aug 9 12:51:59 CEST 2018


commit c89dac13f5afbeb15a0c1bb4b3d09f12c8f35f56
Author: Łukasz Krotowski <lkrotowski at pld-linux.org>
Date:   Wed Dec 7 17:06:31 2011 +0000

    - up to 2.4.1
    - restored docs
    - corrected banks directory (name in lowercase in datadir)
    - corrected br
    
    Changed files:
        ZynAddSubFX.spec -> 1.20

 ZynAddSubFX.spec | 41 ++++++++++++++++-------------------------
 1 file changed, 16 insertions(+), 25 deletions(-)
---
diff --git a/ZynAddSubFX.spec b/ZynAddSubFX.spec
index ef50233..32a36bb 100644
--- a/ZynAddSubFX.spec
+++ b/ZynAddSubFX.spec
@@ -1,22 +1,21 @@
-%define 	doc_ver	1.4.3
+%define 	namelc zynaddsubfx
 Summary:	Realtime software synthesizer
 Summary(pl.UTF-8):	Syntezator programowy działający w czasie rzeczywistym
 Name:		ZynAddSubFX
-Version:	2.2.1
+Version:	2.4.1
 Release:	1
 License:	GPL
 Group:		X11/Applications/Sound
-Source0:	http://dl.sourceforge.net/zynaddsubfx/%{name}-%{version}.tar.bz2
-# Source0-md5:	fca8560e37d799bd20d17e22b11674d6
-#Source1:	http://dl.sourceforge.net/zynaddsubfx/%{name}-doc-%{doc_ver}.tar.gz
-Source2:	%{name}.desktop
+Source0:	http://dl.sourceforge.net/%{namelc}/%{name}-%{version}.tar.bz2
+# Source0-md5:	59eb69ce24d6f8c605f8ba43958d0526
+Source1:	%{name}.desktop
 Patch0:		%{name}-make-jN.patch
 URL:		http://zynaddsubfx.sourceforge.net/
 BuildRequires:	alsa-lib-devel
 BuildRequires:	fftw3-devel
 BuildRequires:	fltk-devel >= 1.1.3
 BuildRequires:	jack-audio-connection-kit-devel >= 0.66.3
-BuildRequires:	mxml >= 2.2
+BuildRequires:	mxml-devel >= 2.2
 BuildRequires:	pkgconfig
 BuildRequires:	rpmbuild(macros) >= 1.213
 BuildRequires:	sed >= 4.0
@@ -44,27 +43,19 @@ sed -i -e "s|-O6|\$(OPTFLAGS)|" src/Makefile
 	LINUX_AUDIOOUT="OSS_AND_JACK" \
 	CXX="%{__cxx}"
 
+%{__make} -C doc
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} \
-	$RPM_BUILD_ROOT%{_desktopdir} \
-	$RPM_BUILD_ROOT%{_datadir}/%{name}/images
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{namelc}} \
+	$RPM_BUILD_ROOT%{_desktopdir}
 
 install -c src/zynaddsubfx $RPM_BUILD_ROOT%{_bindir}
-install %{SOURCE2} $RPM_BUILD_ROOT%{_desktopdir}
-mv banks/* examples/Banks
-cp -r examples $RPM_BUILD_ROOT%{_datadir}/%{name}/
-
-# NOTE:
-# Outdated, new version not ready yet
-#
-#cd %{name}-doc-%{doc_ver}
-#bzip2 -dc demo_src.tar.bz2 | tar xf - -C ../examples
-#cp images/* $RPM_BUILD_ROOT%{_datadir}/%{name}/images
-#cp *.ogg $RPM_BUILD_ROOT%{_datadir}/%{name}
-#cp *.html $RPM_BUILD_ROOT%{_datadir}/%{name}
-#cd ..
-#cp examples/demo_src/*.*zyn $RPM_BUILD_ROOT%{_datadir}/%{name}/examples/demos
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install -c doc/%{namelc}.html $RPM_BUILD_ROOT%{_datadir}/%{namelc}
+cp -r examples $RPM_BUILD_ROOT%{_datadir}/%{namelc}/
+cp -r banks $RPM_BUILD_ROOT%{_datadir}/%{namelc}/
+cp -r doc/images $RPM_BUILD_ROOT%{_datadir}/%{namelc}/
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -73,5 +64,5 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc FAQ.txt HISTORY.txt README.txt
 %attr(755,root,root) %{_bindir}/*
-%{_datadir}/%{name}
+%{_datadir}/%{namelc}
 %{_desktopdir}/%{name}.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/zynaddsubfx-fusion.git/commitdiff/0377ba2d112850a354e46146577726515f2f940c



More information about the pld-cvs-commit mailing list