1 | Name: nas |
---|
2 | Summary: The Network Audio System (NAS) |
---|
3 | Version: 1.9.1 |
---|
4 | Release: 7%{?_dist_release} |
---|
5 | |
---|
6 | URL: http://nas.codebrilliance.com |
---|
7 | |
---|
8 | License: Public Domain |
---|
9 | Group: Development/Libraries |
---|
10 | Source0: http://nas.codebrilliance.com/nas/nas-%{version}.src.tar.gz |
---|
11 | Source1: http://apt.kde-redhat.org/apt/kde-redhat/SOURCES/nas/nasd.init |
---|
12 | Source2: http://apt.kde-redhat.org/apt/kde-redhat/SOURCES/nas/nasd.sysconfig |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | BuildRequires: bison flex |
---|
16 | BuildRequires: imake libXaw-devel libXpm-devel libXp-devel libXext-devel libXt-devel |
---|
17 | %define libdir_x11 %{_libdir}/X11 |
---|
18 | |
---|
19 | Requires(preun): chkconfig /sbin/service |
---|
20 | Requires(post): chkconfig |
---|
21 | |
---|
22 | Requires: %{name}-libs = %{version}-%{release} |
---|
23 | |
---|
24 | %package devel |
---|
25 | Summary: Development and doc files for the NAS |
---|
26 | Group: Development/Libraries |
---|
27 | Requires: %{name}-libs = %{version}-%{release} |
---|
28 | |
---|
29 | %package libs |
---|
30 | Summary: Runtime libraries for NAS |
---|
31 | Group: System Environment/Libraries |
---|
32 | |
---|
33 | %description libs |
---|
34 | %{summary}. |
---|
35 | |
---|
36 | |
---|
37 | %description |
---|
38 | In a nutshell, NAS is the audio equivalent of an X display server. |
---|
39 | The Network Audio System (NAS) was developed by NCD for playing, |
---|
40 | recording, and manipulating audio data over a network. Like the |
---|
41 | X Window System, it uses the client/server model to separate |
---|
42 | applications from the specific drivers that control audio input |
---|
43 | and output devices. |
---|
44 | Key features of the Network Audio System include: |
---|
45 | o Device-independent audio over the network |
---|
46 | o Lots of audio file and data formats |
---|
47 | o Can store sounds in server for rapid replay |
---|
48 | o Extensive mixing, separating, and manipulation of audio data |
---|
49 | o Simultaneous use of audio devices by multiple applications |
---|
50 | o Use by a growing number of ISVs |
---|
51 | o Small size |
---|
52 | o Free! No obnoxious licensing terms |
---|
53 | |
---|
54 | %description devel |
---|
55 | Development files and the documentation |
---|
56 | |
---|
57 | |
---|
58 | %prep |
---|
59 | %setup -q -n nas-%{version} |
---|
60 | iconv --from-code=ISO_8859-15 --to-code=UTF-8 HISTORY >HISTORY.tmp |
---|
61 | mv HISTORY.tmp HISTORY |
---|
62 | |
---|
63 | %build |
---|
64 | xmkmf |
---|
65 | find . -name Makefile \ |
---|
66 | | xargs sed -i -e 's/^\(\s*CDEBUGFLAGS\s*=.*\)/\1 $(RPM_OPT_FLAGS)/' |
---|
67 | make %{?_smp_mflags} World MFLAGS="IRULESRC=%{_datadir}/X11/config" |
---|
68 | |
---|
69 | |
---|
70 | %install |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | |
---|
73 | make MFLAGS="IRULESRC=%{_datadir}/X11/config" \ |
---|
74 | DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} INCROOT=%{_includedir} \ |
---|
75 | LIBDIR=%{libdir_x11} SHLIBDIR=%{_libdir} USRLIBDIR=%{_libdir} MANPATH=%{_mandir} \ |
---|
76 | INSTALLFLAGS='-p' \ |
---|
77 | install install.man |
---|
78 | |
---|
79 | install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/nasd |
---|
80 | install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/nasd |
---|
81 | |
---|
82 | # remove static lib |
---|
83 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
84 | # rename cofigfile |
---|
85 | mv $RPM_BUILD_ROOT/etc/nas/nasd.conf.eg $RPM_BUILD_ROOT/etc/nas/nasd.conf |
---|
86 | |
---|
87 | %post |
---|
88 | /sbin/chkconfig --add nasd |
---|
89 | |
---|
90 | %preun |
---|
91 | if [ $1 = 0 ] ; then |
---|
92 | /sbin/chkconfig --del nasd |
---|
93 | /sbin/service nasd stop >/dev/null 2>&1 ||: |
---|
94 | fi |
---|
95 | |
---|
96 | %post libs -p /sbin/ldconfig |
---|
97 | |
---|
98 | %postun libs -p /sbin/ldconfig |
---|
99 | |
---|
100 | |
---|
101 | %clean |
---|
102 | rm -rf $RPM_BUILD_ROOT |
---|
103 | |
---|
104 | %files |
---|
105 | %defattr(-,root,root,-) |
---|
106 | %dir %{_sysconfdir}/nas |
---|
107 | %config(noreplace) %{_sysconfdir}/nas/nasd.conf |
---|
108 | %config(noreplace) %{_sysconfdir}/sysconfig/nasd |
---|
109 | %{_initrddir}/nasd |
---|
110 | |
---|
111 | %{_bindir}/* |
---|
112 | %{_mandir}/man1/* |
---|
113 | %{_mandir}/man5/* |
---|
114 | %{libdir_x11}/AuErrorDB |
---|
115 | |
---|
116 | %files libs |
---|
117 | %defattr(-,root,root,-) |
---|
118 | %doc README FAQ HISTORY TODO |
---|
119 | %{_libdir}/libaudio.so.* |
---|
120 | |
---|
121 | %files devel |
---|
122 | %defattr(-,root,root,-) |
---|
123 | %{_includedir}/audio/ |
---|
124 | %{_libdir}/libaudio.so |
---|
125 | %{_mandir}/man3/* |
---|
126 | |
---|
127 | |
---|
128 | %changelog |
---|
129 | * Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.9.1-7 |
---|
130 | - Initial build for Vine Linux |
---|
131 | |
---|
132 | * Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-6 |
---|
133 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
134 | |
---|
135 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.9.1-5 |
---|
136 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
137 | |
---|
138 | * Mon Apr 07 2008 Rex Dieter <rdieter@fedoraproject.org> - 1.9.1-4 |
---|
139 | - -libs subpkg (f9+, #438547) |
---|
140 | - %%install: INSTALLFLAGS='-p' (preserve timestamps) |
---|
141 | - fixup %%changelog whitespace |
---|
142 | |
---|
143 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.9.1-3 |
---|
144 | - Autorebuild for GCC 4.3 |
---|
145 | |
---|
146 | * Sun Nov 11 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9.1-2 |
---|
147 | - fix spec file |
---|
148 | |
---|
149 | * Sun Nov 11 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9.1-1 |
---|
150 | - update to 1.9.1 |
---|
151 | - remove unneeded patches |
---|
152 | |
---|
153 | * Fri Nov 02 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9a-3 |
---|
154 | - add better patch for #247468 |
---|
155 | |
---|
156 | * Fri Nov 02 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9a-2 |
---|
157 | - add patch to fix #247468 |
---|
158 | |
---|
159 | * Sun Oct 28 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9a-1 |
---|
160 | - update to 1.9a to fix #245712 |
---|
161 | |
---|
162 | * Sat Aug 18 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9-4 |
---|
163 | - fix for bug #245712 |
---|
164 | |
---|
165 | * Sat Aug 11 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9-3 |
---|
166 | - fix for bug #250453 |
---|
167 | |
---|
168 | * Fri May 04 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9-2%{?dist} |
---|
169 | - rebuild for the new ppc64 arch |
---|
170 | |
---|
171 | * Sun Apr 08 2007 Frank Büttner <frank-buettner@gmx.net> - 1.9-1%{?dist} |
---|
172 | - update to 1.9 |
---|
173 | - remove old patch file |
---|
174 | |
---|
175 | * Mon Mar 26 2007 Frank Büttner <frank-buettner@gmx.net> - 1.8b-1%{?dist} |
---|
176 | - update to 1.8b |
---|
177 | |
---|
178 | * Thu Mar 22 2007 Frank Büttner <frank-buettner@gmx.net> - 1.8a-2%{?dist} |
---|
179 | - use the SVN version of 1.8a |
---|
180 | |
---|
181 | * Wed Mar 21 2007 Frank Büttner <frank-buettner@gmx.net> - 1.8a-1%{?dist} |
---|
182 | - fix bug 233353 |
---|
183 | |
---|
184 | * Thu Feb 09 2007 Frank Büttner <frank-buettner@gmx.net> - 1.8-13%{?dist} |
---|
185 | - use the corrected patch |
---|
186 | |
---|
187 | * Thu Feb 08 2007 Frank Büttner <frank-buettner@gmx.net> - 1.8-11%{?dist} |
---|
188 | - fix bug 227759 |
---|
189 | |
---|
190 | * Tue Sep 19 2006 Rex Dieter <rexdieter[AT]users.sf.net> - 1.8-10 |
---|
191 | - don't rely-on/use potentially broken %%_libdir/X11 symlink (#207180) |
---|
192 | |
---|
193 | * Mon Sep 11 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-9%{?dist} |
---|
194 | - second rebuild for FC6 |
---|
195 | |
---|
196 | * Mon Jul 24 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-8%{?dist} |
---|
197 | - fix ugly output when starting the daemon |
---|
198 | |
---|
199 | * Fri Jul 21 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-7%{?dist} |
---|
200 | - disable build for EMT64 on FC4 |
---|
201 | |
---|
202 | * Thu Jul 13 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-6%{?dist} |
---|
203 | - fix build on EMT64 |
---|
204 | |
---|
205 | * Wed Jul 12 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-5%{?dist} |
---|
206 | - fix include dir |
---|
207 | |
---|
208 | * Fri Jul 7 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-4%{?dist} |
---|
209 | - add Requires(preun): chkconfig /sbin/service |
---|
210 | - add Requires(post): chkconfig |
---|
211 | - add remarks for FC4 |
---|
212 | |
---|
213 | * Fri Jul 7 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-3%{?dist} |
---|
214 | - move man3 to devel |
---|
215 | - rename nasd.conf.eg to .conf |
---|
216 | - add build depend for libXext-devel libXt-devel |
---|
217 | - change license to Public Domain |
---|
218 | - add path to make intall |
---|
219 | - add rc.d/sysconfig files |
---|
220 | |
---|
221 | * Fri Jul 7 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-2%{?dist} |
---|
222 | - move libaudio.so.2 to main package |
---|
223 | - switch package name from NAS to nas |
---|
224 | - fix depend for devel package |
---|
225 | - fix version |
---|
226 | - add nas subdir in etc to main package |
---|
227 | - set license to Distributable |
---|
228 | - add readme file |
---|
229 | |
---|
230 | * Fri Jul 7 2006 Frank Büttner <frank-buettner@gmx.net> - 1.8-1%{?dist} |
---|
231 | - start |
---|