Репозитории ALT
S: | 1.3-alt3 |
5.1: | 1.3-alt1.0 |
4.1: | 1.3-alt1.0 |
4.0: | 1.3-alt1.0 |
3.0: | 0.17-ipl4mdk |
Группа :: Сети/Прочее
Пакет: finger
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: finger
Version: 0.17
Release: ipl4mdk
Summary: The %name client
License: BSD
Group: Networking/Other
Url: ftp://ibiblio.org/pub/Linux/system/network/%name
Source: %url/bsd-%name-%version.tar.bz2
Source1: %name.xinetd
Patch1: bsd-%name-0.16-pts.patch
Patch2: bsd-%name-0.16-allocbroken.patch
Patch3: bsd-%name-0.17-rfc742.patch
Patch4: bsd-%name-0.17-time.patch
%package server
Summary: The %name daemon
Group: System/Servers
%description
Finger is a utility which allows users to see information about system
users (login name, home directory, name, how long they've been logged
in to the system, etc.). The %name package includes a standard
%name client.
You should install %name if you'd like to retreive %name information
from other systems.
%description server
Finger is a utility which allows users to see information about system
users (login name, home directory, name, how long they've been logged
in to the system, etc.). The %name-server package includes a standard
%name server. The server daemon (%{name}d) usually runs from
%_sysconfdir/xinetd.d/%name.
You should install %name-server if your system is used by multiple users
and you'd like %name information to be available.
%prep
%setup -q -n bsd-%name-%version
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
sh configure
perl -pi -e '
s,^CC=.*$,CC=cc,;
s,-O2,\$(RPM_OPT_FLAGS),;
s,^BINDIR=.*$,BINDIR=%_bindir,;
s,^MANDIR=.*$,MANDIR=%_mandir,;
s,^SBINDIR=.*$,SBINDIR=%_sbindir,;
' MCONFIG
%make_build
%install
mkdir -p $RPM_BUILD_ROOT/{%_bindir,%_sbindir,%_mandir/man{1,8}}
install -D -m640 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/xinetd.d/%name
%make_install install INSTALLROOT=$RPM_BUILD_ROOT
%files
%attr(711,root,root) %_bindir/*
%_mandir/man1/*
%files server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%attr(711,root,root) %_sbindir/*
%_mandir/man8/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 0.17
Release: ipl4mdk
Summary: The %name client
License: BSD
Group: Networking/Other
Url: ftp://ibiblio.org/pub/Linux/system/network/%name
Source: %url/bsd-%name-%version.tar.bz2
Source1: %name.xinetd
Patch1: bsd-%name-0.16-pts.patch
Patch2: bsd-%name-0.16-allocbroken.patch
Patch3: bsd-%name-0.17-rfc742.patch
Patch4: bsd-%name-0.17-time.patch
%package server
Summary: The %name daemon
Group: System/Servers
%description
Finger is a utility which allows users to see information about system
users (login name, home directory, name, how long they've been logged
in to the system, etc.). The %name package includes a standard
%name client.
You should install %name if you'd like to retreive %name information
from other systems.
%description server
Finger is a utility which allows users to see information about system
users (login name, home directory, name, how long they've been logged
in to the system, etc.). The %name-server package includes a standard
%name server. The server daemon (%{name}d) usually runs from
%_sysconfdir/xinetd.d/%name.
You should install %name-server if your system is used by multiple users
and you'd like %name information to be available.
%prep
%setup -q -n bsd-%name-%version
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%build
sh configure
perl -pi -e '
s,^CC=.*$,CC=cc,;
s,-O2,\$(RPM_OPT_FLAGS),;
s,^BINDIR=.*$,BINDIR=%_bindir,;
s,^MANDIR=.*$,MANDIR=%_mandir,;
s,^SBINDIR=.*$,SBINDIR=%_sbindir,;
' MCONFIG
%make_build
%install
mkdir -p $RPM_BUILD_ROOT/{%_bindir,%_sbindir,%_mandir/man{1,8}}
install -D -m640 %SOURCE1 $RPM_BUILD_ROOT%_sysconfdir/xinetd.d/%name
%make_install install INSTALLROOT=$RPM_BUILD_ROOT
%files
%attr(711,root,root) %_bindir/*
%_mandir/man1/*
%files server
%config(noreplace) %_sysconfdir/xinetd.d/%name
%attr(711,root,root) %_sbindir/*
%_mandir/man8/*
%changelog
…
Полный changelog можно просмотреть здесь