Update to release 17.12 and removed incorporated svnheader.patch Upstream changes: *Bug Fixes Fix progress dialog lockups in KDE (bug #1546) Fix disappearing lyrics in lyrics editor (bug #1547) Fix bug #1548: Last syllable of lyrics is not copied between two linked segments. Fix bug #1550: Crash with lyric editor and linked segments Fix bug #1551: No sound from an audio file when pressing rewind then play. Fix bug #1549: Matrix Editor: Velocity ruler not updated correctly when changing velocity using the velocity tool Fix alias change not updating label on the audio instrument parameters. Fix miscellaneous cosmetic issues related to the ThornStyle upgrade. Fix time mode toolbar buttons on the Event List and other windows. Fix incorrect window titles on the preferences and document properties windows. Fix garbage property names in Event Edit window. Display velocities modified from the velocity ruler in the status bar for the notation editor. Fix bug #1552: Rosegarden fails to build with cmake-3.9.0. Fix crash when launching plugin dialog introduced by r14648. Fix external controller audio volume/pan bug Fix crash in rulers when pressing mouse buttons Export to LilyPond as a repeat sequence several consecutive linked segments is now possible (bug #1470) Fix duplicate connection in initial autoload Fix crash when exporting to LilyPond. (bug #1553 Fix lilypond options dialog too big. *New Features Add “Use track name for new segments” preference. OBS-URL: https://build.opensuse.org/request/show/567731 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=76
182 lines
6.1 KiB
RPMSpec
182 lines
6.1 KiB
RPMSpec
#
|
|
# spec file for package rosegarden
|
|
#
|
|
# Copyright (c) 2016 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: rosegarden
|
|
Version: 17.12
|
|
Release: 0
|
|
License: GPL-2.0+
|
|
Summary: Midi, Audio And Notation Editor
|
|
Url: http://www.rosegardenmusic.com/
|
|
Group: Productivity/Multimedia/Sound/Midi
|
|
Source0: https://sourceforge.net/projects/rosegarden/files/%{name}/%{version}/%{name}-%{version}.tar.bz2
|
|
Source1: %{name}.xpm
|
|
Source2: %{name}.1
|
|
# PATCH-FIX-OPENSUSE davejplater@gmail.com This patch fixes the file search paths for examples, templates and midi driver libraries.
|
|
Patch1: rosegarden-10.10-filepaths.patch
|
|
# PATCH-FIX-OPENSUSE ledest@gmail.com fix bashisms in scripts
|
|
Patch2: rosegarden-14.02-fix-bashisms.patch
|
|
BuildRequires: alsa-devel
|
|
BuildRequires: cmake >= 2.8.12
|
|
BuildRequires: dssi-devel
|
|
BuildRequires: fdupes
|
|
BuildRequires: fftw3-devel
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: ladspa-devel
|
|
BuildRequires: libjack-devel
|
|
BuildRequires: liblo-devel
|
|
BuildRequires: liblrdf-devel
|
|
BuildRequires: pkgconfig(Qt5Core)
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
BuildRequires: pkgconfig(Qt5Network)
|
|
BuildRequires: pkgconfig(Qt5PrintSupport)
|
|
BuildRequires: pkgconfig(Qt5Widgets)
|
|
BuildRequires: pkgconfig(Qt5Xml)
|
|
BuildRequires: pkgconfig(Qt5Test)
|
|
BuildRequires: cmake(Qt5LinguistTools)
|
|
BuildRequires: libsamplerate-devel
|
|
BuildRequires: libsndfile-devel
|
|
BuildRequires: lilypond
|
|
BuildRequires: lirc-devel
|
|
BuildRequires: pkg-config
|
|
#BuildRequires: pkgconfig(libxml++-2.6)
|
|
BuildRequires: shared-mime-info
|
|
BuildRequires: update-desktop-files
|
|
BuildRequires: xorg-x11-util-devel
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
|
Requires: dssi
|
|
Requires: xsynth-dssi
|
|
Requires: ladspa
|
|
Requires: ladspa-swh-plugins
|
|
Requires: lilypond
|
|
Requires: jack
|
|
Recommends: qsynth
|
|
Recommends: fluidsynth-dssi
|
|
Icon: rosegarden.xpm
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
Rosegarden is a well-rounded audio and MIDI sequencer,
|
|
score editor, and general-purpose music composition and
|
|
editing environment. Rosegarden is an easy-to-learn,
|
|
attractive application that runs on Linux, ideal for
|
|
composers, musicians, music students, and small studio or
|
|
home recording environments.
|
|
This is a complete rewrite of the old 1.7.x series of
|
|
rosegarden and has many new features and enhancements.
|
|
See the changelog for details.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
%patch2
|
|
# When we build svn we need to execute bootstrap.sh
|
|
#sh bootstrap.sh
|
|
|
|
%build
|
|
#export DEBUG_LADSPA
|
|
#export QTDIR=/usr/
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing -ggdb"
|
|
export CXXFLAGS="$CFLAGS"
|
|
# -fmessage-length=0 -O2 -fno-strict-aliasing -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
|
|
# Now uses cmake
|
|
#%%configure --enable-debug --localedir=%%{_datadir}/%%{name}/locale/
|
|
%cmake \
|
|
-DUSE_QT5:BOOL=ON \
|
|
-DCMAKE_INSTALL_LOCALEDIR:PATH=%{_datadir}/locale/
|
|
|
|
#make svnheader
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
|
|
cp -p scripts/* %{buildroot}%{_datadir}/%{name}/scripts/
|
|
cp -r data/* %{buildroot}%{_datadir}/%{name}/
|
|
|
|
pushd build
|
|
%make_install
|
|
popd
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/desktop
|
|
rm -rf %{buildroot}%{_datadir}/%{name}/mime
|
|
rm -f %{buildroot}%{_datadir}/%{name}/*.cpp
|
|
rm -f %{buildroot}%{_datadir}/%{name}/*.o
|
|
chmod 755 %{buildroot}%{_datadir}/%{name}/scripts/*
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/lircrc.rosegarden
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/README
|
|
chmod 644 %{buildroot}%{_datadir}/%{name}/scripts/color-list
|
|
#chmod 644 %%{buildroot}%%{_datadir}/%%{name}/scripts/simple-makefile
|
|
rm -f %{buildroot}%{_datadir}/%{name}/scripts/svn-to-hg-and-git.sh
|
|
pushd %{buildroot}%{_datadir}/%{name}/scripts
|
|
sed -i '1s/^#!.*/#!\/usr\/bin\/python/' sf2rg.py
|
|
popd
|
|
install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/pixmaps/%{name}.xpm"
|
|
%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/com.rosegardenmusic.%{name}.desktop
|
|
#This is a man page made by help2man to satisfy factories hunger for one /usr/bin/ one man page.
|
|
mkdir -p %{buildroot}%{_mandir}/man1
|
|
install -D -m 0644 "%{SOURCE2}" "%{buildroot}%{_mandir}/man1/"
|
|
%fdupes -s %{buildroot}%{_datadir}/
|
|
|
|
%post
|
|
%mime_database_post
|
|
%desktop_database_post
|
|
|
|
%postun
|
|
%mime_database_postun
|
|
%desktop_database_postun
|
|
|
|
%clean
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING README
|
|
%dir %{_datadir}/metainfo
|
|
%dir %{_datadir}/%{name}/
|
|
%dir %{_datadir}/%{name}/autoload
|
|
%dir %{_datadir}/%{name}/chords
|
|
%dir %{_datadir}/%{name}/examples
|
|
%dir %{_datadir}/%{name}/fonts
|
|
%dir %{_datadir}/%{name}/library
|
|
%dir %{_datadir}/%{name}/locale
|
|
%dir %{_datadir}/%{name}/profile
|
|
%dir %{_datadir}/%{name}/scripts
|
|
%dir %{_datadir}/%{name}/styles
|
|
%dir %{_datadir}/%{name}/templates
|
|
%dir %{_datadir}/%{name}/templates
|
|
%{_datadir}/icons/hicolor/*
|
|
%{_datadir}/pixmaps/%{name}.xpm
|
|
%{_datadir}/applications/com.rosegardenmusic.%{name}.desktop
|
|
%{_datadir}/metainfo/%{name}.appdata.xml
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/*
|
|
%{_datadir}/%{name}/*
|
|
%{_datadir}/%{name}/presets/*
|
|
%{_datadir}/%{name}/pixmaps/*
|
|
%{_datadir}/%{name}/autoload/*
|
|
%{_datadir}/%{name}/chords/*
|
|
%{_datadir}/%{name}/examples/*
|
|
%{_datadir}/%{name}/fonts/*
|
|
%{_datadir}/%{name}/library/*
|
|
%{_datadir}/%{name}/locale/*
|
|
%{_datadir}/%{name}/profile/*
|
|
%{_datadir}/%{name}/scripts/*
|
|
%{_datadir}/%{name}/styles/*
|
|
%{_datadir}/%{name}/templates/*
|
|
%{_datadir}/mime/packages/%{name}.xml
|
|
|
|
%changelog
|