Репозитории ALT
S: | 1.9.5-alt1 |
D: | 1.9-alt0.1 |
5.1: | 1.9.2-alt3 |
4.1: | 1.9.1-alt1 |
4.0: | 1.9-alt1 |
3.0: | 1.6e-alt1 |
Группа :: Звук
Пакет: nas
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%def_enable static
%def_enable shared
%def_with pic
Name: nas
%define dname %{name}d
Version: 1.9.1
Release: alt1
Summary: Network Audio System - a portable, network-transparent audio system
Group: Sound
License: distributable
URL: http://radscan.com/%name.html
Source0: http://%name.codebrilliance.com/%name/%name-%version.src.tar.bz2
Source1: %dname.init
Patch0: %name-1.9.1-config.patch
Patch1: %name-1.9.1-pidfile.patch
# Automatically added by buildreq on Mon Nov 12 2007
#BuildRequires: flex gcc-c++ gccmakedep imake libXaw-devel xorg-cf-files zlib-devel
BuildRequires: flex gcc-c++ gccmakedep libXaw-devel zlib-devel imake
BuildRequires: xorg-cf-files >= 1.0.1-alt5
%description
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%package -n %dname
Summary: Network Audio System Daemon
Group: Sound
%description -n %dname
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%if_enabled shared
%package -n libaudio
Summary: Network Audio System client library
Group: Sound
%description -n libaudio
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains NAS client library.
%endif
%package -n libaudio-devel
Summary: NAS client library - development headers
Group: Development/C
Requires: libaudio%{?_disable_shared:-devel-static} = %version-%release
%description -n libaudio-devel
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains development headers for NAS client library.
%if_enabled static
%package -n libaudio-devel-static
Summary: NAS client library - static library
Group: Development/C
Requires: libaudio-devel = %version-%release
%description -n libaudio-devel-static
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains static version of NAS client library.
%endif
%package utils
Summary: Network Audio System utilites
Group: Sound
Requires: libaudio = %version-%release
%description utils
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains miscellaneous NAS client utilites.
%package examples
Summary: Network Audio System examples
Group: Sound
Requires: libaudio = %version-%release
%description examples
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%package doc
Summary: Network Audio System documentation
Group: Books/Computer books
# Hack to have same versions of all packages
Conflicts: %dname < %version-%release
Conflicts: %dname > %version-%release
Conflicts: libaudio < %version-%release
Conflicts: libaudio > %version-%release
Conflicts: libaudio-devel < 1.9.1-alt1
%description doc
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
subst 's|/%_sysconfdir/%name\(/%dname\.conf\.eg\)|%_docdir/%dname-%version\1|g' \
doc/html/%dname.conf.5.html server/%dname.conf.man
%build
echo "#define NasConfigSearchPath /etc/" >> config/NetAudio.def
echo "#define SharedLibX YES" >> config/NetAudio.def
echo "#define NormalLibX YES" >> config/NetAudio.def
xmkmf
pushd config
%configure --with-gnu-ld %{subst_with pic}
popd
%make_build BOOTSTRAPCFLAGS="%optflags" CDEBUGFLAGS="%optflags" CXXDEBUGFLAGS="%optflags" World
%install
%make_install DESTDIR=%buildroot ETCDIR=%_docdir/%dname-%version install install.man
install -D -m 0755 %SOURCE1 %buildroot%_initdir/%dname
echo "# See %dname.conf(5) and sample at %_docdir/%dname-*/" > %buildroot%_sysconfdir/%dname.conf
bzip2 --keep --force --best HISTORY
%if_enabled shared
%post -n libaudio -p %post_ldconfig
%postun -n libaudio -p %postun_ldconfig
%endif
%post -n %dname
%post_service %dname ||:
%preun -n %dname
%preun_service %dname ||:
%files -n %dname
%_docdir/%dname-%version
%config(noreplace) %_sysconfdir/%dname.conf
%_initdir/*
%_bindir/%dname
%_man1dir/%dname.1*
%_man5dir/*
%if_enabled shared
%files -n libaudio
%_libdir/libaudio.so.*
%_datadir/X11/AuErrorDB
%endif
%files -n libaudio-devel
%_libdir/libaudio.so
%_includedir/audio
%if_enabled static
%files -n libaudio-devel-static
%_libdir/libaudio.a
%endif
%files utils
%_bindir/au*
%_man1dir/au*
%_man1dir/%name.1*
%files examples
%_bindir/checkmail
%_bindir/issndfile
%_bindir/playbucket
%_bindir/soundtoh
%_man1dir/checkmail.1*
%_man1dir/issndfile.1*
%_man1dir/playbucket.1*
%_man1dir/soundtoh.1*
%files doc
%doc FAQ HISTORY.* README TODO
%doc doc/actions doc/*.txt doc/*.ps doc/pdf
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь
%def_enable shared
%def_with pic
Name: nas
%define dname %{name}d
Version: 1.9.1
Release: alt1
Summary: Network Audio System - a portable, network-transparent audio system
Group: Sound
License: distributable
URL: http://radscan.com/%name.html
Source0: http://%name.codebrilliance.com/%name/%name-%version.src.tar.bz2
Source1: %dname.init
Patch0: %name-1.9.1-config.patch
Patch1: %name-1.9.1-pidfile.patch
# Automatically added by buildreq on Mon Nov 12 2007
#BuildRequires: flex gcc-c++ gccmakedep imake libXaw-devel xorg-cf-files zlib-devel
BuildRequires: flex gcc-c++ gccmakedep libXaw-devel zlib-devel imake
BuildRequires: xorg-cf-files >= 1.0.1-alt5
%description
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%package -n %dname
Summary: Network Audio System Daemon
Group: Sound
%description -n %dname
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%if_enabled shared
%package -n libaudio
Summary: Network Audio System client library
Group: Sound
%description -n libaudio
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains NAS client library.
%endif
%package -n libaudio-devel
Summary: NAS client library - development headers
Group: Development/C
Requires: libaudio%{?_disable_shared:-devel-static} = %version-%release
%description -n libaudio-devel
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains development headers for NAS client library.
%if_enabled static
%package -n libaudio-devel-static
Summary: NAS client library - static library
Group: Development/C
Requires: libaudio-devel = %version-%release
%description -n libaudio-devel-static
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains static version of NAS client library.
%endif
%package utils
Summary: Network Audio System utilites
Group: Sound
Requires: libaudio = %version-%release
%description utils
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
This package contains miscellaneous NAS client utilites.
%package examples
Summary: Network Audio System examples
Group: Sound
Requires: libaudio = %version-%release
%description examples
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%package doc
Summary: Network Audio System documentation
Group: Books/Computer books
# Hack to have same versions of all packages
Conflicts: %dname < %version-%release
Conflicts: %dname > %version-%release
Conflicts: libaudio < %version-%release
Conflicts: libaudio > %version-%release
Conflicts: libaudio-devel < 1.9.1-alt1
%description doc
The Network Audio System service is a network-transparent system
developed at Network Computing Devices for playing, recording, and
manipulating audio data over a network. It uses the client/server
model to separate application code from the software drivers
needed to control specific audio input and output devices.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
subst 's|/%_sysconfdir/%name\(/%dname\.conf\.eg\)|%_docdir/%dname-%version\1|g' \
doc/html/%dname.conf.5.html server/%dname.conf.man
%build
echo "#define NasConfigSearchPath /etc/" >> config/NetAudio.def
echo "#define SharedLibX YES" >> config/NetAudio.def
echo "#define NormalLibX YES" >> config/NetAudio.def
xmkmf
pushd config
%configure --with-gnu-ld %{subst_with pic}
popd
%make_build BOOTSTRAPCFLAGS="%optflags" CDEBUGFLAGS="%optflags" CXXDEBUGFLAGS="%optflags" World
%install
%make_install DESTDIR=%buildroot ETCDIR=%_docdir/%dname-%version install install.man
install -D -m 0755 %SOURCE1 %buildroot%_initdir/%dname
echo "# See %dname.conf(5) and sample at %_docdir/%dname-*/" > %buildroot%_sysconfdir/%dname.conf
bzip2 --keep --force --best HISTORY
%if_enabled shared
%post -n libaudio -p %post_ldconfig
%postun -n libaudio -p %postun_ldconfig
%endif
%post -n %dname
%post_service %dname ||:
%preun -n %dname
%preun_service %dname ||:
%files -n %dname
%_docdir/%dname-%version
%config(noreplace) %_sysconfdir/%dname.conf
%_initdir/*
%_bindir/%dname
%_man1dir/%dname.1*
%_man5dir/*
%if_enabled shared
%files -n libaudio
%_libdir/libaudio.so.*
%_datadir/X11/AuErrorDB
%endif
%files -n libaudio-devel
%_libdir/libaudio.so
%_includedir/audio
%if_enabled static
%files -n libaudio-devel-static
%_libdir/libaudio.a
%endif
%files utils
%_bindir/au*
%_man1dir/au*
%_man1dir/%name.1*
%files examples
%_bindir/checkmail
%_bindir/issndfile
%_bindir/playbucket
%_bindir/soundtoh
%_man1dir/checkmail.1*
%_man1dir/issndfile.1*
%_man1dir/playbucket.1*
%_man1dir/soundtoh.1*
%files doc
%doc FAQ HISTORY.* README TODO
%doc doc/actions doc/*.txt doc/*.ps doc/pdf
%_man3dir/*
%changelog
…
Полный changelog можно просмотреть здесь