]> git.pld-linux.org Git - packages/tin.git/blobdiff - tin.spec
- added disable-mime-strict-charset option to configure
[packages/tin.git] / tin.spec
index 72f01149f52aa0559439a40aea81e678d0a6a8e2..0f0ee38a55ac298fe50670734a73e596bf2e4e5c 100644 (file)
--- a/tin.spec
+++ b/tin.spec
@@ -4,23 +4,23 @@ Summary(fr):  Lecteur de news tin
 Summary(pl):   tin - czytnik newsów
 Summary(tr):   Haber okuyucu
 Name:          tin
-Version:       1.5.9
-Release:       5
+Version:       1.5.10
+Release:       2
 Epoch:         3
-License:       Distributable
+License:       distributable
 Group:         Applications/News
 Group(de):     Applikationen/News
 Group(pl):     Aplikacje/News
 Source0:       ftp://ftp.tin.org/pub/news/clients/tin/unstable/snapshots/%{name}-%{version}.tar.bz2
 Source1:       %{name}.desktop
 Patch0:                %{name}-enable_coloring.patch
-#Patch1:               %{name}-with_system_pcre.patch
-Patch2:                %{name}-ncurses.patch
-Patch3:                %{name}-range.patch
+Patch1:                %{name}-ncurses.patch
+Patch2:                %{name}-range.patch
 URL:           http://www.tin.org/
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pcre-devel
 BuildRequires: metamail
+Requires:      urlview
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -60,20 +60,22 @@ okuyabilir.
 %prep
 %setup -q
 %patch0 -p1
-#%patch1 -p1
+%patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
+LDFLAGS="%{rpmldflags} -lpcre"
 %configure2_13 \
        --enable-nls \
        --enable-color \
+       --disable-mime-strict-charset \
+       --with-pcre \
        --with-ncurses \
        --with-nov-dir=%{_var}/spool/news \
        --with-spooldir=%{_var}/spool/news \
        --enable-locale \
        --with-gpg=%{_bindir}/gpg \
-       --with-mailer=%{_sbindir}/sendmail \
+       --with-mailer=%{_libdir}/sendmail \
        --enable-ipv6 \
        --disable-debug
 
@@ -89,7 +91,9 @@ install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1,%{_mandir}/man5,%{_ap
 %{__install} doc/tin.defaults $RPM_BUILD_ROOT%{_sysconfdir}
 echo ".so tin.1" > $RPM_BUILD_ROOT%{_mandir}/man1/rtin.1
 
-%{__install} %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/News
+install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/News
+
+rm -f $RPM_BUILD_ROOT%{_bindir}/url_handler.sh
 
 %find_lang %{name}
 
This page took 0.06519 seconds and 4 git commands to generate.