|
|
567a733 |
Name: gtkpod
|
|
|
acc9273 |
Version: 0.99.12
|
|
|
555940b |
Release: 5%{?dist}
|
|
|
567a733 |
Summary: Graphical song management program for Apple's iPod
|
|
|
567a733 |
|
|
|
567a733 |
Group: Applications/Multimedia
|
|
|
2ff3f63 |
License: GPLv2+
|
|
|
567a733 |
URL: http://www.gtkpod.org
|
|
|
567a733 |
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
1cb7523 |
# https://bugzilla.redhat.com/449199
|
|
|
1cb7523 |
Patch0: gtkpod-0.99.12-use-xdg-open.patch
|
|
|
555940b |
# https://bugzilla.redhat.com/428940 (upstream patch)
|
|
|
555940b |
Patch1: gtkpod-0.99.12-tooltips.patch
|
|
|
567a733 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
567a733 |
|
|
|
2ff3f63 |
BuildRequires: curl-devel
|
|
|
567a733 |
BuildRequires: desktop-file-utils
|
|
|
2ff3f63 |
BuildRequires: flac-devel
|
|
|
567a733 |
BuildRequires: flex
|
|
|
567a733 |
BuildRequires: gettext
|
|
|
2ff3f63 |
BuildRequires: gnome-vfs2-devel
|
|
|
2ff3f63 |
BuildRequires: hal-devel
|
|
|
567a733 |
BuildRequires: libglade2-devel
|
|
|
2ff3f63 |
BuildRequires: libgnomecanvas-devel
|
|
|
66e6338 |
BuildRequires: libgpod-devel >= 0.6.0
|
|
|
567a733 |
BuildRequires: libid3tag-devel
|
|
|
567a733 |
BuildRequires: libmp4v2-devel
|
|
|
2ff3f63 |
BuildRequires: libvorbis-devel
|
|
|
2ff3f63 |
BuildRequires: perl(XML::Parser)
|
|
|
567a733 |
|
|
|
66e6338 |
# some of the scripts in %{_datadir}/%{name}/scripts use which
|
|
|
66e6338 |
Requires: which
|
|
|
1cb7523 |
Requires: xdg-utils
|
|
|
66e6338 |
|
|
|
567a733 |
%description
|
|
|
567a733 |
gtkpod is a platform independent Graphical User Interface for Apple's
|
|
|
1cb7523 |
iPod using GTK2. It supports all current iPod models, including
|
|
|
1cb7523 |
the Mini, Photo, Shuffle, Nano, Video, Classic, Touch, and iPhone.
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
567a733 |
%prep
|
|
|
567a733 |
%setup -q
|
|
|
1cb7523 |
%patch0 -p1 -b .use-xdg-open
|
|
|
555940b |
%patch1 -p1 -b .tooltips
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
567a733 |
%build
|
|
|
567a733 |
%configure
|
|
|
567a733 |
make %{?_smp_mflags}
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
567a733 |
%install
|
|
|
567a733 |
rm -rf %{buildroot}
|
|
|
567a733 |
make install DESTDIR=%{buildroot} INSTALL="install -p"
|
|
|
567a733 |
|
|
|
567a733 |
desktop-file-install \
|
|
|
567a733 |
--vendor fedora \
|
|
|
2ff3f63 |
--delete-original \
|
|
|
567a733 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
2ff3f63 |
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
567a733 |
|
|
|
567a733 |
%find_lang %{name}
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
567a733 |
%clean
|
|
|
567a733 |
rm -rf %{buildroot}
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
2ff3f63 |
%post
|
|
|
2ff3f63 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
2ff3f63 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
2ff3f63 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
2ff3f63 |
fi
|
|
|
2ff3f63 |
|
|
|
2ff3f63 |
|
|
|
2ff3f63 |
%postun
|
|
|
2ff3f63 |
touch --no-create %{_datadir}/icons/hicolor
|
|
|
2ff3f63 |
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
|
|
2ff3f63 |
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
|
|
2ff3f63 |
fi
|
|
|
2ff3f63 |
|
|
|
2ff3f63 |
|
|
|
567a733 |
%files -f %{name}.lang
|
|
|
567a733 |
%defattr(-,root,root,-)
|
|
|
567a733 |
%doc AUTHORS ChangeLog* COPYING README TODOandBUGS.txt TROUBLESHOOTING
|
|
|
567a733 |
%{_bindir}/%{name}
|
|
|
567a733 |
%{_datadir}/%{name}
|
|
|
2ff3f63 |
%{_datadir}/icons/hicolor/*/apps/%{name}.png
|
|
|
567a733 |
%{_datadir}/applications/*.desktop
|
|
|
567a733 |
|
|
|
567a733 |
|
|
|
567a733 |
%changelog
|
|
|
555940b |
* Sat Jan 17 2009 Todd Zullinger <tmz@pobox.com> - 0.99.12-5
|
|
|
555940b |
- Apply upstream fix for disappearing tooltips (#428940)
|
|
|
555940b |
|
|
|
b57947b |
* Mon Dec 01 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.99.12-4
|
|
|
b57947b |
- Rebuild for Python 2.6
|
|
|
b57947b |
|
|
|
1cb7523 |
* Tue Jun 10 2008 Todd Zullinger <tmz@pobox.com> - 0.99.12-3
|
|
|
1cb7523 |
- use xdg-open as default player (#449199)
|
|
|
1cb7523 |
(patch from Debarshi Ray)
|
|
|
1cb7523 |
- update %%description to include more complete model list
|
|
|
1cb7523 |
|
|
|
07f3157 |
* Tue Feb 12 2008 Todd Zullinger <tmz@pobox.com> - 0.99.12-2
|
|
|
07f3157 |
- rebuild for gcc 4.3
|
|
|
07f3157 |
|
|
|
acc9273 |
* Tue Dec 11 2007 Todd Zullinger <tmz@pobox.com> - 0.99.12-1
|
|
|
acc9273 |
- update to 0.99.12
|
|
|
acc9273 |
|
|
|
66e6338 |
* Wed Nov 21 2007 Todd Zullinger <tmz@pobox.com> - 0.99.10-2
|
|
|
66e6338 |
- rebuild for libgpod-0.6.0
|
|
|
66e6338 |
- apply upstream patch to fix smart playlist play time bug
|
|
|
66e6338 |
- Requires: which (used in some of the provided scripts)
|
|
|
66e6338 |
|
|
|
2ff3f63 |
* Sat Aug 04 2007 Todd Zullinger <tmz@pobox.com> - 0.99.10-1
|
|
|
2ff3f63 |
- update to 0.99.10
|
|
|
2ff3f63 |
- use upstream .desktop file
|
|
|
2ff3f63 |
- add new BRs, update libgpod BR to >= 0.5.2
|
|
|
2ff3f63 |
- add %%post and %%postun to update the icon cache
|
|
|
2ff3f63 |
- update license tag
|
|
|
2ff3f63 |
|
|
|
567a733 |
* Fri Feb 16 2007 Todd Zullinger <tmz@pobox.com> - 0.99.8-3
|
|
|
567a733 |
- preserve timestamps when copying .desktop file to builddir and
|
|
|
567a733 |
running make install
|
|
|
567a733 |
- use a symlink for the menu icon
|
|
|
567a733 |
|
|
|
567a733 |
* Mon Feb 12 2007 Todd Zullinger <tmz@pobox.com> - 0.99.8-2
|
|
|
567a733 |
- remove redundant gtk2-devel BR
|
|
|
567a733 |
- move .desktop creation to a separate file
|
|
|
567a733 |
- remove livna stuff from .desktop file
|
|
|
567a733 |
- don't use macros for install and mkdir
|
|
|
567a733 |
- remove NEWS file from %%doc as it mostly mirrors the ChangeLog
|
|
|
567a733 |
|
|
|
567a733 |
* Mon Feb 12 2007 Todd Zullinger <tmz@pobox.com> - 0.99.8-1
|
|
|
567a733 |
- initial fedora package, parts stolen from Matthias' FreshRPMS spec
|