]> git.pld-linux.org Git - SPECS.git/blob - nosefart.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / nosefart.spec
1 Summary:        Nosefart - NSF files player
2 Summary(pl.UTF-8):      Nosefart - odtwarzacz plików NSF
3 Name:           nosefart
4 Version:        2.8
5 Release:        1
6 License:        GPL v2
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
17 BuildRequires:  lzip
18 BuildRequires:  pkgconfig
19 BuildRequires:  xmms-devel
20 BuildRequires:  tar >= 1:1.22
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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
27 emulation.
28
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.
33
34 %package -n gnosefart
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}
39
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.
43
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
47 nosefart.
48
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
53
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.
59
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.
65
66 %prep
67 %setup -q -n %{name}-%{version}-mls
68 %patch0 -p1
69 %patch1 -p1
70
71 rm -r src/gnosefart-1.5/autom4te.cache
72
73 %build
74 %{__make} \
75         CC="%{__cc}" \
76         OPTFLAGS="%{rpmcflags}" \
77         LDFLAGS="%{rpmldflags}"
78
79 cd src/gnosefart-1.5
80 rm -f mkinstalldirs
81 cp -f /usr/share/automake/mkinstalldirs .
82 glib-gettextize --copy --force
83 %{__aclocal}
84 %{__autoconf}
85 %{__autoheader}
86 %{__automake}
87 %configure
88 %{__make}
89
90 cd ../xmms
91 %{__libtoolize}
92 %{__aclocal}
93 %{__autoconf}
94 %{__autoheader}
95 %{__automake}
96 %configure
97 %{__make} \
98         AM_LDFLAGS="-lm"
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install \
104         PREFIX=$RPM_BUILD_ROOT%{_prefix}
105
106 install -d $RPM_BUILD_ROOT%{xmms_input_plugindir}
107 install src/xmms/.libs/libnosefart.so $RPM_BUILD_ROOT%{xmms_input_plugindir}
108
109 %{__make} -C src/gnosefart-1.5 install \
110         DESTDIR=$RPM_BUILD_ROOT
111
112 %clean
113 rm -rf $RPM_BUILD_ROOT
114
115 %files
116 %defattr(644,root,root,755)
117 %doc CHANGES README
118 %attr(755,root,root) %{_bindir}/nosefart
119
120 %files -n gnosefart
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
126
127 %files -n xmms-input-nosefart
128 %defattr(644,root,root,755)
129 %attr(755,root,root) %{xmms_input_plugindir}/libnosefart.so
This page took 0.05154 seconds and 3 git commands to generate.