]> git.pld-linux.org Git - packages/tin.git/blobdiff - tin.spec
- rebuild with icu 65.1
[packages/tin.git] / tin.spec
index d46d007e015d30c4d7cf1bc67b93fd0f71eca6c8..1b06211a5cbcc6f7b336b2e1116212c0d86d62f5 100644 (file)
--- a/tin.spec
+++ b/tin.spec
@@ -11,13 +11,13 @@ Summary(ru.UTF-8):  tin - программа для чтения телеконф
 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
@@ -26,8 +26,13 @@ Patch2:              %{name}-range.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)
 
@@ -85,19 +90,17 @@ Tin - це проста у використанні повноекранна п
 %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 \
@@ -117,12 +120,13 @@ install -d $RPM_BUILD_ROOT/{etc,etc/tin,%{_bindir},%{_mandir}/man1,%{_mandir}/ma
 
 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}
 
@@ -135,8 +139,18 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.281376 seconds and 4 git commands to generate.