]> git.pld-linux.org Git - packages/tin.git/commitdiff
This commit was manufactured by cvs2git to create tag 'tin-1_5_9-5'. tin-1_5_9-5
authorcvs2git <feedback@pld-linux.org>
Thu, 26 Jul 2001 06:21:20 +0000 (06:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Sprout from master 2001-07-25 19:34:58 UTC lukasz <lukasz@pld-linux.org> '-fixed'
Cherrypick from master 2001-07-26 06:21:20 UTC kloczek <kloczek@pld-linux.org> '- removed with_system_pcre patch and pass -lpcre in LDFLAGS for link':
    tin.spec -> 1.69

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.188862 seconds and 4 git commands to generate.