%define SubRelease 2 %define menudir %{_datadir}/applications %define pixmaps %{_datadir}/pixmaps/%{name} %define icon %{name}-icon-48.png Summary: A platform independent GUI for Apple's iPod Name: gtkpod Version: 0.72 Release: 2.2.fdr License: GPL Group: Applications/Multimedia URL: http://gtkpod.sourceforge.net/ Source: http://prdownloads.sourceforge.net/gtkpod/gtkpod-%{version}-%{SubRelease}.tar.gz Source1: %{icon} Vendor: Jorg Schuler Packager: Casper Pedersen BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: id3lib Requires: libid3tag Requires: gettext BuildRequires: gtk2-devel >= 2.2.4 BuildRequires: glib2-devel >= 2.2.3 BuildRequires: libid3tag-devel >= 0.15 BuildRequires: gettext %description gtkpod is a platform independent GUI for Apple's iPod using GTK2. It allows you to upload songs and playlists to your iPod. It supports ID3 tag editing, multiple charsets for ID3 tags, detects duplicate songs, allows offline modification of the database with later synchronisation, and more. %prep %setup -q -n %{name}-%{version}-%{SubRelease} %build %configure make %{?_smp_mflags} %install rm -rf %{buildroot} %makeinstall mkdir -p %{buildroot}/%{menudir} mkdir -p %{buildroot}/%{pixmaps} cp -a %{SOURCE1} %{buildroot}/%{pixmaps} cat << EOF > %{buildroot}/%{menudir}/%{name}.desktop [Desktop Entry] Name=GtkPod Comment=GtkPod Exec=gtkpod Icon=%{pixmaps}/%{icon} Terminal=0 Type=Application Categories=GNOME;Application;AudioVideo;X-Red-Hat-Base; EOF %post %postun %clean rm -rf %{buildroot} %files %defattr(-, root, root) %doc AUTHORS COPYING INSTALL NEWS README %dir %{_bindir}/gtkpod %{_datadir}/locale/ %{menudir} %{pixmaps} %changelog * Sat Mar 21 2004 Casper Pedersen 0.72-2.3 - BuildRequires: gtk2-devel >= 2.2.4 - BuildRequires: glib2-devel >= 2.2.3 * Tue Mar 16 2004 Casper Pedersen 0.72-2.1 - Follow Fedora specs - add .desktop file - add icon * Mon Mar 24 2003 Mike Gerber 0.50-1 - Initial spec file