ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/SIDPlayer.spec.in
Revision: 1.3
Committed: 2000-10-07T15:52:35Z (23 years, 5 months ago) by cebix
Branch: MAIN
Changes since 1.2: +2 -2 lines
Log Message:
updated for RPM 4.0

File Contents

# User Rev Content
1 cebix 1.1 %define name @PACKAGE@
2     %define version @VERSION@
3     %define release 1
4    
5     Summary: SID tune replayer
6     Name: %{name}
7     Version: %{version}
8     Release: %{release}
9     Copyright: GPL
10     Group: Applications/Multimedia
11     Source: %{name}-%{version}.tar.gz
12     URL: http://www.uni-mainz.de/~bauec002/SPMain.html
13     BuildRoot: %{_tmppath}/%{name}-root
14     Prefix: %{_prefix}
15    
16 cebix 1.2 Requires: SDL >= 1.1.4
17    
18 cebix 1.1 %description
19     SIDPlayer is a replayer program for C64 music ("SID tunes"). You can think
20     of it as being a stripped-down C64 emulator that only emulates the CPU and
21     the sound chip of the C64. SIDPlayer can replay SID tunes in the "PSID" file
22     format, but it cannot run any C64 programs.
23    
24     %prep
25     %setup -q
26    
27     %build
28 cebix 1.3 ./configure --prefix=%{_prefix} --mandir=%{_mandir}
29 cebix 1.1 if [ -x /usr/bin/getconf ] ; then
30     NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
31     if [ $NCPU -eq 0 ] ; then
32     NCPU=1
33     fi
34     else
35     NCPU=1
36     fi
37     PARL=$[ $NCPU + 1 ]
38     make -j $PARL
39    
40     %install
41     rm -rf ${RPM_BUILD_ROOT}
42 cebix 1.3 make prefix=%{_prefix} mandir=%{_mandir} DESTDIR=${RPM_BUILD_ROOT} install
43 cebix 1.1
44     %clean
45     rm -rf ${RPM_BUILD_ROOT}
46    
47     %files
48     %defattr(-,root,root)
49     %doc COPYING README
50     %{_bindir}/*
51    
52     %changelog