annotate xmms-sid.spec.in @ 43:3c609b6d5a02

Automagic updating of spec.in-file via configure
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 20 Jun 2003 01:12:00 +0000
parents c342e8514754
children fd610bb817bc
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
43
3c609b6d5a02 Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents: 11
diff changeset
18 Requires: @REQUIRE_LIBRARY@
11
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).
43
3c609b6d5a02 Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents: 11
diff changeset
22 Requires either libsidplay v1.x or v2.x. Includes good
3c609b6d5a02 Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents: 11
diff changeset
23 configurability (emulation of filters and other SID emulation
3c609b6d5a02 Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents: 11
diff changeset
24 parameters, fileinfo settings...), has STIL-database support,
3c609b6d5a02 Automagic updating of spec.in-file via configure
Matti Hamalainen <ccr@tnsp.org>
parents: 11
diff changeset
25 song-length database support, etc.
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
26
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
27 %prep
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
28 %setup -q
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
29
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30 %build
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
32
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
33 ./configure \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
34 --prefix=%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
35 --sysconfdir=%{_sysconfdir} --bindir=%{_bindir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
36 --libdir=%{_libdir} --datadir=%{_datadir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37 --includedir=%{_includedir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
38 --enable-subsongsel
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
39
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
40 gmake
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
41
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
42
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
43 %install
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
44 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
45 gmake PREFIX=$RPM_BUILD_ROOT%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
46 prefix=$RPM_BUILD_ROOT/%{_prefix} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
47 sysconfdir=$RPM_BUILD_ROOT/%{_sysconfdir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
48 bindir=$RPM_BUILD_ROOT/%{_bindir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 libdir=$RPM_BUILD_ROOT/%{_libdir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 datadir=$RPM_BUILD_ROOT/%{_datadir} \
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51 includedir=$RPM_BUILD_ROOT/%{_includedir} install
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53 %post -p /sbin/ldconfig
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
54 %postun -p /sbin/ldconfig
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
55
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56 %clean
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
59 %files
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60 %defattr(-, root, root)
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 %doc AUTHORS COPYING ChangeLog INSTALL NEWS README* THANKS TODO BUGS
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
62 %{_libdir}/xmms/Input/*