1 Summary: Nosefart - NSF files player
2 Summary(pl.UTF-8): Nosefart - odtwarzacz plików NSF
7 Group: Applications/Sound
8 Source0: http://downloads.sourceforge.net/nosefart/%{name}-%{version}-mls.tar.lz
9 # Source0-md5: 4dbdd0e11f01a8835c3f6628ffc33bc3
10 Patch0: %{name}-opt.patch
11 Patch1: %{name}-sh.patch
12 URL: http://nosefart.sourceforge.net/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: gtk+2-devel >= 1:2.0.0
16 BuildRequires: libtool
18 BuildRequires: pkgconfig
19 BuildRequires: xmms-devel
20 BuildRequires: tar >= 1:1.22
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 Nosefart is an NSF files player. NSFs are files which contain the
25 music code and data from NES games. All that you need to accurately
26 play the music tracks back are accurate 6502 and NES sound register
29 %description -l pl.UTF-8
30 Nosefart to odtwarzacz plików NSF. NSF to pliki zawierające kod
31 odtwarzający muzykę oraz dane z gier NES. Do ich odtwarzania potrzebna
32 jest dokładna emulacja 6502 i rejestrów dźwiękowych NES.
35 Summary: Graphical player for Nintendo NES audio files
36 Summary(pl.UTF-8): Graficzny odtwarzacz plików dźwiękowych NES z Nintendo
37 Group: X11/Applications/Sound
38 Requires: %{name} = %{version}-%{release}
40 %description -n gnosefart
41 gnosefart plays .nsf audio files that were ripped from games for the
42 Nintendo Entertainment System. It's a GTK+ front end for nosefart.
44 %description -n gnosefart -l pl.UTF-8
45 gnosefart odtwarza pliki dźwiękowe .nsf wyciągnięte z gier dla konsol
46 Nintendo Entertainment System. Jest to interfejs GTK+ dla programu
49 %package -n xmms-input-nosefart
50 Summary: Nosefart player as XMMS plugin
51 Summary(pl.UTF-8): Odtwarzacz Nosefart jako wtyczka XMMS-a
52 Group: X11/Applications/Sound
54 %description -n xmms-input-nosefart
55 Nosefart is an NSF files player. NSFs are files which contain the
56 music code and data from NES games. All that you need to accurately
57 play the music tracks back are accurate 6502 and NES sound register
58 emulation. This package contains NSF player built as XMMS plugin.
60 %description -n xmms-input-nosefart -l pl.UTF-8
61 Nosefart to odtwarzacz plików NSF. NSF to pliki zawierające kod
62 odtwarzający muzykę oraz dane z gier NES. Do ich odtwarzania potrzebna
63 jest dokładna emulacja 6502 i rejestrów dźwiękowych NES. Ten pakiet
64 zawiera odtwarzacz zbudowany jako wtyczka XMMS-a.
67 %setup -q -n %{name}-%{version}-mls
71 rm -r src/gnosefart-1.5/autom4te.cache
76 OPTFLAGS="%{rpmcflags}" \
77 LDFLAGS="%{rpmldflags}"
81 cp -f /usr/share/automake/mkinstalldirs .
82 glib-gettextize --copy --force
101 rm -rf $RPM_BUILD_ROOT
104 PREFIX=$RPM_BUILD_ROOT%{_prefix}
106 install -d $RPM_BUILD_ROOT%{xmms_input_plugindir}
107 install src/xmms/.libs/libnosefart.so $RPM_BUILD_ROOT%{xmms_input_plugindir}
109 %{__make} -C src/gnosefart-1.5 install \
110 DESTDIR=$RPM_BUILD_ROOT
113 rm -rf $RPM_BUILD_ROOT
116 %defattr(644,root,root,755)
118 %attr(755,root,root) %{_bindir}/nosefart
121 %defattr(644,root,root,755)
122 %doc src/gnosefart-1.5/{AUTHORS,ChangeLog,README,TODO}
123 %attr(755,root,root) %{_bindir}/gnosefart
124 %{_desktopdir}/gnosefart.desktop
125 %{_pixmapsdir}/gnosefart.png
127 %files -n xmms-input-nosefart
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{xmms_input_plugindir}/libnosefart.so