-Summary: Tag editor for MP3 and OGG files
-Summary(pl): Edytor etykiet plików MP3 i OGG
+Summary: ID3 tag editor
+Summary(hu.UTF-8): ID3 tag szerkesztő
+Summary(pl.UTF-8): Edytor etykiet ID3
Name: easytag
-Version: 0.30
-Release: 3
-License: GPL
-Vendor: Jerome Couderc <j.couderc@ifrance.com>
-Group: X11/Applications
-Source0: http://dl.sourceforge.net/easytag/%{name}-%{version}.tar.bz2
-# Source0-md5: 9f0dfde219c0422676f21afc49cc44bf
-Patch0: %{name}-no_inclusion_patch_in_configurein.patch
-Patch1: %{name}-desktop.patch
-Patch2: %{name}-ac_fix.patch
-Patch3: %{name}-errno.patch
-# Patches *only* for version 0.30
-Patch4: %{name}-0.30a.patch
-Patch5: %{name}-0.30b.patch
-Patch6: %{name}-0.30c.patch
-Patch7: %{name}-0.30d.patch
-URL: http://easytag.sourceforge.net/
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: flac-devel >= 1.1.0
-BuildRequires: gettext-devel
-BuildRequires: gtk+-devel >= 1.2.7
-BuildRequires: id3lib-devel >= 3.8.2
-BuildRequires: libogg-devel >= 1.0
-BuildRequires: libvorbis-devel >= 1.0
+Version: 2.2.5
+Release: 1
+Epoch: 1
+License: GPL v2+
+Group: X11/Applications/Sound
+Source0: http://ftp.gnome.org/pub/GNOME/sources/easytag/2.2/%{name}-%{version}.tar.xz
+# Source0-md5: 317c2894076d01f87a2570f8497d0057
+URL: https://wiki.gnome.org/Apps/EasyTAG
+BuildRequires: appdata-tools
+BuildRequires: autoconf >= 2.64
+BuildRequires: automake >= 1:1.11
+BuildRequires: docbook-dtd44-xml
+BuildRequires: docbook-style-xsl
+BuildRequires: flac-devel >= 1.1.4
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: gtk+3-devel >= 3.2.1
+BuildRequires: id3lib-devel >= 3.8.3
+BuildRequires: intltool >= 0.50.0
+BuildRequires: libid3tag-devel
+BuildRequires: libogg-devel >= 2:1.0
+BuildRequires: libstdc++-devel
+BuildRequires: libvorbis-devel >= 1:1.0.1
+BuildRequires: libxslt-progs
+BuildRequires: opus-devel >= 1.0
+BuildRequires: opusfile-devel
+BuildRequires: pkgconfig >= 1:0.24
+BuildRequires: rpmbuild(macros) >= 1.311
+BuildRequires: speex-devel
+BuildRequires: taglib-devel >= 1.9.1
+BuildRequires: wavpack-devel >= 4.40
+BuildRequires: yelp-tools
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires: flac >= 1.1.4
+Requires: glib2 >= 1:2.32.0
+Requires: gtk+3 >= 3.2.1
+Requires: hicolor-icon-theme
+Requires: libogg >= 2:1.0
+Requires: libvorbis >= 1:1.0.1
+Requires: opus >= 1.0
+Requires: taglib >= 1.9.1
+Requires: wavpack >= 4.40
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
EasyTAG is an utility for viewing, editing and writing tags of your
-MP3, MP2, FLAC and OGG files. Its simple and nice GTK+ interface makes
-tagging easier.
+MP3, MP2, FLAC, Ogg, MusePack and Monkey's Audio files. Its simple and
+nice GTK+ interface makes tagging easier.
Features:
- - View, edit, write tags of MP3, MP2, FLAC files (supporting ID3v2 and
- ID3v1.x specifications) and OGG files,
- - Auto tagging: parse filename and directory to complete automatically
- the fields (using masks),
- - Ability to rename files from the tag (using masks) or by loading a
- txt file,
- - Process all files of the selected directory,
- - Ability to browse subdirectories,
- - Recursion for tagging, removing, renaming, saving...,
- - Can set a field (artist, title,...) to all other files,
- - Read file header informations (bitrate, time, ...) and display them,
- - A tree based browser,
- - A list to select files,
- - Simple and explicit interface!,
- - A playlist generator window,
- - A file searching window.
+- View, edit, write tags of MP3, MP2, FLAC files (supporting ID3v2 and
+ ID3v1.x specifications), Ogg files, MusePack and Monkey's Audio
+- Auto tagging: parse filename and directory to complete automatically
+ the fields (using masks),
+- Ability to rename files from the tag (using masks) or by loading a
+ txt file,
+- Process all files of the selected directory,
+- Ability to browse subdirectories,
+- Recursion for tagging, removing, renaming, saving...,
+- Can set a field (artist, title,...) to all other files,
+- Read file header informations (bitrate, time, ...) and display them,
+- A tree based browser,
+- A list to select files,
+- Simple and explicit interface!,
+- A playlist generator window,
+- A file searching window.
-%description -l pl
-EasyTAG to narzêdzie do przegl±dania, modyfikownia i zapisywania
-etykiet (tagów) w plikach MP3, MP2, FLAC i OGG. Prosty i mi³y
-interfejs GTK+ u³atwia to zadanie.
+%description -l hu.UTF-8
+EasyTag egy eszköz az MP3, MP2, FLAC, Ogg, MusePack és Monkey's Audio
+fájlok tagjeinek megtekintésére, szerkesztésére és írására. Egy
+egyszerű GTK+ felület ezt meg is könnyíti.
-Mo¿liwo¶ci:
- - przegl±danie, modyfikowanie, zapisywanie etykiet w plikach MP3,
- MP2, FLAC (z obs³ug± formatów ID3v2 i ID3v1.x) i OGG
- - automatyczne etykietowanie: tworzenie pól na podstawie nazwy pliku
- i katalogu (przy u¿yciu masek)
- - mo¿liwo¶æ zmiany nazw plików na podstawie etykiet (przy u¿yciu
- masek) lub wczytuj±c je z pliku tekstowego
- - obróbka wszystkich plików w podanym katalogu
- - mo¿liwo¶æ przegl±dania podkatalogów
- - rekurencja przy etykietowaniu, usuwaniu, zmianie nazw, zapisywaniu
- - mo¿liwo¶æ ustawienia pola (wykonawca, tytu³...) we wszystkich
- pozosta³ych plikach
- - wczytywanie i wy¶wietlanie informacji z nag³ówka (czas, jako¶æ)
- - przegl±darka bazuj±ca na drzewie
- - lista z wyborem plików
- - prosty inferfejs
- - generowanie playlist
- - wyszukiwanie plików.
+Lehetőségek:
+- MP3, MP2, FLAC (ID3v2 és ID3v1.x is), Ogg, MusePack és Monkey's
+ Audio fájlok tag-jeine megtekintése, szerkesztése és mentése
+- Automatikus tag-szerkesztés: fájlnév és könyvtár feldolgozása
+ alapján tölti ki a mezőket
+- Fájlok átnevezése a mezők alapján vagy egy betöltött txt-fájl
+ segítségével
+- A kijelölt könyvtár összes fájljának feldolgozása
+- Alkönyvtárak böngészése
+- Rekurzió gyakorlatilag mindenre
+- Összes fájlra mező beállítása (előadó, számcím)
+- Header információk olvasása (bitráta, hossz, ...) és megjelenítése
+- Fastruktúrás böngészés
+- Fájlok listájának kijelölése
+- Egyszerű és gyors felület
+- Lejátszási lista generálás
+- Fájlkeresés
+
+%description -l pl.UTF-8
+EasyTAG to narzędzie do przeglądania, modyfikowania i zapisywania
+etykiet (tagów) w plikach MP3, MP2, FLAC, Ogg, MusePack i Monkey's
+Audio. Prosty i miły interfejs GTK+ ułatwia to zadanie.
+
+Możliwości:
+- przeglądanie, modyfikowanie, zapisywanie etykiet w plikach MP3, MP2,
+ FLAC (z obsługą formatów ID3v2 i ID3v1.x), Ogg, MusePack i Monkey's
+ Audio,
+- automatyczne etykietowanie: tworzenie pól na podstawie nazwy pliku i
+ katalogu (przy użyciu masek),
+- możliwość zmiany nazw plików na podstawie etykiet (przy użyciu
+ masek) lub wczytując je z pliku tekstowego
+- obróbka wszystkich plików w podanym katalogu,
+- możliwość przeglądania podkatalogów,
+- rekurencja przy etykietowaniu, usuwaniu, zmianie nazw, zapisywaniu
+- możliwość ustawienia pola (wykonawca, tytuł...) we wszystkich
+ pozostałych plikach,
+- wczytywanie i wyświetlanie informacji z nagłówka (czas, jakość),
+- przeglądarka bazująca na drzewie,
+- lista z wyborem plików,
+- prosty interfejs,
+- generowanie playlist,
+- wyszukiwanie plików.
%prep
%setup -q
-#%patch0 -p1
-%patch1 -p1
-#%patch2 -p0
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
%build
-rm -f missing
-%{__gettextize}
+%{__intltoolize}
+%{__aclocal} -I m4
%{__autoheader}
-%{__aclocal}
%{__autoconf}
%{__automake}
-%configure
+%configure \
+ --disable-silent-rules
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- gnome_menudir=%{_applnkdir}/Multimedia
+ DESTDIR=$RPM_BUILD_ROOT
-%find_lang %{name}
+%find_lang %{name} --with-gnome
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_desktop_database_post
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_icon_cache hicolor
+
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc ChangeLog README TODO THANKS USERS-GUIDE
+%doc AUTHORS ChangeLog HACKING NEWS README THANKS TODO
%attr(755,root,root) %{_bindir}/easytag
-%{_applnkdir}/Multimedia/easytag.desktop
-%{_pixmapsdir}/*
-%{_datadir}/easytag
-%{_mandir}/man1/*.1*
+%{_datadir}/appdata/easytag.appdata.xml
+%{_desktopdir}/easytag.desktop
+%{_mandir}/man1/easytag.1*
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg