ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/SIDPlayer.spec.in
Revision: 1.4
Committed: 2000-10-10T19:01:39Z (24 years ago) by cebix
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -4 lines
Log Message:
updated spec file

File Contents

# Content
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 Requires: SDL >= 1.1.4
17
18 %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 CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
29 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 make DESTDIR=${RPM_BUILD_ROOT} install-strip
43
44 %clean
45 rm -rf ${RPM_BUILD_ROOT}
46
47 %files
48 %defattr(-,root,root)
49 %doc COPYING README
50 %{_bindir}/*