From 78f2326e7b5702e92eab7d3829e36f2d5f3c3d1d Mon Sep 17 00:00:00 2001 From: cvs2git Date: Thu, 26 Jul 2001 06:21:20 +0000 Subject: [PATCH] This commit was manufactured by cvs2git to create tag 'tin-1_5_9-5'. Sprout from master 2001-07-25 19:34:58 UTC lukasz '-fixed' Cherrypick from master 2001-07-26 06:21:20 UTC kloczek '- removed with_system_pcre patch and pass -lpcre in LDFLAGS for link': tin.spec -> 1.69 --- tin.spec | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/tin.spec b/tin.spec index 84774fc..cc0426f 100644 --- 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 -- 2.44.0