update to 6.16.2 [release 6.16.2-1mamba;Sun Jul 25 2021]
This commit is contained in:
parent
33b43004cb
commit
10f6bc729c
153
csound.spec
153
csound.spec
@ -1,6 +1,6 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-2)
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
Name: csound
|
Name: csound
|
||||||
Version: 5.19.01
|
Version: 6.16.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: A sound and music synthesis system providing facilities for composition and performance over a wide range of platforms
|
Summary: A sound and music synthesis system providing facilities for composition and performance over a wide range of platforms
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -8,40 +8,35 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.csounds.com/
|
URL: http://www.csounds.com/
|
||||||
Source: http://downloads.sourceforge.net/project/csound/csound5/csound%{majver}/Csound%{version}.tar.gz
|
Source: https://github.com/csound/csound.git/%{version}/csound-%{version}.tar.bz2
|
||||||
Patch0: %{name}-5.10.1-fix-locale-install.patch
|
Patch0: %{name}-5.10.1-fix-locale-install.patch
|
||||||
Patch1: csound-5.19.01-missing-cmake-file.patch
|
Patch1: csound-5.19.01-missing-cmake-file.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: fluidsynth-devel
|
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libalsa-devel
|
|
||||||
BuildRequires: libfltk-devel
|
|
||||||
BuildRequires: libgcc
|
|
||||||
BuildRequires: libGL-devel
|
|
||||||
BuildRequires: libgomp-devel
|
|
||||||
BuildRequires: libICE-devel
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libalsa-devel
|
||||||
|
BuildRequires: libcurl-devel
|
||||||
|
BuildRequires: libfltk-devel
|
||||||
|
BuildRequires: libfluidsynth-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libhdf5-devel
|
||||||
BuildRequires: libjack-devel
|
BuildRequires: libjack-devel
|
||||||
BuildRequires: liblo-devel
|
BuildRequires: liblo-devel
|
||||||
BuildRequires: liblua-devel
|
BuildRequires: liblua-devel
|
||||||
BuildRequires: libpng-devel
|
|
||||||
BuildRequires: libportaudio-devel
|
BuildRequires: libportaudio-devel
|
||||||
BuildRequires: libportmidi-devel
|
BuildRequires: libportmidi-devel
|
||||||
BuildRequires: libpulseaudio-devel
|
BuildRequires: libpulseaudio-devel
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libsamplerate-devel
|
||||||
BuildRequires: libSM-devel
|
|
||||||
BuildRequires: libsndfile-devel
|
BuildRequires: libsndfile-devel
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libtcl-devel
|
|
||||||
BuildRequires: libtk-devel
|
|
||||||
BuildRequires: libX11-devel
|
|
||||||
BuildRequires: libXext-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: java-gcj-compat
|
BuildRequires: java-gcj-compat
|
||||||
BuildRequires: liblua51-devel
|
BuildRequires: liblua51-devel
|
||||||
Requires: libcsound = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: libcsound = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
||||||
@ -54,31 +49,48 @@ Group: System/Libraries
|
|||||||
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
||||||
This package contains static libraries and header files needed for development.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
|
|
||||||
%package -n libcsound-devel
|
%package -n libcsound-devel
|
||||||
Summary: Static libraries and headers for %{name}
|
Summary: Static libraries and headers for %{name}
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: libcsound = %{?epoch:%epoch:}%{version}-%{release}
|
Requires: libcsound = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Provides: csound-devel
|
Provides: csound-devel
|
||||||
Obsoletes: csound-devel
|
Obsoletes: csound-devel < 6.16.2
|
||||||
|
|
||||||
%description -n libcsound-devel
|
%description -n libcsound-devel
|
||||||
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
||||||
This package contains static libraries and header files needed for development.
|
This package contains static libraries and header files needed for development.
|
||||||
|
|
||||||
|
%package -n java-csound
|
||||||
|
Summary: Java CSound music synthesis library
|
||||||
|
Group: System/Libraries
|
||||||
|
|
||||||
|
%description -n java-csound
|
||||||
|
Csound is a sound and music synthesis system, providing facilities for composition and performance over a wide range of platforms. It is not restricted to any style of music, having been used for many years in at least classical, pop, techno, ambient...
|
||||||
|
This package contains the Java library.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n Csound%{version}
|
%setup -q
|
||||||
|
#-D -T
|
||||||
|
#:<< _EOF
|
||||||
#%patch0 -p1
|
#%patch0 -p1
|
||||||
%patch1 -p1
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
#:<< _EOF
|
||||||
-DLUA_INCLUDE_DIR=%{_includedir}/lua5.1 \
|
%cmake -d build \
|
||||||
-DLUA_LIBRARY=%{_libdir}/liblua.so.5.1 \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DTCL_VERSION=8.5 \
|
-DPYTHON=%{__python3} \
|
||||||
-DPYTHON=%{__python} \
|
%ifarch aarch64 x86_64
|
||||||
-DPYTHON_LIBRARY=%{_libdir}/libpython%{python_version}.so \
|
-DUSE_LIB64=ON
|
||||||
-DPYTHON_INCLUDE_DIR=%{_includedir}/python%{python_version}
|
%endif
|
||||||
|
|
||||||
|
# -DLUA_INCLUDE_DIR=%{_includedir}/lua5.3 \
|
||||||
|
# -DLUA_LIBRARY=%{_libdir}/liblua.so.5.3 \
|
||||||
|
|
||||||
|
# -DPYTHON_LIBRARY=%{_libdir}/libpython%{python_version}.so \
|
||||||
|
# -DPYTHON_INCLUDE_DIR=%{_includedir}/python%{python_version}
|
||||||
|
|
||||||
#scons dynamicCsoundLibrary=1 \
|
#scons dynamicCsoundLibrary=1 \
|
||||||
# buildRelease=0 \
|
# buildRelease=0 \
|
||||||
@ -114,85 +126,58 @@ This package contains static libraries and header files needed for development.
|
|||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
|
|
||||||
install -d %{buildroot}%{python_sitearch}
|
|
||||||
mv %{buildroot}%{_libdir}/*.py %{buildroot}%{python_sitearch}/
|
|
||||||
install -d %{buildroot}%{_datadir}/java/
|
install -d %{buildroot}%{_datadir}/java/
|
||||||
mv %{buildroot}%{_libdir}/*.jar %{buildroot}%{_datadir}/java/
|
mv %{buildroot}%{_prefix}/lib/*.jar %{buildroot}%{_datadir}/java/
|
||||||
install -d %{buildroot}%{_libdir}/csound/lua
|
install -d %{buildroot}%{_libdir}/csound/lua
|
||||||
mv %{buildroot}%{_libdir}/lua* %{buildroot}%{_libdir}/csound/lua/
|
mv %{buildroot}%{_prefix}/lib/lua* %{buildroot}%{_libdir}/csound/lua/
|
||||||
|
mv %{buildroot}%{_prefix}/lib/lib_jcsound* %{buildroot}%{_libdir}/csound/
|
||||||
|
|
||||||
%find_lang %{name}5
|
%find_lang %{name} --all-name
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files -f %{name}5.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/atsa
|
%{_bindir}/*
|
||||||
%{_bindir}/cs
|
%dir %{_datadir}/samples
|
||||||
%{_bindir}/csb64enc
|
%{_datadir}/samples/*
|
||||||
%{_bindir}/csbeats
|
|
||||||
%{_bindir}/csound
|
|
||||||
%{_bindir}/cstclsh
|
|
||||||
%{_bindir}/cswish
|
|
||||||
%{_bindir}/cvanal
|
|
||||||
%{_bindir}/dnoise
|
|
||||||
%{_bindir}/envext
|
|
||||||
%{_bindir}/extract
|
|
||||||
%{_bindir}/extractor
|
|
||||||
%{_bindir}/het_export
|
|
||||||
%{_bindir}/het_import
|
|
||||||
%{_bindir}/hetro
|
|
||||||
%{_bindir}/lpanal
|
|
||||||
%{_bindir}/lpc_export
|
|
||||||
%{_bindir}/lpc_import
|
|
||||||
%{_bindir}/makecsd
|
|
||||||
%{_bindir}/mixer
|
|
||||||
%{_bindir}/pv_export
|
|
||||||
%{_bindir}/pv_import
|
|
||||||
%{_bindir}/pvanal
|
|
||||||
%{_bindir}/pvlook
|
|
||||||
%{_bindir}/scale
|
|
||||||
%{_bindir}/scot
|
|
||||||
%{_bindir}/scsort
|
|
||||||
%{_bindir}/sdif2ad
|
|
||||||
%{_bindir}/sndinfo
|
|
||||||
%{_bindir}/srconv
|
|
||||||
|
|
||||||
%files -n libcsound
|
%files -n libcsound
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/libCsoundAC.so.*
|
%{_libdir}/libcsound*.so.*
|
||||||
%{_libdir}/libcsound64.so.*
|
%{_libdir}/libcsnd*.so.*
|
||||||
%{_libdir}/libcsnd.so.*
|
|
||||||
%dir %{_libdir}/csound
|
%dir %{_libdir}/csound
|
||||||
%dir %{_libdir}/csound/plugins-*
|
%dir %{_libdir}/csound/plugins*
|
||||||
%{_libdir}/csound/plugins-*/*.so
|
%{_libdir}/csound/plugins*/*.so
|
||||||
%{python_sitearch}/CsoundAC.py
|
%{_libdir}/csound/lua/luaCsnd6.so
|
||||||
%{python_sitearch}/csnd.py
|
%{_libdir}/csound/lib_jcsound6.so
|
||||||
%{_libdir}/_CsoundAC.so
|
%{python3_sitearch}/ctcsound.py
|
||||||
%{_libdir}/_csnd.so
|
|
||||||
%{_datadir}/java/csnd.jar
|
|
||||||
%{_libdir}/lib_jcsound.so
|
|
||||||
%{_libdir}/csound/lua/luaCsnd.so
|
|
||||||
%{_libdir}/csound/lua/luaCsoundAC.so
|
|
||||||
%{_libdir}/tclcsound.so
|
|
||||||
%doc AUTHORS COPYING
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
%files -n libcsound-devel
|
%files -n libcsound-devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_includedir}/csound
|
%dir %{_includedir}/csound
|
||||||
%{_includedir}/csound/*
|
%{_includedir}/csound/*
|
||||||
%{_libdir}/csoundapi~.pd_linux
|
#%{_libdir}/csoundapi~.pd_linux
|
||||||
%{_libdir}/libCsoundAC.so
|
#%{_libdir}/libCsoundAC.so
|
||||||
%{_libdir}/libcsnd.so
|
%{_libdir}/libcsnd*.so
|
||||||
%{_libdir}/libcsound64.so
|
%{_libdir}/libcsound*.so
|
||||||
|
%{_datadir}/cmake/Csound/FindCsound.cmake
|
||||||
|
|
||||||
#%{_libdir}/libcsound.so
|
%files -n java-csound
|
||||||
#%doc ChangeLog readme-csound5.txt
|
%defattr(-,root,root)
|
||||||
|
%{_datadir}/java/csnd6.jar
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Jul 25 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 6.16.2-1mamba
|
||||||
|
- update to 6.16.2
|
||||||
|
|
||||||
|
* Sat Jul 28 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 6.11.0-1mamba
|
||||||
|
- update to 6.11.0
|
||||||
|
|
||||||
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.19.01-1mamba
|
* Sat Jun 01 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 5.19.01-1mamba
|
||||||
- update to 5.19.01
|
- update to 5.19.01
|
||||||
- python 2.7 rebuild
|
- python 2.7 rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user