Summary(tr.UTF-8): Haber okuyucu
Summary(uk.UTF-8): tin - програма для читання телеконференцій Usenet
Name: tin
-Version: 1.9.3
-Release: 1
+Version: 2.0.1
+Release: 12
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: 01812db5784aa4957a170c3ea7639958
+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: gsasl-devel
+BuildRequires: libicu-devel
+BuildRequires: libidn-devel
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 \
- #--disable-locale \
- #--disable-mime-strict-charset \
--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 \
install doc/tin.defaults $RPM_BUILD_ROOT%{_sysconfdir}/tin/tinrc
install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/tin/attributes
-rm -f $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
-rm -f $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
+# file conflict mmdf between mutt and tin
+%{__rm} $RPM_BUILD_ROOT%{_mandir}/man5/mmdf.5*
%find_lang %{name}
%dir %{_sysconfdir}/%{name}
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/tinrc
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/attributes
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/metamutt
+%attr(755,root,root) %{_bindir}/opt-case.pl
+%attr(755,root,root) %{_bindir}/rtin
+%attr(755,root,root) %{_bindir}/tin
+%attr(755,root,root) %{_bindir}/tinews.pl
+%attr(755,root,root) %{_bindir}/url_handler.pl
+%attr(755,root,root) %{_bindir}/w2r.pl
+%{_mandir}/man1/opt-case.pl.1*
+%{_mandir}/man1/rtin.1*
+%{_mandir}/man1/tin.1*
+%{_mandir}/man1/tinews.pl.1*
+%{_mandir}/man1/url_handler.pl.1*
+%{_mandir}/man1/w2r.pl.1*
%{_mandir}/man5/tin.5*
-%{_mandir}/man5/mmdf*
-%{_desktopdir}/*.desktop
+%{_desktopdir}/tin.desktop