File: libsidplay2.spec

package info (click to toggle)
xbmc 2%3A11.0~git20120510.82388d5-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 154,860 kB
  • sloc: ansic: 620,873; cpp: 546,403; xml: 145,609; sh: 46,565; python: 9,623; pascal: 9,138; makefile: 8,185; asm: 5,787; cs: 5,212; objc: 4,721; java: 1,686; ada: 1,681; perl: 1,514; yacc: 1,315; tcl: 1,048; lisp: 499; awk: 222; lex: 148; sed: 139; ruby: 126
file content (117 lines) | stat: -rw-r--r-- 3,195 bytes parent folder | download | duplicates (7)
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
115
116
117
%define major    2
%define oname    libsidplay
%define name     %{oname}%{major}
%define version  2.1.1
%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
* Mon Jun 14 2004 Simon White <s_a_white@email.com> 2.1.1-1
- Imported all Windows changes.

* 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