Name: ytalk
Version: 3.1.1
Release: 2
-Copyright: BSD
+License: BSD
Group: Networking
Group(pl): Sieciowe
-Source: http://www.eleves.ens.fr/home/espel/ytalk/%{name}-%{version}.tar.gz
-Patch: ytalk.patch
+Source0: http://www.eleves.ens.fr/home/espel/ytalk/%{name}-%{version}.tar.gz
+Patch0: ytalk.patch
URL: http://www.eleves.ens.fr/home/espel/ytalk/ytalk.html
BuildRequires: ncurses-devel >= 5.0
-Buildroot: /tmp/%{name}-%{version}-root
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-ytalk is an extension of the standard Internet 'talk' protocol that allows
-more than two users per conversation, redirection of program output to others,
-as well as an easy-to-use menu of commands. It uses the same talk daemon
-as the standard talk program.
+ytalk is an extension of the standard Internet 'talk' protocol that
+allows more than two users per conversation, redirection of program
+output to others, as well as an easy-to-use menu of commands. It uses
+the same talk daemon as the standard talk program.
%description -l de
-ytalk ist eine Erweiterung des herkömmlichen Internet-'talk'-Protokolls, die
-mehr als zwei Benutzer pro Unterhaltung und die Umleitung von Programmausgaben
-an andere ermöglicht und ein einfaches Befehlsmenü enthält. Es verwendet
+ytalk ist eine Erweiterung des herkömmlichen
+Internet-'talk'-Protokolls, die mehr als zwei Benutzer pro
+Unterhaltung und die Umleitung von Programmausgaben an andere
+ermöglicht und ein einfaches Befehlsmenü enthält. Es verwendet
denselben Talk-Dämon wie das Standardprogramm.
%description -l fr
-ytalk est une extension du protocole standard Internet 'talk' qui accepte
-plus de deux utilisateurs par conversation, la redirection des affichages
-aux autres, aussi bien que menus de commandes simples à utiliser. Il utilise
-le même démon que le programme talk.
+ytalk est une extension du protocole standard Internet 'talk' qui
+accepte plus de deux utilisateurs par conversation, la redirection des
+affichages aux autres, aussi bien que menus de commandes simples à
+utiliser. Il utilise le même démon que le programme talk.
%description -l pl
-Ytalk jest rozszerzeniem standardowego protoko³u internetowego talk. Pozwala
-na prowadzenie konwersacji przez wiêcej ni¿ dwie osoby, u¿ywa tego samego
-demona talkd co standardowy klient talk.
+Ytalk jest rozszerzeniem standardowego protoko³u internetowego talk.
+Pozwala na prowadzenie konwersacji przez wiêcej ni¿ dwie osoby, u¿ywa
+tego samego demona talkd co standardowy klient talk.
%description -l tr
ytalk, standart talk yazýlýmýnýn geliþmiþ bir sürümüdür. Ýkiden fazla
kiþinin ayný anda konuþmalarýný ve program çýktýlarýnýn kullanýcýlara
-yönlendirilmelerini saðlar. Kolay kullanýlabilir bir komut menüsü içerir.
-Standart talkd daemon'u kullanýr.
+yönlendirilmelerini saðlar. Kolay kullanýlabilir bir komut menüsü
+içerir. Standart talkd daemon'u kullanýr.
%prep
%setup -q
CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
./configure %{_target_platform} \
--prefix=%{_prefix} \
- --sysconfdir=/etc \
+ --sysconfdir=%{_sysconfdir} \
--without-x
make
%install
rm -rf $RPM_BUILD_ROOT
-make install \
+%{__make} install \
prefix=$RPM_BUILD_ROOT%{_prefix} \
- sysconfdir=$RPM_BUILD_ROOT/etc
+ sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir}
gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
README
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
-%config %verify(not size md5 mtime) /etc/ytalkrc
+%config %verify(not size md5 mtime) %{_sysconfdir}/ytalkrc