|
@@ -1,46 +1,64 @@
|
|
|
Name: nas
|
|
|
Summary: The Network Audio System (NAS)
|
|
|
-Version: 1.9.1
|
|
|
-Release: 7%{?_dist_release}
|
|
|
+Summary(ja): ネットワークオーディオシステム (NAS)
|
|
|
+Version: 1.9.3
|
|
|
+Release: 2%{?_dist_release}
|
|
|
|
|
|
-URL: http://nas.codebrilliance.com
|
|
|
+URL: http://radscan.com/nas.html
|
|
|
|
|
|
License: Public Domain
|
|
|
Group: Development/Libraries
|
|
|
Source0: http://nas.codebrilliance.com/nas/nas-%{version}.src.tar.gz
|
|
|
Source1: http://apt.kde-redhat.org/apt/kde-redhat/SOURCES/nas/nasd.init
|
|
|
Source2: http://apt.kde-redhat.org/apt/kde-redhat/SOURCES/nas/nasd.sysconfig
|
|
|
+Patch0: %{name}-1.9.3-Move-AuErrorDB-to-SHAREDIR.patch
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildRequires: bison flex
|
|
|
-BuildRequires: imake libXaw-devel libXpm-devel libXp-devel libXext-devel libXt-devel
|
|
|
+BuildRequires: imake
|
|
|
+BuildRequires: libX11-devel libXau-devel libXaw-devel libXext-devel
|
|
|
+BuildRequires: libXpm-devel libXp-devel libXt-devel
|
|
|
%define libdir_x11 %{_libdir}/X11
|
|
|
|
|
|
Requires(preun): chkconfig /sbin/service
|
|
|
-Requires(post): chkconfig
|
|
|
+Requires(post): chkconfig
|
|
|
+
|
|
|
+Requires: %{name}-libs = %{version}-%{release}
|
|
|
+
|
|
|
+Vendor: Project Vine
|
|
|
+Distribution: Vine Linux
|
|
|
|
|
|
-Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
%package devel
|
|
|
Summary: Development and doc files for the NAS
|
|
|
+Summary(ja): NAS 用開発ファイルとドキュメント
|
|
|
Group: Development/Libraries
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
+%description devel
|
|
|
+Development files and the documentation
|
|
|
+
|
|
|
+%description devel -l ja
|
|
|
+NAS 用開発ファイルとドキュメント
|
|
|
+
|
|
|
+
|
|
|
%package libs
|
|
|
Summary: Runtime libraries for NAS
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
+
|
|
|
%description libs
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
|
%description
|
|
|
-In a nutshell, NAS is the audio equivalent of an X display server.
|
|
|
+In a nutshell, NAS is the audio equivalent of an X display server.
|
|
|
The Network Audio System (NAS) was developed by NCD for playing,
|
|
|
recording, and manipulating audio data over a network. Like the
|
|
|
X Window System, it uses the client/server model to separate
|
|
|
applications from the specific drivers that control audio input
|
|
|
and output devices.
|
|
|
+
|
|
|
Key features of the Network Audio System include:
|
|
|
o Device-independent audio over the network
|
|
|
o Lots of audio file and data formats
|
|
@@ -51,15 +69,32 @@ Key features of the Network Audio System include:
|
|
|
o Small size
|
|
|
o Free! No obnoxious licensing terms
|
|
|
|
|
|
-%description devel
|
|
|
-Development files and the documentation
|
|
|
+%description -l ja
|
|
|
+簡単にいうと、NAS は X ディスプレイサーバのオーディオ版です。
|
|
|
+NCD (Network Computing Devices) 社で開発されたネットワークオーディオシステム
|
|
|
+(NAS) は、ネットワーク越しにオーディオデータを再生・録音・操作するための
|
|
|
+ものです。X Window System と同様にクライアント/サーバモデルを採用し、
|
|
|
+アプリケーションをオーディオ入出力デバイスおよび特定のドライバから切り離す
|
|
|
+設計になっています。
|
|
|
+
|
|
|
+NAS の特徴は以下の通りです:
|
|
|
+ o デバイスに依存しない、ネットワーク越しのオーディオ
|
|
|
+ o 多数のオーディオファイルやデータフォーマットに対応
|
|
|
+ o サーバ上にサウンドを保持、すばやくリプレイが可能
|
|
|
+ o オーディオデータのミキシング、セパレーション、操作が可能
|
|
|
+ o 複数のアプリケーションからのオーディオデバイス同時利用が可能
|
|
|
+ o 多数のソフトウェアメーカーによる利用実績
|
|
|
+ o コンパクトで小さなサイズ
|
|
|
+ o フリーです!面倒なライセンス条件はありません
|
|
|
|
|
|
|
|
|
%prep
|
|
|
-%setup -q -n nas-%{version}
|
|
|
+%setup -q
|
|
|
+%patch0 -p1 -b .move_AuErrorDB
|
|
|
iconv --from-code=ISO_8859-15 --to-code=UTF-8 HISTORY >HISTORY.tmp
|
|
|
mv HISTORY.tmp HISTORY
|
|
|
|
|
|
+
|
|
|
%build
|
|
|
xmkmf
|
|
|
find . -name Makefile \
|
|
@@ -68,38 +103,43 @@ make %{?_smp_mflags} World MFLAGS="IRULESRC=%{_datadir}/X11/config"
|
|
|
|
|
|
|
|
|
%install
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
|
|
|
make MFLAGS="IRULESRC=%{_datadir}/X11/config" \
|
|
|
- DESTDIR=$RPM_BUILD_ROOT BINDIR=%{_bindir} INCROOT=%{_includedir} \
|
|
|
+ DESTDIR=%{buildroot} BINDIR=%{_bindir} INCROOT=%{_includedir} \
|
|
|
LIBDIR=%{libdir_x11} SHLIBDIR=%{_libdir} USRLIBDIR=%{_libdir} MANPATH=%{_mandir} \
|
|
|
INSTALLFLAGS='-p' \
|
|
|
install install.man
|
|
|
|
|
|
-install -p -m755 -D %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/nasd
|
|
|
-install -p -m644 -D %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/nasd
|
|
|
+install -p -m755 -D %{SOURCE1} %{buildroot}%{_initrddir}/nasd
|
|
|
+install -p -m644 -D %{SOURCE2} %{buildroot}%{_sysconfdir}/sysconfig/nasd
|
|
|
|
|
|
# remove static lib
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
+rm -f %{buildroot}%{_libdir}/*.a
|
|
|
# rename cofigfile
|
|
|
-mv $RPM_BUILD_ROOT/etc/nas/nasd.conf.eg $RPM_BUILD_ROOT/etc/nas/nasd.conf
|
|
|
+mv %{buildroot}/etc/nas/nasd.conf.eg %{buildroot}/etc/nas/nasd.conf
|
|
|
+
|
|
|
|
|
|
%post
|
|
|
/sbin/chkconfig --add nasd
|
|
|
|
|
|
+
|
|
|
%preun
|
|
|
if [ $1 = 0 ] ; then
|
|
|
/sbin/chkconfig --del nasd
|
|
|
/sbin/service nasd stop >/dev/null 2>&1 ||:
|
|
|
fi
|
|
|
|
|
|
+
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
+
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
%clean
|
|
|
-rm -rf $RPM_BUILD_ROOT
|
|
|
+rm -rf %{buildroot}
|
|
|
+
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root,-)
|
|
@@ -107,16 +147,17 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
%config(noreplace) %{_sysconfdir}/nas/nasd.conf
|
|
|
%config(noreplace) %{_sysconfdir}/sysconfig/nasd
|
|
|
%{_initrddir}/nasd
|
|
|
-
|
|
|
%{_bindir}/*
|
|
|
%{_mandir}/man1/*
|
|
|
%{_mandir}/man5/*
|
|
|
-%{libdir_x11}/AuErrorDB
|
|
|
+
|
|
|
|
|
|
%files libs
|
|
|
%defattr(-,root,root,-)
|
|
|
%doc README FAQ HISTORY TODO
|
|
|
%{_libdir}/libaudio.so.*
|
|
|
+%{_datadir}/X11/AuErrorDB
|
|
|
+
|
|
|
|
|
|
%files devel
|
|
|
%defattr(-,root,root,-)
|
|
@@ -126,6 +167,13 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9.3-2
|
|
|
+- add Japanese summary and description
|
|
|
+
|
|
|
+* Fri Mar 23 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 1.9.3-1
|
|
|
+- new upstream release
|
|
|
+- add Patch0 (move AuErrorDB to sharedir)
|
|
|
+
|
|
|
* Sun Mar 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.9.1-7
|
|
|
- Initial build for Vine Linux
|
|
|
|