|
@@ -1,4 +1,4 @@
|
|
-%define pkg_version 3.0.0
|
|
+%define pkg_version 3.3.3
|
|
%define pkg_release 1%{?_dist_release}
|
|
%define pkg_release 1%{?_dist_release}
|
|
|
|
|
|
Summary: A Compact Disk Player and Ripper for GNOME
|
|
Summary: A Compact Disk Player and Ripper for GNOME
|
|
@@ -7,26 +7,24 @@ Name: goobox
|
|
Version: %{pkg_version}
|
|
Version: %{pkg_version}
|
|
Release: %{pkg_release}
|
|
Release: %{pkg_release}
|
|
|
|
|
|
-Source0: http://download.gnome.org/sources/%{name}/3.0/%{name}-%{version}.tar.xz
|
|
+Source0: http://download.gnome.org/sources/%{name}/3.3/%{name}-%{version}.tar.xz
|
|
-
|
|
|
|
-Patch0: goobox-3.0.0-makefile.patch
|
|
|
|
|
|
|
|
License: GPLv2
|
|
License: GPLv2
|
|
Group: Applications/Multimedia
|
|
Group: Applications/Multimedia
|
|
URL: http://people.gnome.org/~paobac/goobox/
|
|
URL: http://people.gnome.org/~paobac/goobox/
|
|
|
|
|
|
-Requires(post,postun): glib2
|
|
+Requires(posttrans,postun): glib2
|
|
-Requires(post,postun): desktop-file-utils
|
|
+Requires(posttrans,postun): desktop-file-utils
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: gtk3-devel
|
|
BuildRequires: GConf2-devel
|
|
BuildRequires: GConf2-devel
|
|
-BuildRequires: gstreamer-devel
|
|
+BuildRequires: gstreamer1-devel
|
|
-BuildRequires: libmusicbrainz3-devel
|
|
+BuildRequires: libmusicbrainz5-devel
|
|
BuildRequires: libdiscid-devel
|
|
BuildRequires: libdiscid-devel
|
|
BuildRequires: brasero-devel
|
|
BuildRequires: brasero-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libnotify-devel
|
|
BuildRequires: libSM-devel
|
|
BuildRequires: libSM-devel
|
|
-BuildRequires: gnome-doc-utils
|
|
+BuildRequires: itstool
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
@@ -44,7 +42,8 @@ Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです
|
|
|
|
|
|
%prep
|
|
%prep
|
|
%setup -q
|
|
%setup -q
|
|
-%patch0 -p1
|
|
+sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" Makefile.in
|
|
|
|
+sed -i "s|LDFLAGS = @LDFLAGS@|LDFLAGS = @LDFLAGS@ -lm|" src/Makefile.in
|
|
|
|
|
|
%build
|
|
%build
|
|
%configure --disable-static
|
|
%configure --disable-static
|
|
@@ -62,19 +61,19 @@ Goobox は GNOME 環境で統合された CD プレイヤ・リッパーです
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
%{__rm} -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
%post
|
|
%post
|
|
-update-desktop-database -q
|
|
+touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
-gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
|
|
|
|
|
|
%postun
|
|
%postun
|
|
-update-desktop-database -q
|
|
|
|
-touch --no-create %{_datadir}/icons/hicolor
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
if [ $1 -eq 0 ]; then
|
|
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
|
|
+ touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+ update-desktop-database -q &> /dev/null ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
fi
|
|
fi
|
|
|
|
|
|
%posttrans
|
|
%posttrans
|
|
|
|
+gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
|
|
|
+update-desktop-database -q &> /dev/null ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
|
|
|
|
|
|
|
|
@@ -83,13 +82,20 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
|
|
%doc COPYING ChangeLog NEWS README
|
|
%doc COPYING ChangeLog NEWS README
|
|
%{_bindir}/goobox
|
|
%{_bindir}/goobox
|
|
%{_datadir}/GConf/gsettings/goobox.convert
|
|
%{_datadir}/GConf/gsettings/goobox.convert
|
|
|
|
+%{_datadir}/appdata/goobox.appdata.xml
|
|
%{_datadir}/applications/goobox.desktop
|
|
%{_datadir}/applications/goobox.desktop
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml
|
|
%{_datadir}/glib-2.0/schemas/org.gnome.Goobox.gschema.xml
|
|
-%{_datadir}/goobox/ui/*.ui
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
%changelog
|
|
|
|
+* Sun Apr 05 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.3.3-1
|
|
|
|
+- new upstream release
|
|
|
|
+- remove Patch0
|
|
|
|
+- change BuildRequires: gstreamer1-devel instead of gstreamer-devel
|
|
|
|
+- change BuildRequires: libmusicbrainz5-devel instead of libmusicbrainz3-devel
|
|
|
|
+- add BuildRequires: itstool
|
|
|
|
+
|
|
* Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
|
|
* Thu Oct 06 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.0-1
|
|
- initial build for Vine Linux
|
|
- initial build for Vine Linux
|
|
|
|
|