]> git.pld-linux.org Git - packages/tin.git/blobdiff - tin.spec
This commit was manufactured by cvs2git to create tag 'tin-1_5_9-5'.
[packages/tin.git] / tin.spec
index 84774fcbd7613a72cfc37d19500e00c8ea3b3b0f..cc0426f132a559805416c8f1e39c4a9be11d9e05 100644 (file)
--- a/tin.spec
+++ b/tin.spec
@@ -14,10 +14,8 @@ 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
-Patch4:                %{name}-ctrl-h.patch
+Patch1:                %{name}-ncurses.patch
+Patch2:                %{name}-range.patch
 URL:           http://www.tin.org/
 BuildRequires: ncurses-devel >= 5.0
 BuildRequires: pcre-devel
@@ -63,19 +61,19 @@ okuyabilir.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
-%patch4 -p1
 
 %build
-%configure \
+LDFLAGS="%{rpmldflags} -lpcre"
+%configure2_13 \
        --enable-nls \
        --enable-color \
+       --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
 
@@ -83,7 +81,7 @@ okuyabilir.
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1,%{_applnkdir}/Network/News}
+install -d $RPM_BUILD_ROOT/{etc,%{_bindir},%{_mandir}/man1,%{_mandir}/man5,%{_applnkdir}/Network/News}
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
This page took 0.099586 seconds and 4 git commands to generate.