Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE
arts
arts.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File arts.spec of Package arts
# # spec file for package arts # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: arts BuildRequires: alsa-devel BuildRequires: audiofile-devel BuildRequires: automake BuildRequires: glib2-devel BuildRequires: jack-devel BuildRequires: libdrm-devel BuildRequires: libjpeg-devel BuildRequires: libvorbis-devel BuildRequires: qt3-devel BuildRequires: readline-devel BuildRequires: update-desktop-files Obsoletes: kdelibs3-artsd Provides: kdelibs3-artsd # bug437293 %ifarch ppc64 Obsoletes: arts-64bit %endif # Summary: Modular Software Synthesizer License: GPL-2.0+ Group: Productivity/Multimedia/Sound/Players PreReq: permissions Version: 1.5.10 Release: 0 Source0: %{name}-%{version}.tar.bz2 Source1: artswrapper.7.gz Source2: baselibs.conf Patch2: no-informational-messages.diff Patch4: resmgr-oss.diff Patch5: arts-vorbis-fix.dif Patch7: fortify_source.patch Patch8: arts-start-on-demand.diff Patch9: avoid_la_files.diff Patch10: arts-allautomakes.diff Patch11: arts-glibc27.diff Patch12: arts-acinclude.patch Patch13: arts-aarch64.diff Patch14: arts-automake_add_missing.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description A modular software synthesizer that generates realtime audio streams, includes midi support, is easily extendable, and uses CORBA for separation of GUI and synthesis. %package devel # usefiles /opt/kde3/bin/artsc-config /opt/kde3/bin/mcopidl Summary: Include Files and Libraries mandatory for Development. Group: Development/Libraries/Other Provides: kdelibs3:/opt/kde3/include/artsc/artsc.h Requires: alsa-devel Requires: arts = %version Requires: audiofile-devel Requires: glib2-devel Requires: jack-devel Requires: libogg-devel Requires: libstdc++-devel Requires: libvorbis-devel Requires: qt3-devel %description devel A modular software synthesizer that generates realtime audio streams, supports MIDI, is easily extendable, and uses CORBA for separation of the GUI and synthesis. %package gmcop # usesubdirs gmcop Summary: A Modular Software Synthesizer Group: Productivity/Multimedia/Sound/Players %description gmcop A modular software synthesizer that generates real-time audio streams, supports midi, is easily extendable, and uses CORBA for separation of GUI and synthesis. %prep %setup -q %patch2 %if %suse_version < 1010 %patch4 %endif %patch5 %patch7 %patch8 %patch9 %patch10 -p1 %patch11 %patch12 -p1 %patch13 -p1 %patch14 %build # no unsermake because of build dependencies hell sed -i 's|1.5|xxx|g' admin/cvs.sh make -f admin/Makefile.common cvs FLAGS="--with-alsa --disable-rpath" %ifarch s390 alpha FLAGS="--without-alsa " %endif %if %suse_version < 1030 export PKG_CONFIG_PATH=/opt/gnome/%_lib/pkgconfig/ %endif CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DNDEBUG" CFLAGS="$CXXFLAGS" ./configure \ %ifnarch armv4l --enable-final \ %endif $FLAGS \ --enable-threading \ --prefix=/opt/kde3 \ --with-qt-dir=/usr/lib/qt3 \ --libdir=/opt/kde3/%_lib \ --with-qt-libraries=/usr/lib/qt3/%_lib --disable-debug %ifarch %ix86 # I trust in arts runtime checking ... echo "#define HAVE_X86_SSE 1" >> config.h %endif #make -C flow/gsl gslconfig.h make %{?_smp_mflags} %install make DESTDIR=$RPM_BUILD_ROOT install %ifarch x86_64 s390x mkdir -p $RPM_BUILD_ROOT/opt/kde3/lib/ ln -sf ../lib64/mcop $RPM_BUILD_ROOT/opt/kde3/lib/mcop %endif mkdir -p -m 755 $RPM_BUILD_ROOT/%_mandir/man7 cp %SOURCE1 $RPM_BUILD_ROOT/%_mandir/man7/ # Create /etc/ld.so.conf.d/arts.conf - duplicating kdelibs3.conf, which is not here mkdir -p $RPM_BUILD_ROOT/etc/ld.so.conf.d cat > $RPM_BUILD_ROOT/etc/ld.so.conf.d/arts.conf <<EOF /opt/kde3/%_lib %if "%{_lib}" != "lib" /opt/kde3/lib %endif EOF %post /sbin/ldconfig %set_permissions /opt/kde3/bin/artswrapper %postun -p /sbin/ldconfig %post gmcop -p /sbin/ldconfig %postun gmcop /sbin/ldconfig %verifyscript %verify_permissions -e /opt/kde3/bin/artswrapper %files %defattr(-,root,root,755) %doc COPYING.LIB COPYING %dir /opt/kde3 %dir /opt/kde3/bin /opt/kde3/bin/artscat /opt/kde3/bin/arts[dpsr]* %verify(not mode) /opt/kde3/bin/artswrapper %dir /opt/kde3/%_lib /opt/kde3/%_lib/libarts*.so.* /opt/kde3/%_lib/libkmedia2*.so.* /opt/kde3/%_lib/libmcop.so.* /opt/kde3/%_lib/libmcop_mt.so.* /opt/kde3/%_lib/libqtmcop.so.* /opt/kde3/%_lib/libsoundserver_idl.so.* /opt/kde3/%_lib/libx11globalcomm.so.* # these need to be in the base package for lt_dlopen() /opt/kde3/%_lib/*.so /opt/kde3/%_lib/mcop %ifarch x86_64 s390x /opt/kde3/lib %endif %{_mandir}/man7/artswrapper.7.gz %config /etc/ld.so.conf.d/arts.conf %files gmcop %defattr(-,root,root) /opt/kde3/%_lib/libgmcop.so.* %files devel %defattr(-,root,root) /opt/kde3/bin/artsc-config /opt/kde3/bin/mcopidl %dir /opt/kde3/include /opt/kde3/include/* /opt/kde3/%_lib/*.la %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor