Репозитории ALT
S: | 2.0.3-alt1 |
5.1: | 2.0.1-alt3 |
4.1: | 2.0.1-alt3 |
4.0: | 2.0.1-alt3 |
3.0: | 2.0.1-alt1.1 |
+backports: | 2.0.1-alt1.5.M30.1 |
Группа :: Звук
Пакет: ices2
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%define shortname ices
Name: ices2
Version: 2.0.1
Release: alt3
Summary: Ices2 - sourcer to use with Icecast2 daemon
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: Sound
Url: http://www.icecast.org
Source0: %shortname-%version.tar.bz2
Source1: %name
BuildPreReq: libshout2-devel >= 2.1-alt1.1
BuildRequires: gcc-c++ libalsa-devel libogg-devel libshout2-devel libstdc++-devel libvorbis-devel libxml2-devel pkgconfig zlib-devel
%description
Ices is a streamer for use with icecast2.
This package includes full-featured version of ices2.
%prep
%setup -q -n %shortname-%version
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir
cp conf/*.xml %buildroot%_sysconfdir/
rm -rf %buildroot%_datadir/ices
mv %buildroot%_bindir/%shortname %buildroot%_bindir/%name
#log path
mkdir -p %buildroot%_logdir/%shortname
#init-script
mkdir -p %buildroot%_initdir
install -m755 %SOURCE1 %buildroot%_initdir/%name
%pre
%_sbindir/groupadd -r -f _%shortname &>/dev/null
%_sbindir/useradd -r -g _%shortname -d %_localstatedir/%name -s /dev/null \
-c "Ices2 pseudo user" -M -n _%shortname &>/dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%files
%doc doc/{*.html,*.css}
%config (noreplace) %_sysconfdir/*.xml
%_bindir/%name
%_logdir/%shortname
%_initdir/%name
%changelog
…
Полный changelog можно просмотреть здесь
Name: ices2
Version: 2.0.1
Release: alt3
Summary: Ices2 - sourcer to use with Icecast2 daemon
Packager: Pavlov Konstantin <thresh at altlinux.ru>
License: GPL
Group: Sound
Url: http://www.icecast.org
Source0: %shortname-%version.tar.bz2
Source1: %name
BuildPreReq: libshout2-devel >= 2.1-alt1.1
BuildRequires: gcc-c++ libalsa-devel libogg-devel libshout2-devel libstdc++-devel libvorbis-devel libxml2-devel pkgconfig zlib-devel
%description
Ices is a streamer for use with icecast2.
This package includes full-featured version of ices2.
%prep
%setup -q -n %shortname-%version
%build
%configure
%make_build
%install
%make_install DESTDIR=%buildroot install
mkdir -p %buildroot%_sysconfdir
cp conf/*.xml %buildroot%_sysconfdir/
rm -rf %buildroot%_datadir/ices
mv %buildroot%_bindir/%shortname %buildroot%_bindir/%name
#log path
mkdir -p %buildroot%_logdir/%shortname
#init-script
mkdir -p %buildroot%_initdir
install -m755 %SOURCE1 %buildroot%_initdir/%name
%pre
%_sbindir/groupadd -r -f _%shortname &>/dev/null
%_sbindir/useradd -r -g _%shortname -d %_localstatedir/%name -s /dev/null \
-c "Ices2 pseudo user" -M -n _%shortname &>/dev/null ||:
%post
%post_service %name
%preun
%preun_service %name
%files
%doc doc/{*.html,*.css}
%config (noreplace) %_sysconfdir/*.xml
%_bindir/%name
%_logdir/%shortname
%_initdir/%name
%changelog
…
Полный changelog можно просмотреть здесь