File: sidplay.spec

package info (click to toggle)
sidplay 1.36.28-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 1,192 kB
  • ctags: 1,674
  • sloc: cpp: 12,514; sh: 1,716; makefile: 223
file content (61 lines) | stat: -rw-r--r-- 1,529 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
Name: sidplay
Summary: music player and C64 SID chip emulator
Version: 1.36.28
Release: 1
%define version %{PACKAGE_VERSION}
Icon: sidplay.gif
Copyright: GPL (freely redistributable)
URL: http://www.geocities.com/SiliconValley/Lakes/5147/
Group: Applications/Sound
Prefix: /usr
Source: sidplay-%{version}.tgz
Patch1: libsidplay-1.36.25-optimize.patch
Patch2: sidmusic-faqs-980517.patch
BuildRoot: /tmp/sidplay-build

%description
This is a music player and SID chip emulator. With it you can listen
to more than 9000 musics from old and new C64 programs. The majority
of available musics is in the High Voltage SID Collection.

%package -n libsidplay-devel
Summary: header files and static library
Group: Libraries

%description -n libsidplay-devel
The header files and static library are required to compile
applications that use libsidplay.

%prep
%setup

%ifarch i386
%patch1 -p1
%endif

%patch2 -p1
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr
./configure --prefix=$RPM_BUILD_ROOT/usr

%build
make CXXFLAGS="$RPM_OPT_FLAGS" all
cd console ; strip sidplay sid2wav sidcon ; cd ..

%install
mkdir -p $RPM_BUILD_ROOT/usr/bin
mkdir -p $RPM_BUILD_ROOT/usr/include
mkdir -p $RPM_BUILD_ROOT/usr/lib
make install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%attr(-,root,root) %doc libsidplay/COPYING libsidplay/AUTHORS hv_sids.faq STIL.faq
%attr(755,root,root) /usr/bin/*

%files -n libsidplay-devel
%attr(-,root,root) %dir /usr/include/sidplay
%attr(644,root,root) /usr/include/sidplay/*
%attr(644,root,root) /usr/lib/libsidplay.a