%global debug_package %{nil} %global mod_name alternative-toolbar Name: rhythmbox-alternative-toolbar Version: 0.17.3 Release: 3%{?dist} Summary: Rhythmbox plugin License: GPLv3 URL: https://github.com/fossfreedom/alternative-toolbar/ Source0: https://github.com/fossfreedom/%{mod_name}/archive/v%{version}/%{mod_name}-%{version}.tar.gz BuildRequires: intltool BuildRequires: glib2-devel BuildRequires: python3-gobject BuildRequires: gtk3 BuildRequires: gobject-introspection BuildRequires: pygobject2 BuildRequires: rhythmbox-devel Requires: rhythmbox BuildArch: noarch ExclusiveArch: %{ix86} %{arm} x86_64 ppc64 ppc64le noarch %description Alternative Toolbar replaces the Rhythmbox large toolbar with a Client-Side Decorated or Compact toolbar which can be hidden. %prep %autosetup -n %{mod_name}-%{version} %build ./autogen.sh --prefix=%{_prefix} %configure %make_build %install %make_install rm -f %{buildroot}%{_libdir}/rhythmbox/plugins/alternative-toolbar/LICENSE %find_lang %{mod_name} %files -f %{mod_name}.lang %{_libdir}/rhythmbox/plugins/alternative-toolbar/ %{_datadir}/rhythmbox/plugins/alternative-toolbar %{_datadir}/glib-2.0/schemas/org.gnome.rhythmbox.plugins.alternative_toolbar.gschema.xml %license LICENSE %doc readme.html %changelog * Tue Mar 7 2017 Tonet Jallo 0.17.3-3 - Using the LICENSE file located on buildroot instead libdir - Using macro at autogen.sh - Removed duplicated directories on files section - Added version macro to Source0 - Removed dots on changelog - Added BuildArch to noarch and ExclusiveArch both instead ExcludedArch only * Thu Mar 2 2017 Tonet Jallo 0.17.3-2 - Excluded the same architectures from rhythmbox spec - Changed the source link - Added directories on files section - Added versions on changelog - Removed duplicated license file * Sun Feb 26 2017 Tonet Jallo 0.17.3-1 - Initial packaging