blob: 7f6859f412816cfdf672654eaf595a3d754eb045 (
plain)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
|
%define major 2
%define oname libsidplay
%define name %{oname}%{major}
%define version 2.1.0
%define frelease 1
%define release %{frelease}
%define resid 0.13
%define residbld 1.0.0
%define builders %{_libdir}/sidplay/builders
Summary: A Commodore 64 music player and SID chip emulator library.
Name: %{name}
Version: %{version}
Release: %{release}
Source: %{oname}-%{version}-%{frelease}.tar.bz2
Source1: resid-%{resid}.tar.bz2
Source2: resid-builder-%{residbld}-1.tar.bz2
Patch: resid-%{resid}-p1.patch.bz2
Copyright: GPL
Group: System/Libraries
URL: http://sidplay2.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-buildroot
Prefix: %{_prefix}
%description
This is a cycle-based version of a C64 music playing library
developed by Simon White. This library provides no internal
SID emulation. Instead a means to drive any external SID hardware or
emulation has been provided using the SID Builder Classes.
An ReSID Builder Class using a modified version of ReSID %{resid}
is included in this package. Alternative/updated classes can be
obtained from the SIDPlay2 homepage.
%package devel
Summary: Development headers and libraries for %{name}
Group: Development/C++
Requires: %{name} = %{version}
Provides: %{oname}-devel = %{version}
%description devel
This package includes the header and library files necessary
for developing applications to use %{name}.
%prep
%setup -q -n %{oname}-%{version} -a 1 -a 2
%patch -p0
touch resid-%{resid}/*
%build
%configure --with-sidbuilders=%{builders}
%make
cd resid-%{resid}
%configure --libdir=%{builders} --disable-shared
%make
cd ..
cd resid-builder-%{residbld}
%configure --with-resid=$PWD/../resid-%{resid} --libdir=%{builders} --with-sidplay2=$PWD/..
%make
cd ..
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall
cd resid-builder-%{residbld}
%makeinstall libdir=$RPM_BUILD_ROOT%{builders}
%clean
rm -rf $RPM_BUILD_ROOT
%postun -p /sbin/ldconfig
%post -p /sbin/ldconfig
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog README TODO
%{_libdir}/*.so.*
%files devel
%defattr(-,root,root)
%doc COPYING
%{_includedir}/sidplay/*
%{_libdir}/*.la
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*
%{builders}/*.la
%{builders}/*.a
%changelog
* Fri Nov 23 2001 Simon White <s_a_white@email.com> 2.1.0-1
- New interface using sidbuilder classes. GCC3 and PSID 2NG
support.
- Merged in Mandrake spec file changes. Just set the release
define accordingly.
* Wed Nov 7 2001 Simon White <s_a_white@email.com> 2.0.7-5
- Performance fix.
* Mon May 7 2001 Simon White <s_a_white@email.com> 2.0.7-4
- Fix for endian functions under gcc 2.96.
* Wed Apr 10 2001 Simon White <s_a_white@email.com> 2.0.7-3
- Use non Mandrake specific release number.
* Wed Apr 4 2001 Simon White <s_a_white@email.com> 2.0.7-2mdk
- Updated --prefix and make install so la file does not end up with
a bad install path.
* Sun Apr 1 2001 Simon White <s_a_white@email.com> 2.0.7-1mdk
- First spec file.
# end of file
|