Package thunar-media-tags-plugin: Specfile

Name: thunar-media-tags-plugin
Version: 0.4.0
Release: alt1

Summary: Thunar media tags plugin
License: GPLv2+
Group: Graphical desktop/XFce
Url: https://docs.xfce.org/xfce/thunar/media-tags
Packager: Xfce Team <xfce@packages.altlinux.org>

Vcs: https://gitlab.xfce.org/thunar-plugins/thunar-media-tags-plugin.git
Source: %name-%version.tar
Patch: %name-%version-%release.patch

BuildPreReq: rpm-build-xfce4 xfce4-dev-tools
BuildRequires: libthunar-devel libxfce4util-devel
BuildRequires: libgtk+3-devel libtag-devel

%define _unpackaged_files_terminate_build 1

%description
The Thunar Media Tags Plugin (thunar-media-tags-plugin) adds special features
for media files to the Thunar File Manager.

Currently, these are:

* A bulk renamer option, which allows users to rename multiple audio files at
  once, based on their tags (e.g. ID3 or OGG/Vorbis),
* An audio tag editor which is reachable from the file properties page,
* A special media file page for the file properties dialog, which displays
  detailed information about quality, length, etc.

%prep
%setup
%patch -p1

%build
%xfce4reconf
%configure \
	--enable-debug=minimum
%make_build

%install
%makeinstall_std
%find_lang %name

%files -f %name.lang
%doc README.md AUTHORS NEWS
%exclude %_libdir/thunarx-*/*.la
%_libdir/thunarx-*/*.so

# Seems glibc doesn't support uz@Latn
%exclude %_datadir/locale/uz@Latn/LC_MESSAGES/thunar-media-tags-plugin.mo

%changelog
* Mon Feb 06 2023 Mikhail Efremov <sem@altlinux.org> 0.4.0-alt1
- Fixed Summary.
- Updated Description.
- Added Vcs tag.
- Fixed License tag.
- Updated Url tag.
- Updated to 0.4.0.

* Tue Aug 21 2018 Mikhail Efremov <sem@altlinux.org> 0.3.0-alt1
- Don't package uz@Latn translation.
- Update url.
- Enable debug (minimum level).
- Use _unpackaged_files_terminate_build.
- Fix Xfce name (XFCE -> Xfce).
- Updated to 0.3.0.

* Mon May 13 2013 Mikhail Efremov <sem@altlinux.org> 0.2.1-alt1
- Updated to 0.2.1.

* Tue Dec 06 2011 Mikhail Efremov <sem@altlinux.org> 0.2.0-alt2
- Don't use empty string as separator.

* Tue Dec 06 2011 Mikhail Efremov <sem@altlinux.org> 0.2.0-alt1
- Drop obsoleted patches.
- Updated to 0.2.0.

* Thu Jan 27 2011 Mikhail Efremov <sem@altlinux.org> 0.1.2-alt3
- Spec update & cleanup.
- Fix Url.
- tar.bz2 -> tar.
- Add patches from Debian (port to exo-1 and thunarx-2).

* Fri May 08 2009 Ilya Mashkin <oddity@altlinux.ru> 0.1.2-alt2
- fix build, update requires

* Mon Jan 29 2007 Eugene Ostapets <eostapets@altlinux.ru> 0.1.2-alt1
- new version

* Fri Oct 06 2006 Eugene Ostapets <eostapets@altlinux.ru> 0.1.1-alt1
- First build for Sisyphus.