]> git.pld-linux.org Git - packages/tin.git/blobdiff - tin.spec
- Categories added
[packages/tin.git] / tin.spec
index 78221718c8c43429e2225e7618af704abac7afe8..501a228531b9d7609aa407a762fd062780e3a4ed 100644 (file)
--- a/tin.spec
+++ b/tin.spec
@@ -1,3 +1,8 @@
+#
+#   You can build tin with:
+# --define 'domain_name your.domain'
+# --define 'default_server default.nntp.server'
+#
 Summary:       tin News Reader
 Summary(de):   tin News-Reader
 Summary(fr):   Lecteur de news tin
@@ -6,12 +11,13 @@ Summary(ru): tin - 
 Summary(tr):   Haber okuyucu
 Summary(uk):   tin - ÐÒÏÇÒÁÍÁ ÄÌÑ ÞÉÔÁÎÎÑ ÔÅÌÅËÏÎÆÅÒÅÎæʠUsenet
 Name:          tin
-Version:       1.5.15
+Version:       1.7.5
 Release:       1
 Epoch:         5
 License:       distributable
 Group:         Applications/News
-Source0:       ftp://ftp.tin.org/pub/news/clients/tin/v1.5/%{name}-%{version}.tar.bz2
+Source0:       ftp://ftp.tin.org/pub/news/clients/tin/v1.7/%{name}-%{version}.tar.bz2
+# Source0-md5: 47e0f598ef8d14dab25942be26861b63
 Source1:       %{name}.desktop
 Source2:       %{name}.attributes
 Patch0:                %{name}-enable_coloring.patch
@@ -19,9 +25,9 @@ Patch1:               %{name}-ncurses.patch
 Patch2:                %{name}-range.patch
 Patch3:                %{name}-charset.patch
 URL:           http://www.tin.org/
+BuildRequires: metamail
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pcre-devel
-BuildRequires: metamail
 Requires:      urlview
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -86,13 +92,17 @@ LDFLAGS="%{rpmldflags} -lpcre"
        --disable-mime-strict-charset \
        --with-pcre \
        --with-ncurses \
+       --enable-curses \
+       --with-screen=ncurses \
        --with-nov-dir=%{_var}/spool/news \
        --with-spooldir=%{_var}/spool/news \
        --disable-locale \
        --with-gpg=%{_bindir}/gpg \
        --with-mailer=%{_libdir}/sendmail \
        --enable-ipv6 \
-       --disable-debug
+       --disable-debug \
+       %{?domain_name:--with-domain-name=%{domain_name}} \
+       %{?default_server:--with-nntp-default-server=%{default_server}}
 
 %{__make} -C src
 
@@ -125,4 +135,5 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/*
 %{_mandir}/man1/*
 %{_mandir}/man5/tin.5*
+%{_mandir}/man5/mmdf*
 %{_applnkdir}/Network/News/*
This page took 0.078351 seconds and 4 git commands to generate.