Summary(tr.UTF-8): Haber okuyucu
Summary(uk.UTF-8): tin - програма для читання телеконференцій Usenet
Name: tin
-Version: 1.9.4
-Release: 1
+Version: 2.0.1
+Release: 6
Epoch: 5
License: distributable
Group: Applications/News
-Source0: ftp://ftp.tin.org/pub/news/clients/tin/v1.9/snapshots/%{name}-%{version}.tar.gz
-# Source0-md5: 21b02faf65bb523ce1ee58d4dfbc77fa
+Source0: ftp://ftp.tin.org/pub/news/clients/tin/stable/%{name}-%{version}.tar.gz
+# Source0-md5: d05622db1712a78a2b92aa27904befc2
Source1: %{name}.desktop
Source2: %{name}.attributes
Patch0: %{name}-enable_coloring.patch
Patch3: %{name}-charset.patch
URL: http://www.tin.org/
BuildRequires: bison
+BuildRequires: gettext-tools
BuildRequires: ncurses-devel >= 5.0
BuildRequires: pcre-devel
+BuildRequires: uudeview-devel
Requires: urlview
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch3 -p1
%build
-LDFLAGS="%{rpmldflags} -lpcre"
+LDFLAGS="%{rpmldflags}"
%configure2_13 \
--disable-debug \
--enable-color \
--enable-curses \
--enable-ipv6 \
--enable-nls \
- --with-gpg=/usr/bin/gpg \
- --with-ispell=/usr/bin/ispell \
+ --with-gpg=%{_bindir}/gpg \
+ --with-ispell=%{_bindir}/ispell \
--with-mailer=/usr/lib/sendmail \
- --with-metamail=/usr/bin/metamail \
+ --with-metamail=%{_bindir}/metamail \
--with-ncurses \
--with-nov-dir=%{_var}/spool/news \
--with-pcre \
rm -f $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
+# file conflict mmdf between mutt and tin
+rm -f $RPM_BUILD_ROOT%{_mandir}/man5/mmdf.5*
+
%find_lang %{name}
%clean
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%{_mandir}/man5/tin.5*
-%{_mandir}/man5/mmdf*
%{_desktopdir}/*.desktop