Name: schismtracker Version: 20090817 Release: 1%{?dist} Summary: Sound module composer/player Group: Applications/Multimedia License: GPLv2 URL: http://www.nimh.org/schismtracker/ Source0: http://schismtracker.org/dl/schismtracker-%{version}.tar.bz2 Source1: schismtracker.desktop BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: hicolor-icon-theme BuildRequires: SDL-devel desktop-file-utils %if 0%{!?_without_x:1} BuildRequires: libXt-devel libXxf86misc-devel libXv-devel %endif %description Schismtracker is a module tracker for the X Window System similar to the DOS program `Impulse Tracker'. Schismtracker can play/modify various sound formats such as MOD, S3M, XM, IT, 669 and others. The user interface is mostly text-based using SDL for graphical output. %prep %setup -q %build %configure --disable-dependency-tracking \ %if 0%{?_without_x:1} --with-x=no \ %endif ; make %{?_smp_mflags} %install rm -rf %{buildroot} make install DESTDIR=%{buildroot} pushd icons for i in 16 22 24 32 36 48 64 72 96; do install -m644 -D schism-icon-${i}.png %{buildroot}/%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png done install -m644 -D schism-icon.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg popd desktop-file-install --vendor fedora \ --dir %{buildroot}/%{_datadir}/applications \ %SOURCE1 %clean rm -rf %{buildroot} %post update-desktop-database &> /dev/null ||: touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %postun update-desktop-database &> /dev/null ||: touch --no-create %{_datadir}/icons/hicolor || : %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : %files %defattr(-,root,root,-) %doc AUTHORS COPYING COPYING.frag-opt COPYING.libmodplug NEWS README %{_bindir}/schismtracker %{_datadir}/applications/fedora-schismtracker.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.* %changelog * Mon Nov 09 2009 Jindrich Novy 20090817-1 - update to the latest upstream (#533593) * Wed Feb 25 2009 Fedora Release Engineering - 0.5-0.8.rc1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 25 2008 Jindrich Novy 0.5-0.7.rc1 - manual rebuild because of gcc-4.3 (#434193) * Tue Feb 19 2008 Fedora Release Engineering - 0.5-0.6.rc1 - Autorebuild for GCC 4.3 * Wed May 09 2007 Jindrich Novy 0.5-0.5.rc1 - update License - rebuild for BuildID * Wed May 09 2007 Jindrich Novy 0.5-0.4.rc1 - bump release to avoid EVR problems with FC-5/FC-6 * Fri May 04 2007 Jindrich Novy 0.5-0.3.rc1 - add X dependencies (#238824), thanks to Ville Skyttä - tune the .desktop file yet more * Fri May 04 2007 Jindrich Novy 0.5-0.2.rc1 - update GTK icon caches in %%post, %%postun - remove unneeded dependencies - update .desktop file * Wed May 02 2007 Jindrich Novy 0.5-0.1rc1 - package schismtracker