1deb2a5
%global _hardened_build 1
1deb2a5
1deb2a5
Name:    easytag
2ab1943
Version: 2.3.7
3ef9771
Release: 3%{?dist}
1deb2a5
Summary: Tag editor for MP3, Ogg, FLAC and other music files
1deb2a5
1deb2a5
Group:   Applications/Multimedia
070bfb2
License: GPLv2+
1deb2a5
URL:     https://wiki.gnome.org/Apps/EasyTAG
1ca9078
Source:  https://download.gnome.org/sources/%{name}/2.3/%{name}-%{version}.tar.xz
e95137f
# https://bugzilla.redhat.com/show_bug.cgi?id=1226671
e95137f
Patch0:  easytag-2.3.7-fix-browser-key-event-crash.patch
3ef9771
# https://bugzilla.redhat.com/show_bug.cgi?id=1231502
3ef9771
Patch1:  easytag-2.3.7-fix-flac-header-read-crash.patch
1deb2a5
6f61b12
BuildRequires: appdata-tools
9c4bed3
BuildRequires: desktop-file-utils
db2bfd7
BuildRequires: docbook-dtds
db2bfd7
BuildRequires: docbook-style-xsl
e4ce770
BuildRequires: id3lib-devel >= 3.7.12
9c4bed3
BuildRequires: intltool
db2bfd7
BuildRequires: itstool
db2bfd7
BuildRequires: libxslt
343ab69
BuildRequires: pkgconfig(flac)
343ab69
BuildRequires: pkgconfig(gtk+-3.0)
343ab69
BuildRequires: pkgconfig(id3tag)
1ca9078
BuildRequires: pkgconfig(libnautilus-extension)
343ab69
BuildRequires: pkgconfig(opusfile)
343ab69
BuildRequires: pkgconfig(speex)
343ab69
BuildRequires: pkgconfig(taglib)
343ab69
BuildRequires: pkgconfig(vorbisfile)
343ab69
BuildRequires: pkgconfig(wavpack)
33bc0fe
Recommends:    yelp
cvsextras 7836f1c
cvsextras 7836f1c
%description
1deb2a5
EasyTAG is a utility for viewing, editing and writing the tags of MP4, MP3,
1deb2a5
MP2, FLAC, Ogg Opus, Ogg Speex, Ogg Vorbis, MusePack and Monkey's Audio files.
cvsextras 7836f1c
1ca9078
%package nautilus
1ca9078
Summary:  Nautilus extension for opening in EasyTAG
1ca9078
Group:    User Interface/Desktops
1ca9078
License:  GPLv3+
1ca9078
Requires: %{name}%{?_isa} = %{version}-%{release}
1ca9078
1ca9078
%description nautilus
1ca9078
Nautilus extension to add "Open with EasyTAG" to the Nautilus context menu, for
1ca9078
easier access to EasyTAG when opening directories and audio files.
cvsextras 7836f1c
cvsextras 7836f1c
%prep
2be68a1
%setup -q
e95137f
%patch0 -p1
3ef9771
%patch1 -p1
343ab69
cvsextras 7836f1c
cvsextras 7836f1c
%build
cvsextras 7836f1c
%configure
9c4bed3
make V=1 %{?_smp_mflags}
cvsextras 7836f1c
cvsextras 7836f1c
cvsextras 7836f1c
%install
1ca9078
make DESTDIR=%{buildroot} INSTALL="install -p" install
1ca9078
find %{buildroot} -type f -name "*.la" -delete
db2bfd7
%find_lang %{name} --with-gnome
cvsextras 7836f1c
cvsextras 7836f1c
9c4bed3
%check
6f61b12
make check
9c4bed3
9c4bed3
9c4bed3
%post
9c4bed3
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
9c4bed3
update-desktop-database &> /dev/null || :
9c4bed3
9c4bed3
%postun
9c4bed3
if [ $1 -eq 0 ] ; then
1ca9078
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
9c4bed3
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
9c4bed3
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
9c4bed3
fi
9c4bed3
update-desktop-database &> /dev/null || :
9c4bed3
9c4bed3
%posttrans
1ca9078
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
9c4bed3
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
cvsextras 7836f1c
cvsextras 7836f1c
cvsextras 7836f1c
%files -f %{name}.lang
7fb76d5
%doc ChangeLog HACKING README THANKS TODO
7fb76d5
%license COPYING
cvsextras 7836f1c
%{_bindir}/easytag
6f61b12
%{_datadir}/appdata/easytag.appdata.xml
afbd731
%{_datadir}/applications/easytag.desktop
9c4bed3
%{_datadir}/icons/hicolor/*/apps/easytag.*
36efaa2
%{_datadir}/icons/hicolor/symbolic/apps/easytag-symbolic.svg
1ca9078
%{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.enums.xml
1ca9078
%{_datadir}/glib-2.0/schemas/org.gnome.EasyTAG.gschema.xml
afbd731
%{_mandir}/man1/easytag.1*
cvsextras 7836f1c
1ca9078
%files nautilus
7fb76d5
%license COPYING.GPL3
1ca9078
%{_datadir}/appdata/easytag-nautilus.metainfo.xml
1ca9078
%{_libdir}/nautilus/extensions-3.0/libnautilus-easytag.so
1ca9078
cvsextras 7836f1c
cvsextras 7836f1c
%changelog
3ef9771
* Mon Jun 15 2015 David King <amigadave@amigadave.com> - 2.3.7-3
3ef9771
- Fix crash when failing to read FLAC headers (#1231502)
3ef9771
e95137f
* Sun May 31 2015 David King <amigadave@amigadave.com> - 2.3.7-2
e95137f
- Fix crash when changing directory (#1226671)
e95137f
2ab1943
* Sun May 17 2015 David King <amigadave@amigadave.com> - 2.3.7-1
2ab1943
- Update to 2.3.7
2ab1943
36efaa2
* Mon Apr 20 2015 David King <amigadave@amigadave.com> - 2.3.6-1
36efaa2
- Update to 2.3.6
36efaa2
e4ec4d8
* Tue Mar 10 2015 David King <amigadave@amigadave.com> - 2.3.5-1
e4ec4d8
- Update to 2.3.5
7fb76d5
- Use license macro for COPYING and COPYING.GPL3
e4ec4d8
ee00070
* Fri Feb 06 2015 David King <amigadave@amigadave.com> - 2.3.4-1
ee00070
- Update to 2.3.4
ee00070
070bfb2
* Wed Dec 31 2014 David King <amigadave@amigadave.com> - 2.3.3-1
070bfb2
- Update to 2.3.3
070bfb2
33bc0fe
* Sun Nov 30 2014 David King <amigadave@amigadave.com> - 2.3.2-1
33bc0fe
- Update to 2.3.2
33bc0fe
1ca9078
* Sat Nov 01 2014 David King <amigadave@amigadave.com> 2.3.1-1
1ca9078
- Update to 2.3.1
1ca9078
- Add new -nautilus subpackage for Nautilus extension
1ca9078
7a7426e
* Sat Sep 27 2014 David King <amigadave@amigadave.com> 2.2.4-1
7a7426e
- Update to 2.2.4 (#1147133)
7a7426e
- Fix crash when reloading the directory tree (#1121142)
7a7426e
07a21f5
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.3-2
07a21f5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
07a21f5
e22f675
* Sun Jun 22 2014 David King <amigadave@amigadave.com> 2.2.3-1
e22f675
- Update to 2.2.3
e22f675
6418869
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.2-3
6418869
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
6418869
91bd61d
* Sun May 18 2014 David King <amigadave@amigadave.com> 2.2.2-2
91bd61d
- Add fix for crash when browsing hidden directories
91bd61d
480819c
* Fri May 09 2014 David King <amigadave@amigadave.com> 2.2.2-1
480819c
- Update to 2.2.2
480819c
1deb2a5
* Tue Apr 22 2014 David King <amigadave@amigadave.com> 2.2.1-1
1deb2a5
- Update to 2.2.1
1deb2a5
- Add hardening flags
1deb2a5
343ab69
* Sat Apr 12 2014 David King <amigadave@amigadave.com> 2.2.0-1
343ab69
- Update to 2.2.0
343ab69
- Use pkgconfig with BuildRequires
343ab69
f980c67
* Sat Mar 08 2014 David King <amigadave@amigadave.com> 2.1.10-4
f980c67
- Avoid crash when saving files with unknown image types
f980c67
- Avoid crash when loading filenames from a text file
f980c67
0692fb6
* Fri Mar 07 2014 David King <amigadave@amigadave.com> 2.1.10-3
0692fb6
- Avoid crash when declining deletion of a file
0692fb6
6ccd03a
* Mon Mar 03 2014 David King <amigadave@amigadave.com> 2.1.10-2
6ccd03a
- Avoid crash when clicking the window close button (#1071563)
6ccd03a
6f61b12
* Wed Feb 19 2014 David King <amigadave@amigadave.com> 2.1.10-1
6f61b12
- Update to 2.1.10
6f61b12
- Install AppData
6f61b12
- Run make check
6f61b12
53eb500
* Fri Feb 07 2014 David King <amigadave@amigadave.com> 2.1.9-2
53eb500
- Avoid crash while saving Vorbis tags
53eb500
- Avoid crash when receiving invalid commandline arguments
53eb500
- Avoid double unref of GFile in open handler
53eb500
- Fix memory leak in log date formatting
53eb500
- Fix memory leak in date parsing
53eb500
db2bfd7
* Mon Jan 06 2014 David King <amigadave@amigadave.com> 2.1.9-1
53eb500
- Update to 2.1.9 (#1051759)
db2bfd7
9c4bed3
* Mon Jan 06 2014 David King <amigadave@amigadave.com> 2.1.8-1
9c4bed3
- Update to 2.1.8 (#951265)
9c4bed3
c81f5d3
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-4
c81f5d3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c81f5d3
b31019a
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-3
b31019a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b31019a
024788e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.7-2
024788e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
024788e
a6f810f
* Thu May 17 2012 Matthias Saou <matthias@saou.eu> 2.1.7-1
a6f810f
- Update to 2.1.7 final.
a6f810f
- Replace the ugly low-res xpm icon with a nicer png one.
a6f810f
afbd731
* Wed Feb  8 2012 Matthias Saou <matthias@saou.eu> 2.1.7-0.1
afbd731
- Update to 2.1.7 git snapshot.
afbd731
- Remove upstreamed patches.
afbd731
- Cosmetic spec file updates.
afbd731
- Require libmp4v2 >= 1.9.1 to still get mp4 tagging support, see #620531.
afbd731
5223bed
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-9
5223bed
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
5223bed
ae20b9d
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.1.6-8
ae20b9d
- Rebuild for new libpng
ae20b9d
1494fb4
* Sun Feb 27 2011 Ville Skyttä <ville.skytta@iki.fi> - 2.1.6-7
1494fb4
- Improve default settings (#675421).
1494fb4
- Convert README to UTF-8.
1494fb4
8e5a93b
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1.6-6
8e5a93b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
8e5a93b
3948c7e
* Fri Apr 30 2010 Matthias Saou <http://freshrpms.net/> 2.1.6-5
54045cc
- Actually apply the patch to remove x-directory/normal.
3948c7e
- Include patch to fix empty decription with flac pictures (#559828).
3948c7e
- Include patch to fix load from txt feature (#562317).
54045cc
2a25e05
* Thu Apr  8 2010 Matthias Saou <http://freshrpms.net/> 2.1.6-3
2a25e05
- Remove x-directory/normal from the desktop file (#451823).
2a25e05
e4ce770
* Mon Oct 19 2009 Matthias Saou <http://freshrpms.net/> 2.1.6-2
e4ce770
- Add libid3tag-devel BR to fix id3 tag support (#525519).
e4ce770
- Add speex-devel BR to support speex files.
e4ce770
c09d58a
* Sat Sep 12 2009 Matthias Saou <http://freshrpms.net/> 2.1.6-1
c09d58a
- Update to 2.1.6 : Development, but the latest for over a year now.
c09d58a
- Include upstream cddb_manual_search_fix patch.
c09d58a
1cb356b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-7
1cb356b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1cb356b
b0ab439
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-6
b0ab439
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
b0ab439
5b02d0b
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.1-5
5b02d0b
- Autorebuild for GCC 4.3
5b02d0b
e47ccd8
* Mon Oct 22 2007 Matthias Saou <http://freshrpms.net/> 2.1-4
e47ccd8
- Fix Russian comment of the desktop file (charset problem, #327331).
e47ccd8
4f2ea9a
* Wed Aug 22 2007 Matthias Saou <http://freshrpms.net/> 2.1-3
4f2ea9a
- Rebuild to fix wrong execmem requirement on ppc32.
4f2ea9a
01fe5c9
* Sat Aug  4 2007 Matthias Saou <http://freshrpms.net/> 2.1-2
01fe5c9
- Update License field.
01fe5c9
ca14901
* Tue May  8 2007 Matthias Saou <http://freshrpms.net/> 2.1-1
ca14901
- Update to 2.1.
ca14901
ca14901
* Wed May  2 2007 Matthias Saou <http://freshrpms.net/> 2.0.2-1
ca14901
- Update to 2.0.2.
ca14901
d1c8327
* Fri Apr 20 2007 Matthias Saou <http://freshrpms.net/> 2.0.1-1
d1c8327
- Update to 2.0.1.
d1c8327
- Update id3lib patch (Makefile.mingw changes).
d1c8327
- Include new wavpack support.
d1c8327
2be68a1
* Thu Mar  1 2007 Matthias Saou <http://freshrpms.net/> 2.0-1
2be68a1
- Update to 2.0.
2be68a1
- Remove now included APE tag patch.
2be68a1
- Chmod -x all files, then +x only where needed, since nearly all are +x :-(
2be68a1
5de0bc9
* Mon Feb 19 2007 Matthias Saou <http://freshrpms.net/> 1.99.13-3
5de0bc9
- Include patch to remove APE tags when tagging MP3 files (#200507).
5de0bc9
d25b541
* Thu Feb 15 2007 Matthias Saou <http://freshrpms.net/> 1.99.13-2
d25b541
- Rebuild against flac 1.1.4.
d25b541
- Enable libmp4v2 since it's now part of Fedora.
d25b541
b22e33a
* Tue Dec 12 2006 Matthias Saou <http://freshrpms.net/> 1.99.13-1
b22e33a
- Update to 1.99.13.
b22e33a
- Update id3lib patch to still apply.
b22e33a
- Switch away from %%makeinstall to DESTDIR method.
b22e33a
e37816e
* Mon Aug 28 2006 Matthias Saou <http://freshrpms.net/> 1.99.12-3
e37816e
- FC6 rebuild.
e37816e
4f3f062
* Tue Jul 11 2006 Matthias Saou <http://freshrpms.net/> 1.99.12-2
4f3f062
- Now use "patched" tarball with the libmpg123 directory removed.
4f3f062
- Include patch to disable libmpg123 and use id3lib instead for mpeg headers.
d8dc31c
4f3f062
* Tue Apr 11 2006 Matthias Saou <http://freshrpms.net/> 1.99.12-1
4f3f062
- Update to 1.99.12.
595b8ba
4f3f062
* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 1.99.11-2
4f3f062
- Release bump to drop the disttag number in FC5 build.
13f490d
4f3f062
* Fri Dec 16 2005 Matthias Saou <http://freshrpms.net/> 1.99.11-1
4f3f062
- Update to 1.99.11.
47818b1
4f3f062
* Tue Dec 13 2005 Matthias Saou <http://freshrpms.net/> 1.99.10-1
4f3f062
- Update to 1.99.10.
e5686e0
4f3f062
* Thu Nov  3 2005 Matthias Saou <http://freshrpms.net/> 1.99.9-1
4f3f062
- Update to 1.99.9.
8b91f5c
4f3f062
* Mon Oct 10 2005 Matthias Saou <http://freshrpms.net/> 1.99.8-1
4f3f062
- Update to 1.99.8.
4f3f062
- Try to add MP4/AAC support, but with current faad2 it fails to compile.
b48fa50
4f3f062
* Fri Oct 29 2004 Matthias Saou <http://freshrpms.net/> 1.99.1-1
4f3f062
- Fork off to "unstable" 1.99.1.
cvsextras 7836f1c
4f3f062
* Tue Jun  1 2004 Matthias Saou <http://freshrpms.net/> 0.31-1
4f3f062
- Update to stable 0.31.
cvsextras 7836f1c
4f3f062
* Fri Mar 26 2004 Matthias Saou <http://freshrpms.net/> 0.30.2-1
4f3f062
- Update to unstable 0.30.2.
cvsextras 7836f1c
4f3f062
* Wed Mar 24 2004 Matthias Saou <http://freshrpms.net/> 0.30.1-1
4f3f062
- Update to unstable 0.30.1.
4f3f062
- Remove desktop-file-install as it's now freedesktop style.
cvsextras 7836f1c
4f3f062
* Thu Feb 26 2004 Matthias Saou <http://freshrpms.net/> 0.30-4d
4f3f062
- Added patch for 0.30d.
cvsextras 7836f1c
4f3f062
* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 0.30-3c
4f3f062
- Rebuild for Fedora Core 1.
cvsextras 7836f1c
4f3f062
* Thu Oct 30 2003 Matthias Saou <http://freshrpms.net/> 0.30-2c
4f3f062
- Added patches to update to 0.30c.
cvsextras 7836f1c
4f3f062
* Tue Sep  9 2003 Matthias Saou <http://freshrpms.net/>
4f3f062
- Update to 0.30.
cvsextras 7836f1c
4f3f062
* Mon Sep  1 2003 Matthias Saou <http://freshrpms.net/>
4f3f062
- Update to 0.29.
cvsextras 7836f1c
4f3f062
* Tue Jul 15 2003 Matthias Saou <http://freshrpms.net/>
4f3f062
- Update to 0.28.1.
4f3f062
4f3f062
* Wed Jun  4 2003 Matthias Saou <http://freshrpms.net/>
4f3f062
- Update to 0.28.
4f3f062
4f3f062
* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Rebuilt for Red Hat Linux 9.
cvsextras 7836f1c
4f3f062
* Thu Mar 20 2003 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Added patch to 0.27a.
cvsextras 7836f1c
4f3f062
* Fri Feb  7 2003 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Update to 0.27.
cvsextras 7836f1c
1494fb4
* Fri Jan  3 2003 Ville Skyttä <ville.skytta@iki.fi> 0.26-fr1
cvsextras 7836f1c
- Update to 0.26.
cvsextras 7836f1c
1494fb4
* Wed Dec 25 2002 Ville Skyttä <ville.skytta@iki.fi> 0.25b-fr1
cvsextras 7836f1c
- Update to 0.25b.
cvsextras 7836f1c
- Build with flac support.
cvsextras 7836f1c
4f3f062
* Thu Oct 10 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Rebuilt for Red Hat Linux 8.0.
cvsextras 7836f1c
- New menu entry.
cvsextras 7836f1c
- Rebuild with flac support... nope, doesn't compile :-(
cvsextras 7836f1c
4f3f062
* Fri Sep 20 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Update to 0.24.
cvsextras 7836f1c
4f3f062
* Fri Aug 30 2002 Matthias Saou <http://freshrpms.net/>
cvsextras 7836f1c
- Spec file cleanup for Red Hat Linux.
cvsextras 7836f1c
- A few %%files fixes and improvements.
cvsextras 7836f1c
9c4bed3
* Tue Dec 18 2001 Jerome Couderc <j.couderc@ifrance.com>
cvsextras 7836f1c
- Updated for (Build)Requires entries
cvsextras 7836f1c
9c4bed3
* Sat Sep 22 2001 Jerome Couderc <j.couderc@ifrance.com>
cvsextras 7836f1c
- Updated for /etc/X11/applnk/Multimedia/easytag.desktop
cvsextras 7836f1c
cvsextras 7836f1c
* Thu Sep 20 2001 Götz Waschk <waschk@linux-mandrake.com> 0.15.1-1
cvsextras 7836f1c
- Updated for autoconf
cvsextras 7836f1c
cvsextras 7836f1c
* Fri Jun 2 2000 Jerome Couderc <j.couderc@ifrance.com>
cvsextras 7836f1c
- Updated to include po files into the rpm package
cvsextras 7836f1c
cvsextras 7836f1c
* Fri May 5 2000 Jerome Couderc <j.couderc@ifrance.com>
cvsextras 7836f1c
- Initial spec file.
cvsextras 7836f1c