41c87dd
Name:      schismtracker
e892399
Version:   20190805
0c73881
Release:   2%{?dist}
41c87dd
Summary:   Sound module composer/player
a5d68c5
License:   GPLv2
e892399
URL:       http://schismtracker.org/
e892399
Source0:   https://github.com/schismtracker/schismtracker/archive/%{version}.tar.gz
41c87dd
Source1:   schismtracker.desktop
41c87dd
41c87dd
Requires: hicolor-icon-theme
e892399
BuildRequires: autoconf automake
Igor Gnatenko df305c2
BuildRequires:  gcc
f15b68b
BuildRequires: SDL-devel desktop-file-utils python2 >= 2.4
41c87dd
%if 0%{!?_without_x:1}
e892399
BuildRequires: libXt-devel libXv-devel
41c87dd
%endif
41c87dd
41c87dd
%description
41c87dd
Schismtracker is a module tracker for the X Window System similar to
41c87dd
the DOS program `Impulse Tracker'. Schismtracker can play/modify various
41c87dd
sound formats such as MOD, S3M, XM, IT, 669 and others.  The user interface
41c87dd
is mostly text-based using SDL for graphical output.
41c87dd
41c87dd
%prep
88f1f44
%setup -q
0c73881
mkdir auto
41c87dd
41c87dd
%build
e892399
autoreconf -i
41c87dd
%configure --disable-dependency-tracking \
41c87dd
%if 0%{?_without_x:1}
41c87dd
--with-x=no \
41c87dd
%endif
41c87dd
;
41c87dd
make %{?_smp_mflags}
41c87dd
41c87dd
%install
41c87dd
rm -rf %{buildroot}
41c87dd
make install DESTDIR=%{buildroot}
41c87dd
41c87dd
pushd icons
41c87dd
for i in 16 22 24 32 36 48 64 72 96; do
41c87dd
        install -m644 -D schism-icon-${i}.png %{buildroot}/%{_datadir}/icons/hicolor/${i}x${i}/apps/%{name}.png
41c87dd
done
41c87dd
install -m644 -D schism-icon.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
41c87dd
popd
41c87dd
53a372b
desktop-file-install \
e892399
--dir %{buildroot}/%{_datadir}/applications \
41c87dd
%SOURCE1
41c87dd
41c87dd
%files
e892399
%doc AUTHORS COPYING NEWS
41c87dd
%{_bindir}/schismtracker
53a372b
%{_datadir}/applications/schismtracker.desktop
41c87dd
%{_datadir}/icons/hicolor/*/apps/%{name}.*
ea98d80
%{_mandir}/man1/%{name}.1*
e892399
%{_datadir}/applications/schism.desktop
e892399
%{_datadir}/pixmaps/schism*.png
41c87dd
41c87dd
%changelog
0c73881
* Tue Sep 24 2019 Jindrich Novy <jnovy@redhat.com> - 20190805-2
0c73881
- add auto dir to fix build
0c73881
e892399
* Tue Sep 24 2019 Jindrich Novy <jnovy@redhat.com> - 20190805-1
e892399
- update to 20190805 (#1736645)
e892399
- upstream changed to github
e892399
- forwardport spec to new build
e892399
- remove legacy bits
e892399
3aa12fa
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-18
3aa12fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
3aa12fa
4125aaf
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-17
4125aaf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
4125aaf
a760525
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-16
a760525
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
a760525
f15b68b
* Sun Mar 18 2018 Iryna Shcherbina <ishcherb@redhat.com> - 20120105-15
f15b68b
- Update Python 2 dependency declarations to new packaging standards
f15b68b
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
f15b68b
c2f20cb
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-14
c2f20cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c2f20cb
57142f3
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 20120105-13
57142f3
- Remove obsolete scriptlets
57142f3
a65a79a
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-12
a65a79a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a65a79a
b5aa59b
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-11
b5aa59b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b5aa59b
87affa7
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-10
87affa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
87affa7
6bd6f91
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 20120105-9
6bd6f91
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
6bd6f91
4573c0d
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-8
4573c0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
4573c0d
96b434e
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-7
96b434e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
96b434e
caae511
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-6
caae511
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
caae511
151d73f
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-5
151d73f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
151d73f
53a372b
* Mon Feb 25 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 20120105-4
53a372b
- remove --vendor from desktop-file-install for F19+ https://fedorahosted.org/fesco/ticket/1077
53a372b
7e4b8fa
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-3
7e4b8fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
7e4b8fa
62dd3f3
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120105-2
62dd3f3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
62dd3f3
fdcda1e
* Sat Feb 18 2012 Jindrich Novy <jnovy@redhat.com> 20120105-1
fdcda1e
- update to 20120105
fdcda1e
9f2ccee
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20110101-2
9f2ccee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
9f2ccee
ea98d80
* Wed Feb 09 2011 Jindrich Novy <jnovy@redhat.com> 20110101-1
ea98d80
- update to the latest upstream
ea98d80
a04ee60
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20100101-2
a04ee60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
a04ee60
6ea4ef9
* Thu Feb 18 2010 Jindrich Novy	<jnovy@redhat.com> 20100101-1
6ea4ef9
- update to the latest upstream
6ea4ef9
- link with -ldl (#564956)
6ea4ef9
88f1f44
* Sat Nov 07 2009 Jindrich Novy	<jnovy@redhat.com> 20090817-1
88f1f44
- update to the latest upstream
88f1f44
0778114
* Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.5-0.10.rc1
0778114
- Update desktop file according to F-12 FedoraStudio feature
0778114
08cc2c6
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.9.rc1
08cc2c6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
08cc2c6
53fbe82
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5-0.8.rc1
53fbe82
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
53fbe82
6caa8d6
* Mon Feb 25 2008 Jindrich Novy <jnovy@redhat.com> 0.5-0.7.rc1
6caa8d6
- manual rebuild because of gcc-4.3 (#434193)
6caa8d6
a07a5c2
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.5-0.6.rc1
a07a5c2
- Autorebuild for GCC 4.3
a07a5c2
a5d68c5
* Wed May 09 2007 Jindrich Novy <jnovy@fedoraproject.org> 0.5-0.5.rc1
a5d68c5
- update License
a5d68c5
- rebuild for BuildID
a5d68c5
a780c26
* Wed May 09 2007 Jindrich Novy <jnovy@fedoraproject.org> 0.5-0.4.rc1
a780c26
- bump release to avoid EVR problems with FC-5/FC-6
a780c26
41c87dd
* Fri May 04 2007 Jindrich Novy <jnovy@fedoraproject.org> 0.5-0.3.rc1
41c87dd
- add X dependencies (#238824), thanks to Ville Skyttä
41c87dd
- tune the .desktop file yet more
41c87dd
41c87dd
* Fri May 04 2007 Jindrich Novy <jnovy@fedoraproject.org> 0.5-0.2.rc1
41c87dd
- update GTK icon caches in %%post, %%postun
41c87dd
- remove unneeded dependencies
41c87dd
- update .desktop file
41c87dd
41c87dd
* Wed May 02 2007 Jindrich Novy <jnovy@fedoraproject.org> 0.5-0.1rc1
41c87dd
- package schismtracker