Accepting request 94810 from home:coolo:removeautomake

add automake to buildrequires

OBS-URL: https://build.opensuse.org/request/show/94810
OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/rosegarden?expand=0&rev=13
This commit is contained in:
Stephan Kulow 2011-12-02 19:17:11 +00:00 committed by Git OBS Bridge
parent f6e05e2644
commit 0759db89b3
6 changed files with 39 additions and 177 deletions

View File

@ -1,3 +1,8 @@
<?xml version="1.0"?>
<services>
<service name="download_url"><param name="path">/project/rosegarden/rosegarden/11.06/rosegarden-11.06.tar.bz2</param><param name="host">netcologne.dl.sourceforge.net</param></service>
<service name="set_version"/></services>
<service name="download_url" mode="localonly">
<param name="path">/project/rosegarden/rosegarden/11.06/rosegarden-11.06.tar.bz2</param>
<param name="host">netcologne.dl.sourceforge.net</param>
</service>
<service name="set_version" mode="localonly"/>
</services>

View File

@ -1,161 +0,0 @@
#
# spec file for package rosegarden
#
# Copyright (c) 2011 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/
# norootforbuild
Name: rosegarden
BuildRequires: libjack-devel xorg-x11-util-devel
BuildRequires: libqt4-devel >= 4.6.3 pkg-config liblo-devel
BuildRequires: alsa-devel dssi-devel fftw3-devel ladspa-devel liblrdf-devel
BuildRequires: libsamplerate-devel libsndfile-devel libxml2-devel lirc-devel
BuildRequires: fdupes shared-mime-info update-desktop-files hicolor-icon-theme
Version: 11.06
Release: 0
License: GPLv2+
Source0: http://sourceforge.net/projects/%{name}/%{name}-%{version}.tar.bz2
Source1: %{name}.xpm
Source2: %{name}.1
Source3: CHANGES.txt
# This patch fixes the 64 bit lib search path for dssi and ladspa and is distro specific for now.
Patch0: rosegarden-10.02-plugin-lib64path.patch
# This patch fixes the file search paths for examples, templates and midi driver libraries.
Patch1: rosegarden-10.10-filepaths.patch
Group: Productivity/Multimedia/Sound/Midi
Summary: Midi, Audio And Notation Editor
Icon: rosegarden.xpm
Url: http://www.rosegardenmusic.com/
AutoReqProv: on
Provides: rosegarden-qt4 = %{version}-%{release} rosegarden4 = %{version}-%{release}
Obsoletes: rosegarden-qt4 < %{version}-%{release} rosegarden4 < %{version}-%{release}
Requires: ladspa dssi
%if 0%{?suse_version} > 1120
Requires: lilypond
%else
Recommends: lilypond
%endif
Recommends: jack
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.
Authors:
--------
Chris Cannam <cannam@all-day-breakfast.com>
Richard Bown <bownie@bownie.com>
Guillaume Laurent <glaurent@telegraph-road.org>
# TODO The current desktop menu category (kde4 at least) is Multimedia > Audio Player and not appropriate.
%prep
%setup -q
%patch0
%patch1
# When we build svn we need to execute bootstrap.sh it doesn't harm the release build either.
sh bootstrap.sh
%{?suse_update_config:%{suse_update_config -f}}
%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
%configure --enable-debug --localedir=%{_datadir}/%{name}/locale/
%__make %{?jobs:-j%{jobs}}
# This translation handling make section is possibly only necessary when building svn
make ts
make ts-noobsolete
make locale
%install
mkdir -p %{buildroot}%{_datadir}/%{name}/scripts
cp -p scripts/* %{buildroot}%{_datadir}/%{name}/scripts/
cp -r data/* %{buildroot}%{_datadir}/%{name}/
%makeinstall
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
# Copy CHANGES.txt, created from sourceforge web page.
cp -v %{S:3} ./
%__install -D -m 0644 "%{SOURCE1}" "%{buildroot}%{_datadir}/pixmaps/%{name}.xpm"
%suse_update_desktop_file %{buildroot}/%{_datadir}/applications/%{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
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
%postun
/usr/bin/update-mime-database "%{_datadir}/mime" >/dev/null
%clean
rm -rf %buildroot
%files
%defattr(-,root,root)
%doc AUTHORS COPYING README CHANGES.txt
%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/%{name}.desktop
%{_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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65bf5deda277377c0f006702e468c433b4b9503affffc88942c774fcf60a846e
size 5782774

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Thu Dec 1 17:03:20 UTC 2011 - coolo@suse.com
- add automake as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Thu Dec 1 17:03:06 UTC 2011 - coolo@suse.com
- set _service to localonly to be acceptable for factory
-------------------------------------------------------------------
Thu May 19 23:27:42 UTC 2011 - davejplater@gmail.com

View File

@ -13,18 +13,30 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# norootforbuild
#
Name: rosegarden
BuildRequires: libjack-devel xorg-x11-util-devel
BuildRequires: libqt4-devel >= 4.6.3 pkg-config liblo-devel
BuildRequires: alsa-devel dssi-devel fftw3-devel ladspa-devel liblrdf-devel
BuildRequires: libsamplerate-devel libsndfile-devel libxml2-devel lirc-devel
BuildRequires: fdupes shared-mime-info update-desktop-files hicolor-icon-theme
Version: to_be_filled_by_service
Release: 1
License: GPLv2+
BuildRequires: alsa-devel
BuildRequires: dssi-devel
BuildRequires: fdupes
BuildRequires: fftw3-devel
BuildRequires: hicolor-icon-theme
BuildRequires: ladspa-devel
BuildRequires: libjack-devel
BuildRequires: liblo-devel
BuildRequires: liblrdf-devel
BuildRequires: libqt4-devel >= 4.6.3
BuildRequires: libsamplerate-devel
BuildRequires: libsndfile-devel
BuildRequires: libxml2-devel
BuildRequires: lirc-devel
BuildRequires: pkg-config
BuildRequires: shared-mime-info
BuildRequires: update-desktop-files
BuildRequires: xorg-x11-util-devel
Version: 11.06
Release: 0
License: GPL-2.0+
Source0: http://sourceforge.net/projects/%{name}/%{name}-%{version}.tar.bz2
Source1: %{name}.xpm
Source2: %{name}.1
@ -37,7 +49,6 @@ Group: Productivity/Multimedia/Sound/Midi
Summary: Midi, Audio And Notation Editor
Icon: rosegarden.xpm
Url: http://www.rosegardenmusic.com/
AutoReqProv: on
Provides: rosegarden-qt4 = %{version}-%{release} rosegarden4 = %{version}-%{release}
Obsoletes: rosegarden-qt4 < %{version}-%{release} rosegarden4 < %{version}-%{release}
Requires: ladspa dssi