Name: tin Version: 1.8.3 Release: 7%{?dist} Summary: Basic Internet news reader Group: Applications/Internet License: BSD URL: http://www.tin.org/ Source0: ftp://ftp.tin.org/pub/news/clients/tin/v1.8/tin-1.8.3.tar.bz2 Source1: ftp://ftp.tin.org/pub/news/clients/tin/v1.8/tin-1.8.3.tar.bz2.sign BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: ncurses-devel, byacc, desktop-file-utils, pcre-devel, gnupg2 %description Tin is a basic, easy to use Internet news reader. Tin can read news locally or remotely via an NNTP (Network News Transport Protocol) server. Install tin if you need a basic news reader. %prep %setup -q %build %configure \ --with-libdir=/var/lib/news \ --with-spooldir=/var/spool/news/articles \ --enable-nntp \ --enable-prototypes \ --disable-echo \ --disable-mime-strict-charset \ --enable-color \ --enable-ncurses \ --enable-locale \ --with-pcre %{__sed} -i -e 's/@\$(INSTALL) -s/@\$(INSTALL)/g' src/Makefile %{__make} clean %{?_smp_mflags} %{__make} build %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -I%{_includedir}/pcre" %install %{__rm} -rf $RPM_BUILD_ROOT %{__make} install DESTDIR=$RPM_BUILD_ROOT # url_handler.sh conflicts with mutt %{__rm} -f $RPM_BUILD_ROOT/%{_bindir}/url_handler.sh %find_lang %{name} %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %name.lang %defattr(-,root,root) %doc README doc/* %{_bindir}/tin %{_bindir}/rtin %{_bindir}/metamutt %{_bindir}/opt-case.pl %{_bindir}/w2r.pl %{_bindir}/tinews.pl %{_mandir}/man1/* %{_mandir}/man5/* %changelog * Tue Apr 13 2010 Adrian Reber <adrian@lisas.de> - 1.8.3-7 - added BR on gnupg2 (bz #574976) - use the %%find_lang macro - remove binary stripping from Makefile with sed instead of perl * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.3-4 - Autorebuild for GCC 4.3 * Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 1.8.3-3 - license updated * Fri Aug 24 2007 Adrian Reber <adrian@lisas.de> - 1.8.3-2 - rebuilt * Wed Jun 20 2007 Adrian Reber <adrian@lisas.de> - 1.8.3-1 - updated to 1.8.3 - removed desktop file (bz #241463) * Fri Sep 15 2006 Adrian Reber <adrian@lisas.de> - 1.8.2-1 - updated to 1.8.2 * Sun Mar 13 2006 Adrian Reber <adrian@lisas.de> - 1.8.1-1 - updated to 1.8.1 * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.6.2-4 - rebuild on all arches * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> - rebuilt * Thu Jun 24 2004 Adrian Reber <adrian@lisas.de> - 0:1.6.2-0.fdr.2 - changed BuildRequires from bison to byacc - added pcre-devel as BuildRequires - replaced all commands with rpmmacros - made make use RPM_OPT_FLAGS * Sat Nov 23 2003 Adrian Reber <adrian@lisas.de> - 0:1.6.2-0.fdr.1 - updated to 1.6.2 * Fri Jun 06 2003 Adrian Reber <adrian@lisas.de> - 0:1.4.7-0.fdr.2 - remove stripping from Makefile; let rpm strip the binaries - moved the documentation from docdir/doc to docdir * Sat May 31 2003 Adrian Reber <adrian@lisas.de> - 0:1.4.7-0.fdr.1 - updated to 1.4.7 - Source now macroless - BuildRoot changed to the format from the fedora spec template - added smp_mflags to the makes - more fedorafication * Thu May 01 2003 Adrian Reber <adrian@lisas.de> - 0:1.4.6-0.fdr.3 - Added BuildRequires: bison, desktop-files-utils - removed --verbose and --mandir from configure - s/X-Red-Hat-Extra/X-Fedora/ in desktop-file-install - added release macro to BuildRoot * Tue Feb 25 2003 Adrian Reber <adrian@lisas.de> - 1.4.6-1.fedora.1 - applied fedora naming conventions * Tue Aug 22 2000 Than Ngo <than@redhat.com> - add applink file (Bug #16568) * Mon Aug 07 2000 Preston Brown <pbrown@redhat.com> - 1.4.4 fixes buffer overflow, memory leaks. * Wed Jul 12 2000 Prospector <bugzilla@redhat.com> - automatic rebuild * Fri Jun 02 2000 Preston Brown <pbrown@redhat.com> - fix spooldir to be /var/spool/news/articles not /var/spool/news * Fri Mar 24 2000 Bernhard Rosenkraenzer <bero@redhat.com> - rebuild with current ncurses * Thu Feb 17 2000 Preston Brown <pbrown@redhat.com> - rebuild with new vi in the buildroots so it finds the right default editor * Thu Feb 10 2000 Preston Brown <pbrown@redhat.com> - bump epoch * Mon Feb 07 2000 Preston Brown <pbrown@redhat.com> - upgrade to 1.4.2 (stable) * Mon May 31 1999 Jeff Johnson <jbj@redhat.com> - update to tinpre-1.4-19990517. - fix libdir=/var/lib/news (#7). - fix spooldir=/var/spool/news. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 3) * Tue Mar 09 1999 Preston Brown <pbrown@redhat.com> - upgraded to latest dev version snapshot. * Wed Feb 24 1999 Preston Brown <pbrown@redhat.com> - Injected new description and group. * Tue Dec 22 1998 Preston Brown <pbrown@redhat.com> - upgraded again to latest snapshot. * Fri Nov 06 1998 Preston Brown <pbrown@redhat.com> - Alan is right; 1.22 is full of bugs and ANCIENT. Moved to latest tin. * Tue Aug 4 1998 Jeff Johnson <jbj@redhat.com> - build root * Wed Jun 24 1998 Alan Cox <alan@redhat.com> - turned on DONT_LOG_USER - get rid of the silly file in /tmp. We probably ought to move to a newer tin soon. * Fri Apr 24 1998 Prospector System <bugs@redhat.com> - translations modified for de, fr, tr * Wed Apr 15 1998 Erik Troan <ewt@redhat.com> - built against new ncurses * Mon Nov 3 1997 Erik Troan <ewt@redhat.com> - hacked to use just termios, not a motley mix of termios and termio * Fri Jul 18 1997 Erik Troan <ewt@redhat.com> - built against glibc