1116b62
Name:           soundconverter
53a7ea2
Version:        1.5.3
295e6af
Release:        6%{?dist}
6b97a35
Summary:        Simple sound converter application for GNOME
1116b62
1116b62
Group:          Applications/Multimedia
b8509be
License:        GPLv3
1116b62
URL:            http://soundconverter.berlios.de/
285da6b
Source0:        http://download.berlios.de/soundconverter/%{name}-%{version}.tar.gz
1116b62
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1116b62
BuildArch:      noarch
1116b62
1116b62
BuildRequires:  desktop-file-utils
849a3ee
BuildRequires:  intltool gettext
23d82c6
BuildRequires:  pygtk2
23d82c6
BuildRequires:  gnome-python2-gnome
23d82c6
6b97a35
# reported upstream, #017664
daa0b67
Patch0: soundconverter-1.5.3-bz647336.patch
8c2d8ef
# applied upstream, #017426
6b97a35
Patch1: soundconverter-1.5.3-target-folder-is-uri.patch
1a6319c
# bz #654045
8c2d8ef
# reported upstream, patch id 003091
1a6319c
Patch2: soundconverter-1.5.3-artist-albums.patch
5885fb6
# bz #656526
8c2d8ef
# reported upstream, patch id 003090
5885fb6
Patch3: soundconverter-1.5.3-cli-batch.patch
daa0b67
23d82c6
# version 2.10 is old enough not to need an explicit version here
23d82c6
Requires:       pygtk2
23d82c6
Requires:       gnome-python2-gnome
23d82c6
Requires:       gnome-python2-gconf
90919bd
90919bd
Requires:       gstreamer-python
90919bd
Requires:       gstreamer-plugins-base
90919bd
Requires:       gstreamer-plugins-good
90919bd
1116b62
1116b62
%description
1116b62
A simple sound converter application for the GNOME environment. It reads and
1116b62
writes anything the GStreamer library can.
1116b62
90919bd
1116b62
%prep
1116b62
%setup -q
daa0b67
%patch0 -p1 -b .bz647336
6b97a35
%patch1 -p1 -b .target-folder-is-uri
1a6319c
%patch2 -p1 -b .artist-albums
5885fb6
%patch3 -p1 -b .cli-batch
1116b62
90919bd
1116b62
%build
90919bd
%configure --disable-dependency-tracking
90919bd
make %{?_smp_mflags}
90919bd
1116b62
1116b62
%install
1116b62
rm -rf $RPM_BUILD_ROOT
90919bd
make install DESTDIR=${RPM_BUILD_ROOT}
662440f
90919bd
%find_lang %{name}
90919bd
1116b62
desktop-file-install --vendor=fedora \
1116b62
  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
1116b62
  --add-category X-Fedora \
2b23a46
  --add-category X-OutputGeneration \
8293151
  --delete-original \
90919bd
  ${RPM_BUILD_ROOT}/usr/share/applications/%{name}.desktop
90919bd
1116b62
1116b62
%clean
1116b62
rm -rf $RPM_BUILD_ROOT
1116b62
90919bd
662440f
%post
662440f
touch --no-create %{_datadir}/icons/hicolor || :
662440f
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
662440f
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
662440f
fi
662440f
update-desktop-database &> /dev/null ||:
662440f
662440f
662440f
%postun
662440f
touch --no-create %{_datadir}/icons/hicolor || :
662440f
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
662440f
  %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
662440f
fi
662440f
update-desktop-database &> /dev/null ||:
662440f
662440f
90919bd
%files -f %{name}.lang
1116b62
%defattr(-,root,root,-)
1116b62
%doc ChangeLog COPYING README TODO
23d82c6
%{_mandir}/man1/%{name}*
1116b62
%{_bindir}/%{name}
23d82c6
%{_datadir}/%{name}/
1116b62
%{_datadir}/applications/*%{name}.desktop
662440f
%{_datadir}/icons/hicolor/48x48/apps/*.png
b4f8697
%{_datadir}/icons/hicolor/scalable/apps/*.svg
90919bd
1116b62
1116b62
%changelog
295e6af
* Fri Nov 26 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-6
295e6af
- Fix command-line options -m and -s, which have never worked,
295e6af
  and -t which was broken by changes after 1.4.4.
295e6af
5885fb6
* Wed Nov 24 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-5
5885fb6
- Fix command-line batch mode (#656526). Also skip conversion if input
5885fb6
  file name is same as output file name (as that would not have worked
89cd0b6
  so far and would have emptied/deleted the input file instead).
5885fb6
1a6319c
* Wed Nov 17 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-4
1a6319c
- Fix target folder for artist/album creation when the source files are
1a6319c
  stored in subdirectories (#654045).
1a6319c
6b97a35
* Tue Nov 16 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-3
6b97a35
- Remove urllib.quote call for target folder URI, so e.g. space characters
6b97a35
  don't lead to creating a new unescaped target folder.
6b97a35
daa0b67
* Thu Oct 28 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-2
daa0b67
- Patch po files for combobox "AssertionError: model:4 widgets:5" (#647336)
daa0b67
53a7ea2
* Thu Jun 17 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.3-1
53a7ea2
- Upgrade to 1.5.3.
53a7ea2
b1be98e
* Tue Jun 15 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-2
b1be98e
- Fix ZeroDivisionError in progress calculation.
b1be98e
285da6b
* Tue Jun 15 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.5.2-1
285da6b
- Upgrade to 1.5.2.
285da6b
23d82c6
* Wed May 12 2010 Michael Schwendt <mschwendt@fedoraproject.org> - 1.4.4-2
23d82c6
- Update .desktop file patch.
23d82c6
- Minor spec adjustments in explicit deps and files section.
23d82c6
23d82c6
* Sat Jan 23 2010 Xavier Lamien <laxathom@fedoraproject.org> - 1.4.4-1
2ef11da
- Update release.
2ef11da
2b23a46
* Sun Sep 27 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.3.2-4
2b23a46
- Update desktop file according to F-12 FedoraStudio feature
2b23a46
0af7972
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-3
0af7972
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
0af7972
4fa058f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-2
4fa058f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
4fa058f
35337f3
* Mon Aug 25 2008 Denis Leroy <denis@poolshark.org> - 1.3.2-1
35337f3
- Update to upstream 1.3.2
a1a69ec
- Fixed gnome-python2 BR
35337f3
acb9652
* Tue May 13 2008 Denis Leroy <denis@poolshark.org> - 1.2.0-1
acb9652
- Update to upstream 1.2.0
acb9652
6838734
* Fri Jan 11 2008 Denis Leroy <denis@poolshark.org> - 0.9.8-1
6838734
- Update to upstream 0.9.8, bugfix release
6838734
b8509be
* Thu Aug 16 2007 Denis Leroy <denis@poolshark.org> - 0.9.7-1
b8509be
- Update to 0.9.7
b8509be
- Updated License tag
b8509be
- Added patch to fix desktop file
b8509be
b4f8697
* Sun Apr 29 2007 Denis Leroy <denis@poolshark.org> - 0.9.6-1
b4f8697
- Update to 0.9.6
b4f8697
- Removed some icon-related hacks, fixed upstream
b4f8697
662440f
* Thu Mar  1 2007 Denis Leroy <denis@poolshark.org> - 0.9.4-1
662440f
- Update to 0.9.4
662440f
- Removed taglib patch, is upstream
662440f
- Moved desktop icon into /usr/share/icons/
662440f
d42b422
* Wed Nov  8 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-2
d42b422
- Added patch to detect missing id3v2mux gst plugin
d42b422
43064f9
* Thu Oct 19 2006 Denis Leroy <denis@poolshark.org> - 0.9.3-1
43064f9
- Update to 0.9.3
43064f9
357d330
* Tue Oct 17 2006 Denis Leroy <denis@poolshark.org> - 0.9.2-1
357d330
- Update to 0.9.2
357d330
8293151
* Fri Sep  8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-3
8293151
- Fixed desktop install
8293151
849a3ee
* Fri Sep  8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-2
849a3ee
- Added intltool BRs
849a3ee
90919bd
* Fri Sep  8 2006 Denis Leroy <denis@poolshark.org> - 0.9.1-1
90919bd
- Update to 0.9.1
90919bd
- Uses gstreamer 1.0
90919bd
- Some cleanup, use upstream configure and desktop
90919bd
198dc41
* Mon Sep  4 2006 Denis Leroy <denis@poolshark.org> - 0.8.3-2
198dc41
- FE6 Rebuild
198dc41
5796d40
* Sun Feb 12 2006 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.3-1
5796d40
- Upstream update
5796d40
- Updated to use gstreamer08
5796d40
59b532c
* Tue Nov 15 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-2
59b532c
- Added gnome-python2-gconf to Requires (#173290)
59b532c
6876b34
* Mon Nov 14 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.1-1
6876b34
- Upstream update
6876b34
1116b62
* Sun Oct  2 2005 Ignacio Vazquez-Abrams <ivazquez@ivazquez.net> 0.8.0-1
1116b62
- Initial RPM release