Accepting request 707858 from home:plater
- Remove undistributable scansyn files from source. - Relicenced to GPL-2.0-or-later AND BSD-2-Clause, there is one GPL-2.0 or later source file which relicenses the LGPL sources and one BSD 2 clause file OBS-URL: https://build.opensuse.org/request/show/707858 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/csound?expand=0&rev=30
This commit is contained in:
parent
834dc5def5
commit
cbb443df86
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jun 5 13:57:01 UTC 2019 - Dave Plater <davejplater@gmail.com>
|
||||||
|
|
||||||
|
- Remove undistributable scansyn files from source.
|
||||||
|
- Relicenced to GPL-2.0-or-later AND BSD-2-Clause, there is one
|
||||||
|
GPL-2.0 or later source file which relicenses the LGPL sources
|
||||||
|
and one BSD 2 clause file
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Apr 6 11:05:19 UTC 2019 - plater <davejplater@gmail.com>
|
Sat Apr 6 11:05:19 UTC 2019 - plater <davejplater@gmail.com>
|
||||||
|
|
||||||
|
17
csound.spec
17
csound.spec
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -33,7 +33,7 @@ Name: csound
|
|||||||
Version: 6.12.2
|
Version: 6.12.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Computer Sound Synthesis and Composition Program
|
Summary: Computer Sound Synthesis and Composition Program
|
||||||
License: GFDL-1.2-only AND LGPL-2.1-or-later AND MIT
|
License: GPL-2.0-or-later AND BSD-2-Clause
|
||||||
Group: Productivity/Multimedia/Sound/Utilities
|
Group: Productivity/Multimedia/Sound/Utilities
|
||||||
Url: http://www.csounds.com
|
Url: http://www.csounds.com
|
||||||
Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/%{name}/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
@ -136,6 +136,8 @@ Development files for Csound, a sound synthesis program.
|
|||||||
sed -i 's:__DATE__:"":' Engine/musmon.c include/version.h Top/main.c
|
sed -i 's:__DATE__:"":' Engine/musmon.c include/version.h Top/main.c
|
||||||
# copy readme
|
# copy readme
|
||||||
cp %{SOURCE1} .
|
cp %{SOURCE1} .
|
||||||
|
#These source files are undistributable
|
||||||
|
rm -f Opcodes/scansyn*
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# Needed to link libbuchla.so
|
# Needed to link libbuchla.so
|
||||||
@ -143,6 +145,7 @@ export CFLAGS="%{optflags} -lm"
|
|||||||
export CXXFLAGS="%{optflags} -std=c++11"
|
export CXXFLAGS="%{optflags} -std=c++11"
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
|
-DBUILD_SCANSYN_OPCODES=OFF \
|
||||||
%if %{with python}
|
%if %{with python}
|
||||||
-DPYTHON_LIBRARY="%{_libdir}/libpython$(pkg-config python3 --modversion)$(python3-config --abiflags).so" \
|
-DPYTHON_LIBRARY="%{_libdir}/libpython$(pkg-config python3 --modversion)$(python3-config --abiflags).so" \
|
||||||
-DPYTHON_INCLUDE_DIR="%{_includedir}/python$(pkg-config python3 --modversion)$(python3-config --abiflags)" \
|
-DPYTHON_INCLUDE_DIR="%{_includedir}/python$(pkg-config python3 --modversion)$(python3-config --abiflags)" \
|
||||||
@ -178,7 +181,7 @@ rm -rf %{buildroot}root
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%doc AUTHORS README.md README.SUSE Release_Notes
|
%doc AUTHORS README.md README.SUSE Release_Notes
|
||||||
%license COPYING
|
%license COPYING OOps/LICENCE.random
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
|
|
||||||
%files -n libcsnd6-%{maj}_%{min}
|
%files -n libcsnd6-%{maj}_%{min}
|
||||||
@ -204,12 +207,4 @@ rm -rf %{buildroot}root
|
|||||||
%files lang -f %{name}%{maj}.lang
|
%files lang -f %{name}%{maj}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
# TODO:
|
|
||||||
%if 1 == 0
|
|
||||||
-- Installing: /data/packages/BUILDROOT/csound-6.12.2-0.x86_64/root/.local/lib/python2.7/site-packages/_csnd6.so
|
|
||||||
-- Installing: /data/packages/BUILDROOT/csound-6.12.2-0.x86_64/root/.local/lib/python2.7/site-packages/csnd6.py
|
|
||||||
-- Installing: /data/packages/BUILDROOT/csound-6.12.2-0.x86_64/root/.local/lib/python2.7/site-packages/ctcsound.py
|
|
||||||
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user