Accepting request 348798 from home:plater
Renamed buzztard to buzztrax OBS-URL: https://build.opensuse.org/request/show/348798 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/buzztrax?expand=0&rev=1
This commit is contained in:
commit
c77a362827
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
40
buzztard-0.6.0-core_gir.patch
Normal file
40
buzztard-0.6.0-core_gir.patch
Normal file
@ -0,0 +1,40 @@
|
||||
Index: src/lib/core/Makefile.am
|
||||
===================================================================
|
||||
--- src/lib/core/Makefile.am.orig
|
||||
+++ src/lib/core/Makefile.am
|
||||
@@ -83,13 +83,14 @@ if USE_GIR
|
||||
gir_sources=$(patsubst %,$(srcdir)/%, $(libbuzztard_core_la_SOURCES))
|
||||
|
||||
BuzztardCore-0.0.gir: $(G_IR_SCANNER) libbuzztard-core.la
|
||||
- -$(AM_V_GEN)$(G_IR_SCANNER) -v \
|
||||
+ -PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_srcdir)/src/lib/ic/" $(AM_V_GEN)$(G_IR_SCANNER) -v \
|
||||
--namespace=BuzztardCore \
|
||||
--nsversion 0.0 \
|
||||
-I$(builddir)/libbuzztard-core \
|
||||
-I$(srcdir) \
|
||||
-I$(srcdir)/libbuzztard_core/ \
|
||||
-I$(top_srcdir)/src/lib/ic/libbuzztard-ic/ \
|
||||
+ -I$(top_srcdir)/src/lib/ic/ \
|
||||
--add-include-path=$(top_srcdir)/src/lib/ic/ \
|
||||
--identifier-prefix=Bt \
|
||||
--symbol-prefix=bt \
|
||||
Index: src/lib/core/Makefile.in
|
||||
===================================================================
|
||||
--- src/lib/core/Makefile.in.orig
|
||||
+++ src/lib/core/Makefile.in
|
||||
@@ -1278,13 +1278,14 @@ marshal.c: marshal.list
|
||||
glib-genmarshal --body --prefix=bt_marshal $(srcdir)/marshal.list > marshal.c
|
||||
|
||||
@USE_GIR_TRUE@BuzztardCore-0.0.gir: $(G_IR_SCANNER) libbuzztard-core.la
|
||||
-@USE_GIR_TRUE@ -$(AM_V_GEN)$(G_IR_SCANNER) -v \
|
||||
+@USE_GIR_TRUE@ -PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):$(top_srcdir)/src/lib/ic/" $(AM_V_GEN)$(G_IR_SCANNER) -v \
|
||||
@USE_GIR_TRUE@ --namespace=BuzztardCore \
|
||||
@USE_GIR_TRUE@ --nsversion 0.0 \
|
||||
@USE_GIR_TRUE@ -I$(builddir)/libbuzztard-core \
|
||||
@USE_GIR_TRUE@ -I$(srcdir) \
|
||||
@USE_GIR_TRUE@ -I$(srcdir)/libbuzztard_core/ \
|
||||
@USE_GIR_TRUE@ -I$(top_srcdir)/src/lib/ic/libbuzztard-ic/ \
|
||||
+@USE_GIR_TRUE@ -I$(top_srcdir)/src/lib/ic/ \
|
||||
@USE_GIR_TRUE@ --add-include-path=$(top_srcdir)/src/lib/ic/ \
|
||||
@USE_GIR_TRUE@ --identifier-prefix=Bt \
|
||||
@USE_GIR_TRUE@ --symbol-prefix=bt \
|
10
buzztard-0.6.0-desktop_file.patch
Normal file
10
buzztard-0.6.0-desktop_file.patch
Normal file
@ -0,0 +1,10 @@
|
||||
Index: src/ui/edit/buzztard-edit.desktop.in
|
||||
===================================================================
|
||||
--- src/ui/edit/buzztard-edit.desktop.in.orig
|
||||
+++ src/ui/edit/buzztard-edit.desktop.in
|
||||
@@ -1,5 +1,4 @@
|
||||
[Desktop Entry]
|
||||
-Version=0.6.0
|
||||
Type=Application
|
||||
_Name=Buzztard Music Editor
|
||||
_Comment=Edit buzztard song files
|
66
buzztard-0.6.0-gir.patch
Normal file
66
buzztard-0.6.0-gir.patch
Normal file
@ -0,0 +1,66 @@
|
||||
Index: src/lib/core/Makefile.am
|
||||
===================================================================
|
||||
--- src/lib/core/Makefile.am.orig
|
||||
+++ src/lib/core/Makefile.am
|
||||
@@ -112,10 +112,10 @@ BuzztardCore-0.0.gir: $(G_IR_SCANNER) li
|
||||
$(gir_sources) || touch $@
|
||||
BUILT_GIRSOURCES = BuzztardCore-0.0.gir
|
||||
|
||||
-girdir = $(datadir)/gir
|
||||
+girdir = $(GIRDIR)
|
||||
dist_gir_DATA = $(BUILT_GIRSOURCES)
|
||||
|
||||
-typelibsdir = $(libdir)/girepository
|
||||
+typelibsdir = $(TYPELIBDIR)
|
||||
typelibs_DATA = $(dist_gir_DATA:.gir=.typelib)
|
||||
|
||||
TXML = $(dist_gir_DATA:.gir=.gir.txml)
|
||||
Index: src/lib/ic/Makefile.am
|
||||
===================================================================
|
||||
--- src/lib/ic/Makefile.am.orig
|
||||
+++ src/lib/ic/Makefile.am
|
||||
@@ -83,10 +83,10 @@ BuzztardIc-0.0.gir: $(G_IR_SCANNER) libb
|
||||
$(gir_sources) || touch $@
|
||||
BUILT_GIRSOURCES = BuzztardIc-0.0.gir
|
||||
|
||||
-girdir = $(datadir)/gir
|
||||
+girdir = $(GIRDIR)
|
||||
dist_gir_DATA = $(BUILT_GIRSOURCES)
|
||||
|
||||
-typelibsdir = $(libdir)/girepository
|
||||
+typelibsdir = $(TYPELIBDIR)
|
||||
typelibs_DATA = $(dist_gir_DATA:.gir=.typelib)
|
||||
|
||||
TXML = $(dist_gir_DATA:.gir=.gir.txml)
|
||||
Index: src/lib/core/Makefile.in
|
||||
===================================================================
|
||||
--- src/lib/core/Makefile.in.orig
|
||||
+++ src/lib/core/Makefile.in
|
||||
@@ -508,9 +508,9 @@ pkgconfig_DATA = libbuzztard-core.pc
|
||||
@USE_GIR_TRUE@gir_sources = $(patsubst %,$(srcdir)/%, $(libbuzztard_core_la_SOURCES))
|
||||
@USE_GIR_FALSE@BUILT_GIRSOURCES =
|
||||
@USE_GIR_TRUE@BUILT_GIRSOURCES = BuzztardCore-0.0.gir
|
||||
-@USE_GIR_TRUE@girdir = $(datadir)/gir
|
||||
+@USE_GIR_TRUE@girdir = $(GIRDIR)
|
||||
@USE_GIR_TRUE@dist_gir_DATA = $(BUILT_GIRSOURCES)
|
||||
-@USE_GIR_TRUE@typelibsdir = $(libdir)/girepository
|
||||
+@USE_GIR_TRUE@typelibsdir = $(TYPELIBDIR)
|
||||
@USE_GIR_TRUE@typelibs_DATA = $(dist_gir_DATA:.gir=.typelib)
|
||||
@USE_GIR_TRUE@TXML = $(dist_gir_DATA:.gir=.gir.txml)
|
||||
EXTRA_DIST = \
|
||||
Index: src/lib/ic/Makefile.in
|
||||
===================================================================
|
||||
--- src/lib/ic/Makefile.in.orig
|
||||
+++ src/lib/ic/Makefile.in
|
||||
@@ -455,9 +455,9 @@ pkgconfig_DATA = libbuzztard-ic.pc
|
||||
@USE_GIR_TRUE@gir_sources = $(patsubst %,$(srcdir)/%, $(libbuzztard_ic_la_SOURCES))
|
||||
@USE_GIR_FALSE@BUILT_GIRSOURCES =
|
||||
@USE_GIR_TRUE@BUILT_GIRSOURCES = BuzztardIc-0.0.gir
|
||||
-@USE_GIR_TRUE@girdir = $(datadir)/gir
|
||||
+@USE_GIR_TRUE@girdir = $(GIRDIR)
|
||||
@USE_GIR_TRUE@dist_gir_DATA = $(BUILT_GIRSOURCES)
|
||||
-@USE_GIR_TRUE@typelibsdir = $(libdir)/girepository
|
||||
+@USE_GIR_TRUE@typelibsdir = $(TYPELIBDIR)
|
||||
@USE_GIR_TRUE@typelibs_DATA = $(dist_gir_DATA:.gir=.typelib)
|
||||
@USE_GIR_TRUE@TXML = $(dist_gir_DATA:.gir=.gir.txml)
|
||||
EXTRA_DIST = \
|
69
buzztard-0.6.0-mime.patch
Normal file
69
buzztard-0.6.0-mime.patch
Normal file
@ -0,0 +1,69 @@
|
||||
Index: src/lib/Makefile.am
|
||||
===================================================================
|
||||
--- src/lib/Makefile.am.orig
|
||||
+++ src/lib/Makefile.am
|
||||
@@ -12,13 +12,6 @@ CLEANFILES = $(sharedmimepackage_DATA)
|
||||
EXTRA_DIST = $(sharedmimepackage_in_files)
|
||||
|
||||
|
||||
-# update mime database
|
||||
-install-data-hook:
|
||||
- test -z "$(UPDATE_MIME_DATABASE)" || $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(sharedmimedir)";
|
||||
-uninstall-local: uninstall-sharedmimepackageDATA
|
||||
- test -z "$(UPDATE_MIME_DATABASE)" || $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(sharedmimedir)";
|
||||
-
|
||||
-
|
||||
.PHONY: help todo stats splint
|
||||
|
||||
todo::
|
||||
Index: src/lib/Makefile.in
|
||||
===================================================================
|
||||
--- src/lib/Makefile.in.orig
|
||||
+++ src/lib/Makefile.in
|
||||
@@ -737,12 +737,6 @@ uninstall-am: uninstall-local uninstall-
|
||||
@INTLTOOL_XML_RULE@
|
||||
buzztard.xml: buzztard.xml.in
|
||||
|
||||
-# update mime database
|
||||
-install-data-hook:
|
||||
- test -z "$(UPDATE_MIME_DATABASE)" || $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(sharedmimedir)";
|
||||
-uninstall-local: uninstall-sharedmimepackageDATA
|
||||
- test -z "$(UPDATE_MIME_DATABASE)" || $(UPDATE_MIME_DATABASE) "$(DESTDIR)$(sharedmimedir)";
|
||||
-
|
||||
.PHONY: help todo stats splint
|
||||
|
||||
todo::
|
||||
Index: src/ui/edit/Makefile.am
|
||||
===================================================================
|
||||
--- src/ui/edit/Makefile.am.orig
|
||||
+++ src/ui/edit/Makefile.am
|
||||
@@ -115,12 +115,6 @@ marshal.c: marshal.list
|
||||
CLEANFILES = $(desktop_DATA) $(BUILT_SOURCES)
|
||||
EXTRA_DIST = $(desktop_in_files) $(gtkrc_DATA) marshal.list
|
||||
|
||||
-# update desktop database
|
||||
-install-data-hook:
|
||||
- test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
|
||||
-uninstall-local:
|
||||
- test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
|
||||
-
|
||||
.PHONY: help todo stats splint
|
||||
|
||||
todo::
|
||||
Index: src/ui/edit/Makefile.in
|
||||
===================================================================
|
||||
--- src/ui/edit/Makefile.in.orig
|
||||
+++ src/ui/edit/Makefile.in
|
||||
@@ -947,12 +947,6 @@ marshal.h: marshal.list
|
||||
marshal.c: marshal.list
|
||||
glib-genmarshal --body --prefix=bt_marshal $(srcdir)/marshal.list > marshal.c
|
||||
|
||||
-# update desktop database
|
||||
-install-data-hook:
|
||||
- test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
|
||||
-uninstall-local:
|
||||
- test -z "$(UPDATE_DESKTOP_DATABASE)" || $(UPDATE_DESKTOP_DATABASE) "$(DESTDIR)$(desktopdir)";
|
||||
-
|
||||
.PHONY: help todo stats splint
|
||||
|
||||
todo::
|
15
buzztard-0.6.0-no_check.patch
Normal file
15
buzztard-0.6.0-no_check.patch
Normal file
@ -0,0 +1,15 @@
|
||||
Index: configure
|
||||
===================================================================
|
||||
--- configure.orig
|
||||
+++ configure
|
||||
@@ -19817,8 +19817,8 @@ $as_echo "yes" >&6; }
|
||||
|
||||
have_check=yes
|
||||
if true; then
|
||||
- BUILD_CHECK_TESTS_TRUE=
|
||||
- BUILD_CHECK_TESTS_FALSE='#'
|
||||
+ BUILD_CHECK_TESTS_TRUE='#'
|
||||
+ BUILD_CHECK_TESTS_FALSE=
|
||||
else
|
||||
BUILD_CHECK_TESTS_TRUE='#'
|
||||
BUILD_CHECK_TESTS_FALSE=
|
3
buzztard-0.6.0.tar.gz
Normal file
3
buzztard-0.6.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:20ecea4c68ac0b3cb4b558b9ef986a0158ec814643b88098a4b595f50c797b5a
|
||||
size 2479453
|
5
buzztard.changes
Normal file
5
buzztard.changes
Normal file
@ -0,0 +1,5 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 8 10:56:13 UTC 2012 - reddwarf@opensuse.org
|
||||
|
||||
- Initial package
|
||||
|
248
buzztard.spec
Normal file
248
buzztard.spec
Normal file
@ -0,0 +1,248 @@
|
||||
#
|
||||
# spec file for package buzztard
|
||||
#
|
||||
# Copyright (c) 2012 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/
|
||||
#
|
||||
|
||||
|
||||
%define gir gobject-introspection-1.0
|
||||
%define gstreamer_pluginsdir %(pkg-config --variable=pluginsdir gstreamer-0.10)
|
||||
%define girdir %(pkg-config --variable=girdir %{gir})
|
||||
%define typelibdir %(pkg-config --variable=typelibdir %{gir})
|
||||
%define core_soname 0
|
||||
%define ic_soname 0
|
||||
|
||||
Name: buzztard
|
||||
Version: 0.6.0
|
||||
Release: 0
|
||||
Summary: A music studio inspired by Buzz
|
||||
License: LGPL-2.0+
|
||||
Group: Productivity/Multimedia/Sound/Utilities
|
||||
Url: http://buzztard.org/
|
||||
Source0: https://downloads.sourceforge.net/project/buzztard/buzztard/%{version}/buzztard-%{version}.tar.gz
|
||||
# PATCH-FIX-UPSTREAM buzztard-0.6.0-gir.patch http://buzztard.org/bugs/?do=view_issue&issue=39 reddwarf@opensuse.org -- Install gobject-introspection files in the correct place
|
||||
Patch0: buzztard-0.6.0-gir.patch
|
||||
# PATCH-FIX-UPSTREAM buzztard-0.6.0-mime.patch http://buzztard.org/bugs/?do=view_issue&issue=40 reddwarf@opensuse.org -- Don't run update-mime-database
|
||||
Patch1: buzztard-0.6.0-mime.patch
|
||||
# PATCH-FIX-UPSTREAM buzztard-0.6.0-no_check.patch reddwarf@opensuse.org -- Don't run the checks even if check is installed. It fails without debug, it's in upsteram TODO list.
|
||||
Patch2: buzztard-0.6.0-no_check.patch
|
||||
# PATCH-FIX-UPSTREAM buzztard-0.6.0-desktop_file.patch http://buzztard.org/bugs/?do=view_issue&issue=41 reddwarf@opensuse.org -- Delete incorrect version tag
|
||||
Patch3: buzztard-0.6.0-desktop_file.patch
|
||||
# PATCH-FIX-UPSTREAM buzztard-0.6.0-core_gir.patch http://buzztard.org/bugs/?do=view_issue&issue=42 reddwarf@opensuse.org -- Fix BuzztardCore-0.0.gir generation
|
||||
Patch4: buzztard-0.6.0-core_gir.patch
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: scrollkeeper
|
||||
BuildRequires: shared-mime-info
|
||||
BuildRequires: pkgconfig(%{gir})
|
||||
BuildRequires: pkgconfig(cairo)
|
||||
BuildRequires: pkgconfig(gconf-2.0) >= 2.2.0
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gdk-x11-2.0)
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gmodule-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gobject-2.0) >= 2.10.0
|
||||
BuildRequires: pkgconfig(gstreamer-0.10) >= 0.10.14
|
||||
BuildRequires: pkgconfig(gstreamer-audio-0.10)
|
||||
BuildRequires: pkgconfig(gstreamer-base-0.10) >= 0.10.14
|
||||
BuildRequires: pkgconfig(gstreamer-controller-0.10) >= 0.10.14
|
||||
BuildRequires: pkgconfig(gstreamer-interfaces-0.10)
|
||||
BuildRequires: pkgconfig(gstreamer-pbutils-0.10)
|
||||
BuildRequires: pkgconfig(gtk+-x11-2.0)
|
||||
BuildRequires: pkgconfig(gudev-1.0)
|
||||
BuildRequires: pkgconfig(libgnomecanvas-2.0)
|
||||
BuildRequires: pkgconfig(libgsf-1)
|
||||
BuildRequires: pkgconfig(libgstbuzztard) >= 0.6.0
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
|
||||
BuildRequires: pkgconfig(pango)
|
||||
%if %{with bml}
|
||||
BuildRequires: pkgconfig(libbml) >= 0.6.0
|
||||
%endif
|
||||
%gconf_schemas_requires
|
||||
|
||||
%description
|
||||
Buzztard aims to be a music studio that allows one to compose
|
||||
songs using only a computer with a soundcard. If you've used
|
||||
tracker programs like FastTracker, Impulse Tracker, or the
|
||||
original AMIGA SoundTracker, that will give you an idea
|
||||
of how one can sequence music in Buzztard. The Buzztard
|
||||
editor uses a similar concept, where a song consists
|
||||
of a sequence with tracks and in each track one uses patterns
|
||||
with events (musical notes and control changes). In contrast
|
||||
to other Tracker programs, tracks are not simply sample players:
|
||||
a user can make a song using an arrangment of virtual audio
|
||||
plugins that are linked together to create different effects.
|
||||
Each of these machines can be controlled realtime or via
|
||||
patterns in the sequencer.
|
||||
|
||||
%package -n gstreamer-0_10-plugins-buzztarddec
|
||||
Summary: Buzztard GStreamer plugin
|
||||
Group: Productivity/Multimedia/Other
|
||||
|
||||
%description -n gstreamer-0_10-plugins-buzztarddec
|
||||
Plugin to play Buzztard songs from any GStreamer compatible app.
|
||||
|
||||
%package -n libbuzztard-ic%{ic_soname}
|
||||
Summary: Interaction controller support classes for buzztard based applications
|
||||
Group: System/Libraries
|
||||
Recommends: gstreamer-0_10-plugins-buzztard
|
||||
|
||||
%description -n libbuzztard-ic%{ic_soname}
|
||||
This package provides interaction controller support classes for buzztard based applications.
|
||||
|
||||
%package -n libbuzztard-core%{core_soname}
|
||||
Summary: Core support classes for buzztard based applications
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libbuzztard-core%{core_soname}
|
||||
This package provides core support classes for buzztard based applications.
|
||||
|
||||
%package -n libbuzztard-ic-devel
|
||||
Summary: Development files for libbuzztard-ic
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libbuzztard-ic%{ic_soname} = %{version}
|
||||
|
||||
%description -n libbuzztard-ic-devel
|
||||
This package provides the development files for libbuzztard-ic.
|
||||
|
||||
%package -n libbuzztard-core-devel
|
||||
Summary: Development files for libbuzztard-core
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libbuzztard-core%{core_soname} = %{version}
|
||||
|
||||
%description -n libbuzztard-core-devel
|
||||
This package provides the development files for libbuzztard-core.
|
||||
|
||||
%package -n typelib-1_0-BuzztardIc-0_0
|
||||
Summary: BuzztardIc introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-BuzztardIc-0_0
|
||||
This package provides the GObject Introspection bindings for BuzztardIc.
|
||||
|
||||
%package -n typelib-1_0-BuzztardCore-0_0
|
||||
Summary: BuzztardCore Introspection bindings
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n typelib-1_0-BuzztardCore-0_0
|
||||
This package provides the GObject Introspection bindings for BuzztardCore.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
%configure --disable-static --disable-schemas-install --disable-silent-rules
|
||||
make %{?_smp_flags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot}%{_libdir} -name '*.la' -delete
|
||||
%find_lang buzztard-0.6
|
||||
%find_gconf_schemas
|
||||
%fdupes -s %{buildroot}
|
||||
printf 'libbuzztard-ic%{ic_soname}\n
|
||||
libbuzztard-core%{core_soname}\n
|
||||
typelib-1_0-BuzztardIc-0_0\n
|
||||
\t+^%{typelibdir}/BuzztardIc-0.0.typelib$\n
|
||||
typelib-1_0-BuzztardCore-0_0\n
|
||||
\t+^%{typelibdir}/BuzztardCore-0.0.typelib$\n' > %{_sourcedir}/baselibs.conf
|
||||
|
||||
%pre -f %{name}.schemas_pre
|
||||
|
||||
%post
|
||||
%icon_theme_cache_post
|
||||
%icon_theme_cache_post gnome
|
||||
%mime_database_post
|
||||
%desktop_database_post
|
||||
|
||||
%preun -f %{name}.schemas_preun
|
||||
|
||||
%postun
|
||||
%desktop_database_postun
|
||||
%mime_database_postun
|
||||
%icon_theme_cache_postun gnome
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%posttrans -f %{name}.schemas_posttrans
|
||||
|
||||
%post -n libbuzztard-ic%{ic_soname} -p /sbin/ldconfig
|
||||
%post -n libbuzztard-core%{core_soname} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libbuzztard-ic%{ic_soname} -p /sbin/ldconfig
|
||||
%postun -n libbuzztard-core%{core_soname} -p /sbin/ldconfig
|
||||
|
||||
%files -f buzztard-0.6.lang -f %{name}.schemas_list
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc AUTHORS COPYING COPYING-DOCS NEWS README TODO
|
||||
%attr(0755,root,root) %{_bindir}/*
|
||||
%{_datadir}/buzztard/
|
||||
%{_datadir}/applications/buzztard-edit.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/*
|
||||
%{_datadir}/icons/gnome
|
||||
%doc %{_datadir}/omf/buzztard-edit/
|
||||
%dir %{_datadir}/gnome/
|
||||
%doc %{_datadir}/gnome/help/
|
||||
%{_datadir}/gtk-doc/html/buzztard-cmd/
|
||||
%{_datadir}/gtk-doc/html/buzztard-edit/
|
||||
%{_datadir}/mime/packages/buzztard.xml
|
||||
%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt.xml
|
||||
%attr(0644,root,root) %ghost %{_datadir}/mime/audio/x-bzt-xml.xml
|
||||
|
||||
%files -n gstreamer-0_10-plugins-buzztarddec
|
||||
%defattr(0644,root,root,0755)
|
||||
%{gstreamer_pluginsdir}/libbuzztarddec.so
|
||||
|
||||
%files -n libbuzztard-ic%{ic_soname}
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_libdir}/libbuzztard-ic.so.%{ic_soname}*
|
||||
|
||||
%files -n libbuzztard-core%{ic_soname}
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_libdir}/libbuzztard-core.so.%{core_soname}*
|
||||
|
||||
%files -n libbuzztard-ic-devel
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_includedir}/libbuzztard-ic/
|
||||
%{_libdir}/libbuzztard-ic.so
|
||||
%{_libdir}/pkgconfig/libbuzztard-ic.pc
|
||||
%{girdir}/BuzztardIc-0.0.gir
|
||||
%{_datadir}/gtk-doc/html/buzztard-ic/
|
||||
|
||||
%files -n libbuzztard-core-devel
|
||||
%defattr(0644,root,root,0755)
|
||||
%{_includedir}/libbuzztard-core/
|
||||
%{_libdir}/libbuzztard-core.so
|
||||
%{_libdir}/pkgconfig/libbuzztard-core.pc
|
||||
%{girdir}/BuzztardCore-0.0.gir
|
||||
%{_datadir}/gtk-doc/html/buzztard-core/
|
||||
|
||||
%files -n typelib-1_0-BuzztardIc-0_0
|
||||
%defattr(0644,root,root,0755)
|
||||
%{typelibdir}/BuzztardIc-0.0.typelib
|
||||
|
||||
%files -n typelib-1_0-BuzztardCore-0_0
|
||||
%defattr(0644,root,root,0755)
|
||||
%{typelibdir}/BuzztardCore-0.0.typelib
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user