/[cebix]/SIDPlayer/SIDPlayer.spec.in
ViewVC logotype

Annotation of /SIDPlayer/SIDPlayer.spec.in

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations)
2000-10-05T17:03:50Z (18 years, 6 months ago) by cebix
Branch: MAIN
added RPM spec file

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     %description
17     SIDPlayer is a replayer program for C64 music ("SID tunes"). You can think
18     of it as being a stripped-down C64 emulator that only emulates the CPU and
19     the sound chip of the C64. SIDPlayer can replay SID tunes in the "PSID" file
20     format, but it cannot run any C64 programs.
21    
22     %prep
23     %setup -q
24    
25     %build
26     ./configure --prefix=%{_prefix}
27     if [ -x /usr/bin/getconf ] ; then
28     NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
29     if [ $NCPU -eq 0 ] ; then
30     NCPU=1
31     fi
32     else
33     NCPU=1
34     fi
35     PARL=$[ $NCPU + 1 ]
36     make -j $PARL
37    
38     %install
39     rm -rf ${RPM_BUILD_ROOT}
40     make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install
41    
42     %clean
43     rm -rf ${RPM_BUILD_ROOT}
44    
45     %files
46     %defattr(-,root,root)
47     %doc COPYING README
48     %{_bindir}/*
49    
50     %changelog

  ViewVC Help
Powered by ViewVC 1.1.26