d81975
Name:		snownews
c94444
Version: 	1.5.12
287516
Release: 	20%{?dist}
5b4ec5
Summary: 	A text mode RSS/RDF newsreader
2f53ec
License: 	GPLv2
Zing cfefa8
Url:		https://kiza.eu/media/software/snownews
Zing cfefa8
Source0: 	https://kiza.eu/media/software/snownews/snownews-1.5.12.tar.gz
833464
Patch0:		snownews-1.5.10-nocheck.patch
833464
Patch1:		snownews-1.5.10-nostrip.patch
c94444
Patch2:		snownews-1.5.12-manpage.patch
d65800
Patch3:		snownews-1.5.12-ncursesw.patch
Yaakov Selkowitz ff47d4
Patch4:		snownews-1.5.12-format-security.patch
979caa
BuildRequires:  gcc
cvsextras a11ec0
BuildRequires:	libxml2-devel
cvsextras a11ec0
BuildRequires:	ncurses-devel
cvsextras a11ec0
BuildRequires:	gettext
287516
# Not comptaible with OpenSSL 1.1.0. Upstream fixed by bundling an MD5
287516
# implementation with GPLv3 license. Bug #1606839.
287516
BuildRequires:	compat-openssl10-devel
e0201c
BuildRequires:	perl-generators
cvsextras a11ec0
cvsextras a11ec0
%description
cvsextras a11ec0
Snownews  is  a text mode RSS/RDF newsreader. It supports all versions
cvsextras a11ec0
of RSS natively and supports other formats via plugins.
cvsextras a11ec0
5b4ec5
The program depends on ncurses for the user interface and uses libxml2 
cvsextras a11ec0
for XML parsing. ncurses must be at least version 5.0. It should work
cvsextras a11ec0
with any version of libxml2.
cvsextras a11ec0
cvsextras a11ec0
%prep
cvsextras a11ec0
%setup -q
cvsextras a11ec0
%patch0 -p1
833464
%patch1 -p1
cvsextras a11ec0
%patch2 -p1
d65800
%patch3 -p1
Yaakov Selkowitz ff47d4
%patch4 -p1
cvsextras a11ec0
cvsextras a11ec0
%build
ee063b
./configure --prefix=%{_prefix}
d65800
EXTRA_CFLAGS="$RPM_OPT_FLAGS -fPIE -DUTF_8" EXTRA_LDFLAGS="-pie" make %{?_smp_mflags}
cvsextras a11ec0
cvsextras a11ec0
%install
cvsextras a11ec0
rm -rf $RPM_BUILD_ROOT
5b4ec5
make DESTDIR="$RPM_BUILD_ROOT" install
cvsextras a11ec0
%find_lang %name
cvsextras a11ec0
cvsextras a11ec0
%files -f %name.lang
cvsextras a11ec0
%doc README* AUTHOR COPYING CREDITS Changelog
5b4ec5
%{_bindir}/opml2snow
f1d86e
%{_bindir}/snow2opml
5b4ec5
%{_bindir}/snownews
5b4ec5
%{_mandir}/man1/*
5b4ec5
%{_mandir}/*/man1/*
cvsextras a11ec0
cvsextras a11ec0
%changelog
287516
* Tue Jul 09 2019 Petr Pisar <ppisar@redhat.com> - 1.5.12-20
287516
- Build with openssl-1.0.2 (bug #1606839)
287516
d0c477
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-19
d0c477
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d0c477
ce5637
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-18
ce5637
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ce5637
a7f104
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-17
a7f104
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7f104
e9f7f6
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-16
e9f7f6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e9f7f6
9cb722
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-15
9cb722
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9cb722
afa710
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-14
afa710
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
afa710
0e54e0
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-13
0e54e0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0e54e0
3f1b23
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-12
3f1b23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3f1b23
Yaakov Selkowitz ff47d4
* Thu Jul 03 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.5.12-11
Yaakov Selkowitz ff47d4
- Fix FTBFS with -Werror=format-security (#1037331, #1107349)
Yaakov Selkowitz ff47d4
50c0bc
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-10
50c0bc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
50c0bc
Zing cfefa8
* Fri Nov 22 2013 Zing <zing@fastmail.fm> - 1.5.12-9
Zing cfefa8
- new URL
Zing cfefa8
1e9a5c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-8
1e9a5c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1e9a5c
4001b5
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.5.12-7
4001b5
- Perl 5.18 rebuild
4001b5
0be855
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-6
0be855
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0be855
803e8d
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-5
803e8d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
803e8d
c84f30
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-4
c84f30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c84f30
b3feb7
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-3
b3feb7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b3feb7
d65800
* Mon Dec 14 2009 Zing <zing@fastmail.fm> - 1.5.12-2
d65800
- Bring back link with ncursesw, set -DUTF_8 for xmlUTF8Strlen #546431
d65800
  mistakenly dropped when charset patch went upstream
d65800
c94444
* Mon Oct  5 2009 Zing <zing@fastmail.fm> - 1.5.12-1
c94444
- Bug fixes + openssl added as a requirement
c94444
- Corrected two crashes when using mark unread and open URL on
c94444
  non-existent items.
c94444
- Use OpenSSL for MD5 calculations and remove all old MD5 code.
c94444
- Fix 64bit digest calc. Readstatus wasn't remembered on 64bit versions.
c94444
bbe3c3
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.10-6
bbe3c3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
bbe3c3
abbe79
* Thu May 28 2009 Zing <zing@fastmail.fm> - 1.5.10-5
abbe79
- possible pie fix for sparc build
abbe79
ea7621
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.10-4
ea7621
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
ea7621
833464
* Sat Aug  2 2008 Zing <zing@fastmail.fm> - 1.5.10-3
833464
- watchout! fuzz cops in town!
833464
ee063b
* Sat Aug  2 2008 Zing <zing@fastmail.fm> - 1.5.10-1
ee063b
- update to 1.5.10
ee063b
- drop charset patch (upstream)
ee063b
610df7
* Thu Apr 17 2008 Zing <zing@fastmail.fm> - 1.5.9-1
610df7
- update to 1.5.9
610df7
bb10a4
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.5.8-2
bb10a4
- Autorebuild for GCC 4.3
bb10a4
d81975
* Fri Jan 11 2008 Zing <zing@fastmail.fm> - 1.5.8-1
d81975
- update to 1.5.8
d81975
- remove manpath and softlink patch (upstream)
d81975
- update charset patch (utf-8 enabled in configure)
d81975
- snowsync program removed
d81975
2f53ec
* Thu Aug 16 2007 Zing <zing@fastmail.fm> - 1.5.7-7
2f53ec
- License too verbose, just GPLv2 is fine
2f53ec
9696f2
* Thu Aug  9 2007 Zing <zing@fastmail.fm> - 1.5.7-6
9696f2
- conform to Fedora Licensing Guidelines
9696f2
2a6445
* Sat Sep  9 2006 Zing <zing@fastmail.fm> - 1.5.7-5
2a6445
- remove mention of update checking from man page
2a6445
- rebuild for FE6
2a6445
d30f77
* Tue Feb 14 2006 Zing <shishz@hotpop.com> - 1.5.7-4
d30f77
- rebuild for FE5
d30f77
658ad9
* Mon Aug 29 2005 Zing <shishz@hotpop.com> - 1.5.7-3
658ad9
- cleanups related to runtime charset detection
658ad9
-   get rid of configure --charset=UTF-8 hardcoding
658ad9
-   link with ncursesw, set -DUTF_8 for xmlUTF8Strlen
658ad9
f1d86e
* Mon Aug  6 2005 Zing <shishz@hotpop.com> - 1.5.7-2
f1d86e
- add runtime charset detection, #155073
f1d86e
- use dist macro
f1d86e
f1d86e
* Fri Jul 29 2005 Zing <shishz@hotpop.com> - 1.5.7-1
f1d86e
- update to 1.5.7
f1d86e
- drop destdir patch, fixed upstream
f1d86e
- fixup softlink for snow2opml
f1d86e
5b4ec5
* Thu Mar 24 2005 Warren Togami <wtogami@redhat.com> - 1.5.6.1-3
5b4ec5
- macroize dirs
5b4ec5
5b4ec5
* Tue Mar 15 2005 Zing <shishz@hotpop.com> - 1.5.6.1-2
5b4ec5
- enable snowsync
5b4ec5
5b4ec5
* Thu Feb 24 2005 Zing <shishz@hotpop.com> - 1.5.6.1-1
5b4ec5
- new upstream
5b4ec5
- remove snowsync for now. (we need perl-XML-LibXSLT)
5b4ec5
cvsextras a11ec0
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.4
cvsextras a11ec0
- More cleanups from QA (M.Schwendt)
cvsextras a11ec0
-	do the buildroot better (grrr hopefully)
cvsextras a11ec0
-	locales & paths should now be working
cvsextras a11ec0
cvsextras a11ec0
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.3
cvsextras a11ec0
- More cleanups from QA (M.Schwendt)
cvsextras a11ec0
-	fix man path directory ownerships
cvsextras a11ec0
-	don't let installer strip-install
cvsextras a11ec0
-	fix file permissions in src.rpm to 0644
cvsextras a11ec0
-	use find_lang macro
cvsextras a11ec0
cvsextras a11ec0
* Fri Jul 23 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.2
cvsextras a11ec0
- disable auto version check
cvsextras a11ec0
- build executables as PIEs
cvsextras a11ec0
- QA from Michael Schwendt:
cvsextras a11ec0
-	Buildrequires: gettext
cvsextras a11ec0
-	install man pages to /usr/share/man
cvsextras a11ec0
-	unneeded version check for ncurses-devel
cvsextras a11ec0
-	add SMP make flag
cvsextras a11ec0
-	add RPM_OPT_FLAGS
cvsextras a11ec0
cvsextras a11ec0
* Thu Jul 22 2004 Zing <shishz@hotpop.com> - 1.5.3-0.fdr.1
cvsextras a11ec0
- Initial RPM release.