d81975d
Name:		snownews
c944441
Version: 	1.5.12
803e8d7
Release: 	5%{?dist}
5b4ec5b
Summary: 	A text mode RSS/RDF newsreader
5b4ec5b
Group: 		Applications/Internet
2f53ece
License: 	GPLv2
5b4ec5b
Url:		http://home.kcore.de/~kiza/software/snownews
c944441
Source0: 	http://home.kcore.de/~kiza/software/snownews/download/snownews-1.5.12.tar.gz
8334645
Patch0:		snownews-1.5.10-nocheck.patch
8334645
Patch1:		snownews-1.5.10-nostrip.patch
c944441
Patch2:		snownews-1.5.12-manpage.patch
d658004
Patch3:		snownews-1.5.12-ncursesw.patch
d81975d
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsextras a11ec01
BuildRequires:	libxml2-devel
cvsextras a11ec01
BuildRequires:	ncurses-devel
cvsextras a11ec01
BuildRequires:	gettext
bdcb313
BuildRequires:	openssl-devel
cvsextras a11ec01
cvsextras a11ec01
%description
cvsextras a11ec01
Snownews  is  a text mode RSS/RDF newsreader. It supports all versions
cvsextras a11ec01
of RSS natively and supports other formats via plugins.
cvsextras a11ec01
5b4ec5b
The program depends on ncurses for the user interface and uses libxml2 
cvsextras a11ec01
for XML parsing. ncurses must be at least version 5.0. It should work
cvsextras a11ec01
with any version of libxml2.
cvsextras a11ec01
cvsextras a11ec01
%prep
cvsextras a11ec01
%setup -q
cvsextras a11ec01
%patch0 -p1
8334645
%patch1 -p1
cvsextras a11ec01
%patch2 -p1
d658004
%patch3 -p1
cvsextras a11ec01
cvsextras a11ec01
%build
ee063b0
./configure --prefix=%{_prefix}
d658004
EXTRA_CFLAGS="$RPM_OPT_FLAGS -fPIE -DUTF_8" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
cvsextras a11ec01
cvsextras a11ec01
%install
cvsextras a11ec01
rm -rf $RPM_BUILD_ROOT
5b4ec5b
make DESTDIR="$RPM_BUILD_ROOT" install
cvsextras a11ec01
%find_lang %name
cvsextras a11ec01
cvsextras a11ec01
%clean
cvsextras a11ec01
rm -rf $RPM_BUILD_ROOT
cvsextras a11ec01
cvsextras a11ec01
%files -f %name.lang
cvsextras a11ec01
%defattr(-,root,root)
cvsextras a11ec01
%doc README* AUTHOR COPYING CREDITS Changelog
5b4ec5b
%{_bindir}/opml2snow
f1d86e1
%{_bindir}/snow2opml
5b4ec5b
%{_bindir}/snownews
5b4ec5b
%{_mandir}/man1/*
5b4ec5b
%{_mandir}/*/man1/*
cvsextras a11ec01
cvsextras a11ec01
%changelog
803e8d7
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-5
803e8d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
803e8d7
c84f307
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-4
c84f307
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c84f307
b3feb7a
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-3
b3feb7a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3feb7a
d658004
* Mon Dec 14 2009 Zing <zing@fastmail.fm> - 1.5.12-2
d658004
- Bring back link with ncursesw, set -DUTF_8 for xmlUTF8Strlen #546431
d658004
  mistakenly dropped when charset patch went upstream
d658004
c944441
* Mon Oct  5 2009 Zing <zing@fastmail.fm> - 1.5.12-1
c944441
- Bug fixes + openssl added as a requirement
c944441
- Corrected two crashes when using mark unread and open URL on
c944441
  non-existent items.
c944441
- Use OpenSSL for MD5 calculations and remove all old MD5 code.
c944441
- Fix 64bit digest calc. Readstatus wasn't remembered on 64bit versions.
c944441
bbe3c3b
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.10-6
bbe3c3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bbe3c3b
abbe79e
* Thu May 28 2009 Zing <zing@fastmail.fm> - 1.5.10-5
abbe79e
- possible pie fix for sparc build
abbe79e
ea7621e
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.10-4
ea7621e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea7621e
8334645
* Sat Aug  2 2008 Zing <zing@fastmail.fm> - 1.5.10-3
8334645
- watchout! fuzz cops in town!
8334645
ee063b0
* Sat Aug  2 2008 Zing <zing@fastmail.fm> - 1.5.10-1
ee063b0
- update to 1.5.10
ee063b0
- drop charset patch (upstream)
ee063b0
610df77
* Thu Apr 17 2008 Zing <zing@fastmail.fm> - 1.5.9-1
610df77
- update to 1.5.9
610df77
bb10a41
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.8-2
bb10a41
- Autorebuild for GCC 4.3
bb10a41
d81975d
* Fri Jan 11 2008 Zing <zing@fastmail.fm> - 1.5.8-1
d81975d
- update to 1.5.8
d81975d
- remove manpath and softlink patch (upstream)
d81975d
- update charset patch (utf-8 enabled in configure)
d81975d
- snowsync program removed
d81975d
2f53ece
* Thu Aug 16 2007 Zing <zing@fastmail.fm> - 1.5.7-7
2f53ece
- License too verbose, just GPLv2 is fine
2f53ece
9696f25
* Thu Aug  9 2007 Zing <zing@fastmail.fm> - 1.5.7-6
9696f25
- conform to Fedora Licensing Guidelines
9696f25
2a64451
* Sat Sep  9 2006 Zing <zing@fastmail.fm> - 1.5.7-5
2a64451
- remove mention of update checking from man page
2a64451
- rebuild for FE6
2a64451
d30f773
* Tue Feb 14 2006 Zing <shishz@hotpop.com> - 1.5.7-4
d30f773
- rebuild for FE5
d30f773
658ad95
* Mon Aug 29 2005 Zing <shishz@hotpop.com> - 1.5.7-3
658ad95
- cleanups related to runtime charset detection
658ad95
-   get rid of configure --charset=UTF-8 hardcoding
658ad95
-   link with ncursesw, set -DUTF_8 for xmlUTF8Strlen
658ad95
f1d86e1
* Mon Aug  6 2005 Zing <shishz@hotpop.com> - 1.5.7-2
f1d86e1
- add runtime charset detection, #155073
f1d86e1
- use dist macro
f1d86e1
f1d86e1
* Fri Jul 29 2005 Zing <shishz@hotpop.com> - 1.5.7-1
f1d86e1
- update to 1.5.7
f1d86e1
- drop destdir patch, fixed upstream
f1d86e1
- fixup softlink for snow2opml
f1d86e1
5b4ec5b
* Thu Mar 24 2005 Warren Togami <wtogami@redhat.com> - 1.5.6.1-3
5b4ec5b
- macroize dirs
5b4ec5b
5b4ec5b
* Tue Mar 15 2005 Zing <shishz@hotpop.com> - 1.5.6.1-2
5b4ec5b
- enable snowsync
5b4ec5b
5b4ec5b
* Thu Feb 24 2005 Zing <shishz@hotpop.com> - 1.5.6.1-1
5b4ec5b
- new upstream
5b4ec5b
- remove snowsync for now. (we need perl-XML-LibXSLT)
5b4ec5b
cvsextras a11ec01
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.4
cvsextras a11ec01
- More cleanups from QA (M.Schwendt)
cvsextras a11ec01
-	do the buildroot better (grrr hopefully)
cvsextras a11ec01
-	locales & paths should now be working
cvsextras a11ec01
cvsextras a11ec01
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.3
cvsextras a11ec01
- More cleanups from QA (M.Schwendt)
cvsextras a11ec01
-	fix man path directory ownerships
cvsextras a11ec01
-	don't let installer strip-install
cvsextras a11ec01
-	fix file permissions in src.rpm to 0644
cvsextras a11ec01
-	use find_lang macro
cvsextras a11ec01
cvsextras a11ec01
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.2
cvsextras a11ec01
- disable auto version check
cvsextras a11ec01
- build executables as PIEs
cvsextras a11ec01
- QA from Michael Schwendt:
cvsextras a11ec01
-	Buildrequires: gettext
cvsextras a11ec01
-	install man pages to /usr/share/man
cvsextras a11ec01
-	unneeded version check for ncurses-devel
cvsextras a11ec01
-	add SMP make flag
cvsextras a11ec01
-	add RPM_OPT_FLAGS
cvsextras a11ec01
cvsextras a11ec01
* Thu Jul 22 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.1
cvsextras a11ec01
- Initial RPM release.