Blob Blame Raw
Name:		asunder
Summary:	A graphical Audio CD ripper and encoder
Version:	2.8
Release:	2%{?dist}
License:	GPLv2
Group:		Applications/Multimedia
URL:		http://littlesvr.ca/asunder
Source0:	http://littlesvr.ca/asunder/releases/asunder-%{version}.tar.bz2
Patch0:		asunder-aarch64.patch
Requires:	cdparanoia
#recommended runtime dependencies
Requires:	vorbis-tools
Requires:	flac
#for mp3 encoding (due to Fedora's patent policy available only from RPMFusion repository)
#Requires:	lame
#additional runtime dependency (lossy and lossless hybrid compression mode)
#Requires:	wavpack
#additional runtime dependency (Monkey’s Audio - lossless compression)
#Requires:	mac
#additional runtime dependency (Musepack compression)
#Requires:	musepack-tools
#additional runtime dependency (Opus codec)
#Requires:	opus-tools

#Musepack is packaged only as a library
#Nero AAC encoder is not currently packaged

#version was taken from the program's website
BuildRequires:	libcddb-devel >= 0.9.5
BuildRequires:	gtk2-devel >= 2.4
BuildRequires:	desktop-file-utils
BuildRequires:	gettext
BuildRequires:	intltool >= 0.34.90

%description
It allows to save tracks from an Audio CD as WAV, OGG, FLAC, Wavpack
and/or MP3, Monkey's Audio, Musepack, AAC (using third-party software).

%prep
%setup -q
%patch0 -p1

%build
%configure
make %{?_smp_mflags}

%install
%make_install INSTALL='install -p'

%find_lang %{name}

desktop-file-install --dir %{buildroot}%{_datadir}/applications \
	%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
	--vendor fedora \
	%endif
	--add-category X-AudioVideoImport \
	%{buildroot}%{_datadir}/applications/asunder.desktop

%post
/usr/bin/update-desktop-database &> /dev/null || :

%postun
/usr/bin/update-desktop-database &> /dev/null || :

%files -f %{name}.lang
%{_bindir}/asunder
%doc AUTHORS COPYING ChangeLog README TODO NEWS
%{_datadir}/applications/*asunder.desktop
%{_datadir}/pixmaps/asunder.png

%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Sun Oct 18 2015 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.8-1
- Update to 2.8 (#1167637)

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.5-4
- Rebuilt for Fedora 23 Change
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code

* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Mar 16 2014 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.5-1
- Update to 2.5

* Sat Mar 01 2014 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.4-1
- Update to 2.4
- Fix bogus date in changelog

* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Thu May 30 2013 Christoph Wickert <cwickert@fedoraproject.org> - 2.3-2
- Fix desktop vendor conditional
- Enable aarch64 support (#925039)

* Thu May 30 2013 Christoph Wickert <cwickert@fedoraproject.org> - 2.3-1
- Update to 2.3 (#964272)
- Make desktop vendor conditional
- Add MimeType scriptlets

* Sun Feb 10 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 2.2-3
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
- clean up spec to follow current guidelines

* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

* Sun Feb 26 2012 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.2-1
- updated to 2.2
- add BuildRequires for intltool to fix a build problem in Koji

* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 2.1-2
- Rebuild for new libpng

* Fri Jun 24 2011 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.1-1
- updated to 2.1

* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sat Aug 07 2010 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 2.0-1
- updated to 2.0

* Thu Apr 22 2010 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.9.3-1
- updated to 1.9.3

* Thu Dec 10 2009 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.9.1-1
- updated to 1.9.1

* Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.9-2
- Update desktop file according to F-12 FedoraStudio feature

* Fri Sep 18 2009 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.9-1
- updated to 1.9
- added new additional runtime dependencies (Monkey's Audio)
- precised a description (bug 478352 - thanks to Horst H. von Brand)
- removed not needed anymore patch fixing sv locales in .desktop file 

* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Sat Dec 27 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.6.2-1
- updated to 1.6.2

* Tue Sep 16 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.6.1-1
- updated to 1.6.1

* Tue Jul 1 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.6-1
- updated to 1.6
- removed explicit libcddb dependency
- broken too long desciption line

* Sun May 4 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.5-1
- updated to 1.5
- added (commented for now) wavpack dependency

* Mon Feb 4 2008 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.0.2-1
- updated to 1.0.2

* Tue Dec 18 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 1.0-1
- updated to 1.0

* Fri Nov 09 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.9-2
- applied Michael Schwendt suggestions (all below)
- removed redundant --prefix argument
- used --delete-original to delete .desktop file
- removed minimal required version of libcddb from Requires

* Sat Oct 06 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.9-1
- updated to 0.9

* Mon Sep 03 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.1-2
- added libcddv-devel to BuildRequires section
- removed unused patch

* Sat Sep 01 2007 Marcin Zajaczkowski <mszpak ATT wp DOTT pl> - 0.8.1-1
- initial release