File: libsidplay.spec

package info (click to toggle)
libsidplay 1.36.47-2.2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,512 kB
  • ctags: 1,264
  • sloc: cpp: 10,444; sh: 8,842; makefile: 70
file content (65 lines) | stat: -rw-r--r-- 1,760 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
62
63
64
65
%define	version	1.36.47
%define release 1
%define	prefix /usr

Summary: A Commodore 64 music player and SID chip emulator library.
Name: libsidplay
Version: %{version}
Release: %{release}
Icon: sidplay.xpm
Copyright: GPL
URL: http://www.geocities.com/SiliconValley/Lakes/5147/
Group: System Environment/Libraries
Source: libsidplay-%{version}.tgz
Patch1: libsidplay-ix86-optimize.patch
Prefix: %{prefix}
BuildRoot: /var/tmp/libsidplay-build

%description
This library provides the Sound Interface Device (SID) chip emulator
engine that is used by music player programs like SIDPLAY. With it
you can play musics from Commodore 64 (or compatible) programs.

%package -n libsidplay-devel
Summary: Header files for compiling apps that use libsidplay.
Group: System Environment/Libraries

%description -n libsidplay-devel
This package contains the header files for compiling applications
that use libsidplay.

%prep
%setup -q

%ifarch i386 i486 i586 i686
%patch1 -p1 -b .i386orig
%endif

[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%build
CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
make

%install
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
mkdir -p $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install

%clean
[ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;

%files
%defattr(-,root,root)
%{prefix}/lib/libsidplay*

%files -n libsidplay-devel
%defattr(-,root,root)
%doc AUTHORS COPYING DEVELOPER
%doc src/fastforward.txt src/format.txt src/mixing.txt src/mpu.txt src/panning.txt
%{prefix}/include/sidplay/

%changelog
* Sat Apr 15 2000 Michael Schwendt <sidplay@geocities.com>
- Initial RPM build of automake/libtool converted libsidplay.