]> git.pld-linux.org Git - packages/tin.git/blobdiff - tin.spec
- release 2
[packages/tin.git] / tin.spec
index 95c78340090c3b1e9550d80cfa223ec99ec354ef..019b322b0fab98214d748ff65489c2751d4b8093 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.4
+Version:       1.9.6
 Release:       2
 Epoch:         5
 License:       distributable
 Group:         Applications/News
 Source0:       ftp://ftp.tin.org/pub/news/clients/tin/v1.9/%{name}-%{version}.tar.gz
-# Source0-md5: 21b02faf65bb523ce1ee58d4dfbc77fa
+# Source0-md5: 2102f3efd82a342005bd9afd30e03778
 Source1:       %{name}.desktop
 Source2:       %{name}.attributes
 Patch0:                %{name}-enable_coloring.patch
@@ -26,8 +26,10 @@ Patch2:              %{name}-range.patch
 Patch3:                %{name}-charset.patch
 URL:           http://www.tin.org/
 BuildRequires: bison
+BuildRequires: gettext-devel
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pcre-devel
+BuildRequires: uudeview-devel
 Requires:      urlview
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -85,17 +87,17 @@ Tin - це проста у використанні повноекранна п
 %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 \
@@ -122,6 +124,9 @@ install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
 
 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
@@ -136,5 +141,4 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man5/tin.5*
-%{_mandir}/man5/mmdf*
 %{_desktopdir}/*.desktop
This page took 1.349696 seconds and 4 git commands to generate.