File thunar-plugin-media-tags.spec of Package thunar-plugin-media-tags

# spec file for package thunar-plugin-media-tags
# 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

%define thunar_version 1.2.0
%define plugin_name thunar-media-tags-plugin

Name:           thunar-plugin-media-tags
Version:        0.2.0
Release:        0
Summary:        Thunar Plugin for Editing Media File Metadata and Renaming Based on Metadata
License:        GPL-2.0+
Group:          System/GUI/XFCE
BuildRequires:  intltool
BuildRequires:  thunar-devel >= %{thunar_version}
BuildRequires:  pkgconfig(exo-1)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(taglib)
BuildRequires:  pkgconfig(thunarx-2)
Requires:       thunar >= %{thunar_version}
Recommends:     %{name}-lang = %{version}
Provides:       %{plugin_name} = %{version}
Obsoletes:      %{plugin_name} < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

The Thunar Media Tags Plugin enables editing media file metadata from within
the Thunar file properties dialog and allows for bulk renaming based on


%setup -q -n %{plugin_name}-%{version}

%configure --disable-static
make %{?_smp_mflags} V=1


rm -rf %{buildroot}%{_libdir}/thunarx-2/

# remove unsupported locales
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,tl_PH,ur_PK}

%find_lang %{plugin_name} %{?no_lang_C}

rm -rf "%{buildroot}"


%files lang -f %{plugin_name}.lang