Group :: Sound
RPM: olpcsound
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
# NOTE: Do not edit, file was generated by jhconvert
Name: olpcsound
Version: 5.09.0
Release: alt0.M41.1
Summary: Csound - sound synthesis language and library, OLPC subset
License: LGPLv2+
Group: Sound
Url: http://csound.sourceforge.net/
Packager: Sugar Development Team <sugar at packages.altlinux.org>
Source: http://downloads.sourceforge.net/csound/Csound5.09.0.tar.gz
Patch: olpcsound-5.09.0-gentoo-proaudio-csound-SConsruct.patch
Patch1: olpcsound-5.09.0-sugar-csound-64bit.patch
Requires: lib%name = %version-%release
Conflicts: csound
BuildPreReq: liblo-devel
BuildPreReq: swig
BuildPreReq: libpng-devel
BuildPreReq: libsndfile-devel
BuildPreReq: libvorbis-devel
BuildPreReq: libalsa-devel
BuildPreReq: python-devel
BuildPreReq: gettext
BuildPreReq: scons
BuildPreReq: libogg-devel
BuildPreReq: gcc-c++
%description
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n lib%name
Summary: Libraries for %name
Group: System/Libraries
Conflicts: libcsound
%description -n lib%name
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libcsound-devel
%description -n lib%name-devel
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n python-module-%name
Summary: Python bindings for %name
Group: Development/Python
Requires: %name = %version-%release
Requires: python
%description -n python-module-%name
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%prep
%setup -v -n Csound5.09.0
%patch -p0
%patch1 -p1
%ifarch %ix86
%global x86_64_flags Word64=0 Lib64=0
%else
%global x86_64_flags Word64=1 Lib64=1
%endif
%build
scons \
buildOLPC=1 \
useJack=0 \
gcc3opt=0 \
gcc4opt=0 \
customCCFLAGS="%{optflags}" \
customCXXFLAGS="%{optflags}" \
%x86_64_flags
%install
python \
install-olpc.py \
--install-python \
--install-headers \
--instdir=%buildroot \
--libdir=%_libdir
%files
%_bindir/*
%_datadir/doc/csound/*
%_datadir/locale/*/*/*
%files -n lib%name
%_libdir/*.so.*
%_libdir/csound/plugins/*
%files -n lib%name-devel
%_includedir/csound/*
%_libdir/libcsound.so
%_libdir/libcsnd.so
%files -n python-module-%name
%python_sitelibdir/*
%post
%post_ldconfig
%postun
%postun_ldconfig
%changelog
…
Full changelog you can see here
Name: olpcsound
Version: 5.09.0
Release: alt0.M41.1
Summary: Csound - sound synthesis language and library, OLPC subset
License: LGPLv2+
Group: Sound
Url: http://csound.sourceforge.net/
Packager: Sugar Development Team <sugar at packages.altlinux.org>
Source: http://downloads.sourceforge.net/csound/Csound5.09.0.tar.gz
Patch: olpcsound-5.09.0-gentoo-proaudio-csound-SConsruct.patch
Patch1: olpcsound-5.09.0-sugar-csound-64bit.patch
Requires: lib%name = %version-%release
Conflicts: csound
BuildPreReq: liblo-devel
BuildPreReq: swig
BuildPreReq: libpng-devel
BuildPreReq: libsndfile-devel
BuildPreReq: libvorbis-devel
BuildPreReq: libalsa-devel
BuildPreReq: python-devel
BuildPreReq: gettext
BuildPreReq: scons
BuildPreReq: libogg-devel
BuildPreReq: gcc-c++
%description
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n lib%name
Summary: Libraries for %name
Group: System/Libraries
Conflicts: libcsound
%description -n lib%name
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n lib%name-devel
Summary: Development files for %name
Group: Development/C
Requires: lib%name = %version-%release
Conflicts: libcsound-devel
%description -n lib%name-devel
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%package -n python-module-%name
Summary: Python bindings for %name
Group: Development/Python
Requires: %name = %version-%release
Requires: python
%description -n python-module-%name
Olpcsound is a subset of the Csound sound and music synthesis system,
tailored specifically for XO platform.
%prep
%setup -v -n Csound5.09.0
%patch -p0
%patch1 -p1
%ifarch %ix86
%global x86_64_flags Word64=0 Lib64=0
%else
%global x86_64_flags Word64=1 Lib64=1
%endif
%build
scons \
buildOLPC=1 \
useJack=0 \
gcc3opt=0 \
gcc4opt=0 \
customCCFLAGS="%{optflags}" \
customCXXFLAGS="%{optflags}" \
%x86_64_flags
%install
python \
install-olpc.py \
--install-python \
--install-headers \
--instdir=%buildroot \
--libdir=%_libdir
%files
%_bindir/*
%_datadir/doc/csound/*
%_datadir/locale/*/*/*
%files -n lib%name
%_libdir/*.so.*
%_libdir/csound/plugins/*
%files -n lib%name-devel
%_includedir/csound/*
%_libdir/libcsound.so
%_libdir/libcsnd.so
%files -n python-module-%name
%python_sitelibdir/*
%post
%post_ldconfig
%postun
%postun_ldconfig
%changelog
…
Full changelog you can see here