annotate xmms-sid.spec.in @ 983:04dde987c0aa

Some translation updates.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 31 Mar 2013 11:43:01 +0300
parents 5d97c21eea42
children
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
287
bd84d27dd23b Fixed specfile.
Matti Hamalainen <ccr@tnsp.org>
parents: 268
diff changeset
4 %define plugindir %(xmms-config --input-plugin-dir)
335
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
5 %define withSID1 %(if test -z "`rpm -q --whatprovides libsidplay.so.1 2>/dev/null | grep -v '^no package provides'`"; then echo 0; else echo 1; fi)
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
6 %define withSID2 %(if test -z "`rpm -q --whatprovides libsidplay2.so.1 2>/dev/null | grep -v '^no package provides'`" ; then echo 0; else echo 1; fi)
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
7
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
8 Summary: A SID-tune (C64 music) input plugin for XMMS
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
9 Name: %{name}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
10 Version: %{version}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
11 Release: %{release}
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
12 Copyright: GPL
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
13 Group: Applications/Multimedia
268
ca84c55003db Cleanups
Matti Hamalainen <ccr@tnsp.org>
parents: 176
diff changeset
14 Vendor: Matti 'ccr' Hämäläinen <ccr@tnsp.org>
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
15 Url: http://www.tnsp.org/xmms-sid.php
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
16 Source: http://www.tnsp.org/xs-files/%{name}-%{version}.tar.gz
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
17 BuildRoot: %{_tmppath}/%{name}-%{version}-root
133
79a526595d16 Fixed spec-file generation and errors in the specfile.
Matti Hamalainen <ccr@tnsp.org>
parents: 97
diff changeset
18 BuildRequires: xmms-devel >= @XMMS_VERSION@
746
5d97c21eea42 Bump version requirements.
Matti Hamalainen <ccr@tnsp.org>
parents: 415
diff changeset
19 Requires: gtk+ >= 1.2.10, glib >= 1.2.10, xmms >= @XMMS_VERSION@
335
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
20 %if %{withSID1} == 1
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
21 Requires: libsidplay
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
22 %else
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
23 %define optSID1 --without-sidplay1
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
24 %endif
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
25 %if %{withSID2} == 1
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
26 Requires: libsidplay2 >= 2.1.1
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
27 %else
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
28 %define optSID2 --without-sidplay2
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
29 %endif
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
30
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
31 %description
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
32 Input plugin for XMMS to play SID-tunes (Music from Commodore
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
33 64 games/demos/etc.). Supports either (or both) libSIDPlay
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
34 v1.x or v2.x. Includes extensive configurability (settings for
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
35 filters and other SID-emulation parameters, extensive fileinfo),
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
36 has STIL-database support, song-length database support and more.
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
37
414
aa456183b491 Add mention of HVSC in spec-file.
Matti Hamalainen <ccr@tnsp.org>
parents: 335
diff changeset
38 High Voltage SID Collection (HVSC) contains over 30,000 SID-tunes
aa456183b491 Add mention of HVSC in spec-file.
Matti Hamalainen <ccr@tnsp.org>
parents: 335
diff changeset
39 for your listening pleasure, http://hvsc.c64.org/
aa456183b491 Add mention of HVSC in spec-file.
Matti Hamalainen <ccr@tnsp.org>
parents: 335
diff changeset
40
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
41 %description -l de
176
d109d928ccc3 Fixed a typo
Matti Hamalainen <ccr@tnsp.org>
parents: 165
diff changeset
42 Input-Plugin für XMMS um SID-musiken (Musik aus Commodore64 Spielen,
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
43 Demos, etc) abzuspielen. Unterstützt entweder libSidPlay V1.x, V2.x
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
44 oder beide. Enthält erweiterte Konfiguriermöglichkeiten, wie
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
45 Filtereinstellungen, diverse Parameter für die SID-Emulation und
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
46 ausführlichere Fileinformationen), Unterstützung der STIL Datenbank,
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
47 Song-Längen Datenbank und vieles mehr.
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
48
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
49 %prep
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
50 %setup -q
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
51
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
52 %build
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
53 export CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS";
335
3ea3e6f7dbcb Removed some comment lines that broke RPM building on some platforms...
Matti Hamalainen <ccr@tnsp.org>
parents: 317
diff changeset
54 %configure --libdir=%{plugindir} %{optSID1} %{optSID2}
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
55 make
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
56
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
57 %install
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
58 [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
133
79a526595d16 Fixed spec-file generation and errors in the specfile.
Matti Hamalainen <ccr@tnsp.org>
parents: 97
diff changeset
59 %makeinstall libdir=$RPM_BUILD_ROOT/%{plugindir}
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
60
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
61 %post -p /sbin/ldconfig
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
62
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
63 %postun -p /sbin/ldconfig
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
64
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
65 %clean
93
63cf9b2ddadf Minor changes
Matti Hamalainen <ccr@tnsp.org>
parents: 81
diff changeset
66 [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT
11
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
67
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
68 %files
c342e8514754 And more...
Matti Hamalainen <ccr@tnsp.org>
parents:
diff changeset
69 %defattr(-, root, root)
415
22f7d703c9d2 Only README, not README*
Matti Hamalainen <ccr@tnsp.org>
parents: 414
diff changeset
70 %doc AUTHORS COPYING FAQ NEWS README THANKS TODO BUGS xmms-1.2.10-songpos.patch
287
bd84d27dd23b Fixed specfile.
Matti Hamalainen <ccr@tnsp.org>
parents: 268
diff changeset
71 %{plugindir}/libxmmssid.*
317
Matti Hamalainen <ccr@tnsp.org>
parents: 287
diff changeset
72 %{_datadir}/xmms-sid