forked from pool/schismtracker
c9d7654329
- Add schismtracker-link.patch to link with new ld OBS-URL: https://build.opensuse.org/request/show/85401 OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=10
83 lines
2.6 KiB
RPMSpec
83 lines
2.6 KiB
RPMSpec
#
|
|
# spec file for package schismtracker
|
|
#
|
|
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: schismtracker
|
|
Version: 0.20110409
|
|
Release: 1
|
|
Url: http://schismtracker.org/
|
|
License: GPL v2 or later
|
|
Group: Productivity/Multimedia/Sound/Editors and Convertors
|
|
Summary: Music editor that aims to match the look and feel of Impulse Tracker
|
|
#Hg-Clone: http://schismtracker.org/hg/
|
|
Source: %name-%version.tar.xz
|
|
Source1: %name.desktop
|
|
Patch1: schism-alsa.diff
|
|
Patch2: schism-nodate.diff
|
|
Patch3: schismtracker-link.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: SDL-devel >= 1.2.10
|
|
BuildRequires: xorg-x11-devel
|
|
BuildRequires: alsa-devel freeglut-devel gcc-c++
|
|
BuildRequires: python >= 2.4 xz
|
|
BuildRequires: update-desktop-files
|
|
|
|
%description
|
|
Schism Tracker is a free reimplementation of Impulse Tracker, a
|
|
program used to create high quality music without the requirements of
|
|
specialized, expensive equipment, and with a unique "finger feel"
|
|
that is difficult to replicate in-part. The player is based on a
|
|
highly modified version of the Modplug engine, with a number of
|
|
bugfixes and changes to improve IT playback.
|
|
|
|
%prep
|
|
%setup -q -n %name
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3
|
|
|
|
%build
|
|
if [ ! -e configure ]; then
|
|
autoreconf -fi
|
|
fi
|
|
%configure
|
|
make %{?_smp_mflags}
|
|
|
|
%install
|
|
make DESTDIR=%buildroot install
|
|
# install icons
|
|
for size in 16 22 24 32 36 48 64 72 96 128 192; do
|
|
install -D -m 0644 icons/schism-icon-$size.png %buildroot%_datadir/icons/hicolor/${size}x$size/apps/%name.png
|
|
done
|
|
install -D -m 0644 icons/schism-icon.svg %buildroot%_datadir/icons/hicolor/scalable/apps/%name.svg
|
|
# install desktop file
|
|
%suse_update_desktop_file -i %name
|
|
|
|
%clean
|
|
rm -rf %buildroot
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING NEWS README
|
|
%_bindir/schismtracker
|
|
%_datadir/icons/hicolor
|
|
%_datadir/applications/%name.desktop
|
|
%_mandir/man*/*
|
|
|
|
%changelog
|