forked from pool/buzztrax
Accepting request 354876 from home:plater
Final package for Factory submission OBS-URL: https://build.opensuse.org/request/show/354876 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=15
This commit is contained in:
parent
0509c35bb8
commit
2b24102410
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package buzztrax
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -25,10 +25,8 @@
|
||||
%define girsoname 1.1
|
||||
%define gst_soname 1
|
||||
%define bml_soname 1
|
||||
|
||||
%define glib_version 2.32.0
|
||||
%define gst_version 1.2.0
|
||||
|
||||
Name: buzztrax
|
||||
Version: 0.10.2
|
||||
Release: 0
|
||||
@ -41,21 +39,21 @@ Source1: autogen.sh
|
||||
Source2: COPYING-DOCS
|
||||
# Combined patch of cherry picked build fixes applies after 0.10.2
|
||||
Patch0: buzztrax-build.patch
|
||||
|
||||
BuildRequires: automake >= 1.13
|
||||
BuildRequires: libtool
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: intltool
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: scrollkeeper
|
||||
BuildRequires: shared-mime-info
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(%{gir})
|
||||
BuildRequires: pkgconfig(alsa)
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||
BuildRequires: pkgconfig(fluidsynth)
|
||||
BuildRequires: pkgconfig(gconf-2.0) >= 2.2.0
|
||||
BuildRequires: pkgconfig(gdk-x11-3.0)
|
||||
@ -69,17 +67,17 @@ BuildRequires: pkgconfig(gstreamer-base-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-controller-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-1.0) >= %{gst_version}
|
||||
BuildRequires: pkgconfig(gtk+-x11-3.0)
|
||||
BuildRequires: pkgconfig(clutter-gtk-1.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(libgsf-1)
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
|
||||
BuildRequires: pkgconfig(orc-0.4)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
Requires: %{name}-plugins = %{version}
|
||||
Requires: gstreamer-1_0-plugins-buzztrax = %{version}
|
||||
Provides: appdata(buzztrax-edit.appdata.xml)
|
||||
Provides: buzztard = %{version}
|
||||
Obsoletes: buzztard < %{version}
|
||||
Requires: gstreamer-1_0-plugins-buzztrax = %{version}
|
||||
Requires: %{name}-plugins = %{version}
|
||||
%gconf_schemas_requires
|
||||
%{gconf_schemas_requires}
|
||||
|
||||
%description
|
||||
buzztrax aims to be a music studio that allows one to compose
|
||||
@ -99,9 +97,9 @@ patterns in the sequencer.
|
||||
%package -n gstreamer-1_0-plugins-buzztrax
|
||||
Summary: Buzztrax GStreamer plugin
|
||||
Group: Productivity/Multimedia/Othhttps://groups.google.com/forum/#!topic/pgdbf/kUxJ0-1Yh7ker
|
||||
Requires: buzztrax = %{version}
|
||||
Provides: gstreamer-0_10-plugins-buzztard = %{version}
|
||||
Obsoletes: gstreamer-0_10-plugins-buzztard < %{version}
|
||||
Requires: buzztrax = %{version}
|
||||
|
||||
%description -n gstreamer-1_0-plugins-buzztrax
|
||||
Plugin to play Buzztrax songs from any GStreamer compatible app.
|
||||
@ -120,6 +118,7 @@ Group: System/Libraries
|
||||
%description -n libbuzztrax-core%{core_soname}
|
||||
This package provides core support classes for buzztrax based applications.
|
||||
Hotel Seminar Kraftquelle Schlossblick, Embach 1 - A 6320 Angerberg
|
||||
|
||||
%package -n libbuzztrax-gst%{gst_soname}
|
||||
Summary: Core support classes for buzztrax based applications
|
||||
Group: System/Libraries
|
||||
@ -192,13 +191,16 @@ Requires: buzztrax = %{version}
|
||||
%description plugins
|
||||
This package contains buzztrax plugins
|
||||
|
||||
%lang_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
# Rpmlint complains that COPYING-DOCS is outdated
|
||||
cp -v %{S:2} .
|
||||
cp -v %{S:1} .
|
||||
cp -v %{SOURCE2} .
|
||||
cp -v %{SOURCE1} .
|
||||
/bin/sh ./autogen.sh --noconfigure
|
||||
|
||||
%build
|
||||
#export CFLAGS="-Wno-error=implicit-int -Wno-error=implicit-function-declaration -Wno-error=int-to-pointer-cast %%{optflags}"
|
||||
%configure --disable-static \
|
||||
@ -211,11 +213,11 @@ cp -v %{S:1} .
|
||||
--enable-man \
|
||||
--disable-dllwrapper
|
||||
|
||||
make %{?_smp_flags}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
echo %{buildroot}
|
||||
%find_lang %{name}-%{version}
|
||||
#%%find_gconf_schemas
|
||||
@ -233,6 +235,7 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
|
||||
%posttrans -f %{name}.schemas_posttrans
|
||||
-f %{name}.schemas_list
|
||||
|
||||
%preun -f %{name}.schemas_preun
|
||||
|
||||
%endif
|
||||
@ -260,18 +263,24 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%mime_database_postun
|
||||
|
||||
%post -n libbuzztrax-ic%{ic_soname} -p /sbin/ldconfig
|
||||
|
||||
%post -n libbuzztrax-core%{core_soname} -p /sbin/ldconfig
|
||||
|
||||
%post -n libbuzztrax-gst%{gst_soname} -p /sbin/ldconfig
|
||||
|
||||
%post -n libbml%{bml_soname} -p /sbin/ldconfig
|
||||
|
||||
|
||||
%postun -n libbuzztrax-ic%{ic_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbuzztrax-core%{core_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbuzztrax-gst%{gst_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbml%{bml_soname} -p /sbin/ldconfig
|
||||
|
||||
|
||||
%files -f buzztrax-%{version}.lang
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc AUTHORS COPYING COPYING-DOCS NEWS README.md TODO
|
||||
%attr(0755,root,root) %{_bindir}/*
|
||||
@ -367,4 +376,7 @@ typelib-1_0-BuzztraxCore-1_1\n
|
||||
%dir %{_libdir}/buzztrax-songio
|
||||
%{_libdir}/buzztrax-songio/*.so
|
||||
|
||||
%files lang -f buzztrax-%{version}.lang
|
||||
%defattr (-, root, root)
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user