Blob Blame History Raw
Name:    soundtracker
Version: 0.6.8
Release: 25%{?dist}

Summary: Sound module composer/player

Group:     Applications/Multimedia
License:   GPLv2+
URL:       http://www.soundtracker.org/
Source0:   http://www.soundtracker.org/dl/v0.6/soundtracker-%{version}.tar.gz
Source1:   soundtracker.desktop
Patch0:    soundtracker-0.6.8-no-setuid.patch
Patch1:    soundtracker-0.6.8-channel-mute-w-o-gdk-pixbuf.patch
Patch2:    soundtracker-aarch64.patch

BuildRequires: gtk+-devel
BuildRequires: libsndfile-devel
BuildRequires: SDL-devel
BuildRequires: desktop-file-utils

%description
Soundtracker is a module tracker for the X Window System similar to
the DOS program `FastTracker'. Soundtracker is based on the XM file
format.  The user interface makes use of GTK+.

%prep
%setup -q
%patch0 -p1 -b .no-setuid
%patch1 -p1 -b .mute-wo-pixbuf
%patch2 -p1 -b .aarch64

%build
# System has Gnome 2 (or Gnome 3 even): No need for Gnome1 support.
# System has alsa 1.0, which is API incompatible with alsa 0.4/0.5 code.
%configure --disable-gnome --disable-alsa --disable-gdk-pixbuf
make %{?_smp_mflags} LDFLAGS="-ldl"

%install
make install DESTDIR=%{buildroot}

%find_lang soundtracker

install -d -m0755 %{buildroot}/%{_datadir}/applications
desktop-file-install \
        --dir %{buildroot}/%{_datadir}/applications  \
%SOURCE1

# auto-load OSS after reboot
mkdir -p %{buildroot}/%{_prefix}/lib/modules-load.d
echo 'snd_pcm_oss' > %{buildroot}/%{_prefix}/lib/modules-load.d/%{name}.conf

%post
# load OSS after the first install
if [ "$1" = 1 ] ; then
  /usr/sbin/modprobe snd_pcm_oss
fi
exit 0

%files -f soundtracker.lang
%license COPYING
%doc AUTHORS FAQ NEWS README TODO
%{_bindir}/soundtracker
%{_datadir}/applications/*soundtracker.desktop
%{_datadir}/soundtracker/
%{_prefix}/lib/modules-load.d/%{name}.conf

%changelog
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.8-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Thu Aug 06 2015 Jaromir Capik <jcapik@redhat.com> - 0.6.8-23
- Adding OSS auto-load in th %%post and modules-load.d (#1245940)
- Fixing bogus dates in the changelog

* Thu Jul 23 2015 Ville Skyttä <ville.skytta@iki.fi> - 0.6.8-22
- Add MimeTypes to desktop file, remove deprecated Categories and vendor
- Mark COPYING as %%license

* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-21
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-19
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild

* Thu Apr 04 2013 Jaromir Capik <jcapik@redhat.com> - 0.6.8-17
- aarch64 support (#926556)
- spec cleaning

* Sun Feb 24 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 0.6.8-16
- Desktop files must retain the vendor tag in Fedora < 19.  They are only
  allowed to get rid of it in Fedora 19 and later.  This makes it so that we're
  only breaking user customization of menus when they upgrade to Fedora 19.

* Mon Feb 11 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.6.8-15
- Correct desktop file error

* Mon Feb 11 2013 Brendan Jones <brendan.jones.it@gmail.com> 0.6.8-14
- Remove vendor from desktop file

* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-13
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild

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

* Sat Feb 12 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.6.8-11
- Add soundtracker-0.6.8-channel-mute-w-o-gdk-pixbuf.patch

* Sat Feb 12 2011 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.6.8-10
- Update spec file comments
- Stop using gdk-pixbuf
- Explicitly link with -ldl

* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6.8-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.6.8-6
- fix license tag

* Fri Aug 29 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.6.8-5
- Actually use no-setuid patch, which fixes rawhide FTBFS issue.

* Sat May 31 2008 Hans Ulrich Niedermann <hun@n-dimensional.de> - 0.6.8-4
- Disable ALSA support. Upstream requires alsa 0.4 or 0.5 API, F9 has 1.0

* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.6.8-3
- Autorebuild for GCC 4.3

* Sun Sep 10 2006 Callum Lerwick <seg@haxxed.com> - 0.6.8-2
- --disable-asm breaks x86_64 builds.

* Sun Aug 13 2006 Callum Lerwick <seg@haxxed.com> - 0.6.8-1
- New upstream version.
- Enable SDL driver, this indirectly gives ALSA support, however it is rather
  unstable so we can't kill off the OSS driver just yet.
- Compiling with jack support crashes on startup, even if the jack driver is
  not enabled.

* Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 0.6.7-5
- rebuild on all arches

* Thu Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> 0.6.7-4
- rebuilt

* Wed Nov 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 0:0.6.7-3
- BR gettext-devel

* Mon Feb 2 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.2
- 0.6.7.0.fdr.1 was not  based on latest -pre rpm. Fixes build errors.

* Thu Jan 29 2004 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.1
- 0.6.7 release

* Mon Nov 17 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.0.4.pre6
- Revert soundtracker-mkinstalldirs.patch to patch provided by Michael Schwendt,
  Now builds on RH9 again.

* Fri Nov 14 2003 Nils O. Selåsdal <NOS@Utel.no>  - 0:0.6.7-0.fdr.0.3.pre6
- add soundtracker-mkinstalldirs.patch that prevents po/Makefile.in.in from
  doing funny things. Now builds on FC1.

* Sat Aug 30 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.0.2.pre6
- Remove old and painful changelogs from doc,
- Don't use macros for commands run within the .spec file
- Disable jack support.

* Thu Aug 28 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.0.1.pre6
- Correct package version
- Add missing BuildRequires. Explicit disable features we don't want(alsa,asm),
- Remove ABOUT-NLS from documentation
- Place .desktop file in external source, use correct .desktop category.

* Wed Aug 27 2003 Nils O. Selåsdal <NOS@Utel.no> - 0:0.6.7-0.fdr.1.pre6
- Initial RPM release for Fedora
- Rework Makefile.am's to work with recent autotools and to not
  install setuid root