1
0
forked from pool/schismtracker

- renamed to schismtracker

OBS-URL: https://build.opensuse.org/package/show/multimedia:apps/schismtracker?expand=0&rev=2
This commit is contained in:
Pavol Rusnak 2010-02-24 12:23:14 +00:00 committed by Git OBS Bridge
parent 6f4c5bf4c7
commit 94329e2515
3 changed files with 20 additions and 29 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Feb 24 12:22:56 UTC 2010 - prusnak@suse.cz
- renamed to schismtracker
-------------------------------------------------------------------
Wed Feb 24 09:50:35 UTC 2010 - jengelh@medozas.de

View File

@ -3,7 +3,7 @@ Name=Schism Tracker
GenericName=Tracker
Comment=Music editor that aims to match the look and feel of Impulse Tracker
Exec=schismtracker
Icon=schism
Icon=schismtracker
Categories=AudioVideo;Sequencer;
Terminal=false
Type=Application

View File

@ -1,31 +1,19 @@
#
# spec file for package schism
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: schism
Name: schismtracker
Version: 0.20100224
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: schismtracker-%version.tar.bz2
#Hg-Clone: http://schismtracker.org/hg/
Source: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: SDL-devel >= 1.2.10, xorg-x11-devel
BuildRequires: alsa-devel freeglut-devel gcc-c++
BuildRequires: python >= 2.4
BuildRequires: update-desktop-files
BuildRequires: SDL-devel >= 1.2.10
BuildRequires: xorg-x11-devel
BuildRequires: alsa-devel freeglut-devel gcc-c++
BuildRequires: python >= 2.4
BuildRequires: update-desktop-files
%description
Schism Tracker is a free reimplementation of Impulse Tracker, a
@ -36,11 +24,11 @@ highly modified version of the Modplug engine, with a number of
bugfixes and changes to improve IT playback.
%prep
%setup -qn schismtracker
%setup -q -n %{name}
%build
if [ ! -e configure ]; then
autoreconf -fi
autoreconf -fi
fi
%configure
make %{?_smp_mflags}
@ -49,13 +37,11 @@ make %{?_smp_mflags}
make DESTDIR=$RPM_BUILD_ROOT install
# install icons
for size in 16 22 24 32 36 48 64 72 96 128 192; do
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps
cp icons/schism-icon-$size.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/schism.png
install -D -m 0644 icons/schism-icon-$size.png $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${size}x${size}/apps/%{name}.png
done
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
cp icons/schism-icon.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/schism.svg
install -D -m 0644 icons/schism-icon.svg $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
# install desktop file
%suse_update_desktop_file -i %{name} AudioVideo Sequencer
%suse_update_desktop_file -i %{name}
%clean
rm -rf $RPM_BUILD_ROOT
@ -65,6 +51,6 @@ rm -rf $RPM_BUILD_ROOT
%doc AUTHORS COPYING NEWS README
%{_bindir}/schismtracker
%{_datadir}/icons/hicolor
%{_datadir}/applications/schism.desktop
%{_datadir}/applications/*.desktop
%changelog