annotate xmms-sid.spec.in @ 11:c342e8514754

And more...
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 04 Jun 2003 13:47:02 +0000
parents
children 3c609b6d5a02
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
1 %define name @PACKAGE@
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
2 %define version @VERSION@
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
3 %define release 1
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
4 %define serial 1
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
5
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
6 Summary: XMMS-SID - SIDPlay plugin for XMMS
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7 Name: %{name}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
8 Version: %{version}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 Release: %{release}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 Serial: %{serial}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 Copyright: GPL
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 Group: Applications/Multimedia
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 Vendor: Matti "ccr/TNSP" Hamalainen <ccr@tnsp.org>
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
14 Url: http://www.tnsp.org/xmms-sid.php
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 Source: %{name}-%{version}.tar.gz
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
16 BuildRoot: %{_tmpdir}/%{name}-%{version}-root
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
17 Requires: gtk+ >= 1.2.8, glib >= 1.2.8, xmms >= 1.2.0
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
18 Requires: libsidplay.so.1
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
19
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
20 %description
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
21 Input plugin for XMMS to play SID-tunes (C64 music files).
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
22 Requires libsidplay v1.x, but optionally supports also
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
23 libsidplay 2.x. Includes good configurability (configurable
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
24 emulation of filters and other SID emulation parameters,
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
25 fileinfo settings...), STIL-database support, song-length
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26 detection mechanism (several options), etc.
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 %prep
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29 %setup -q
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 %build
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 ./configure \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 --prefix=%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 --sysconfdir=%{_sysconfdir} --bindir=%{_bindir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 --libdir=%{_libdir} --datadir=%{_datadir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38 --includedir=%{_includedir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39 --enable-subsongsel
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41 gmake
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 %install
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46 gmake PREFIX=$RPM_BUILD_ROOT%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 prefix=$RPM_BUILD_ROOT/%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 bindir=$RPM_BUILD_ROOT/%{_bindir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 libdir=$RPM_BUILD_ROOT/%{_libdir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 datadir=$RPM_BUILD_ROOT/%{_datadir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 includedir=$RPM_BUILD_ROOT/%{_includedir} install
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 %post -p /sbin/ldconfig
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55 %postun -p /sbin/ldconfig
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 %clean
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 %files
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 %defattr(-, root, root)
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO BUGS
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 %{_libdir}/xmms/Input/*