d81975d
Name:		snownews
c944441
Version: 	1.5.12
2875161
Release: 	20%{?dist}
5b4ec5b
Summary: 	A text mode RSS/RDF newsreader
2f53ece
License: 	GPLv2
Zing cfefa8b
Url:		https://kiza.eu/media/software/snownews
Zing cfefa8b
Source0: 	https://kiza.eu/media/software/snownews/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
Yaakov Selkowitz ff47d4a
Patch4:		snownews-1.5.12-format-security.patch
979caa0
BuildRequires:  gcc
cvsextras a11ec01
BuildRequires:	libxml2-devel
cvsextras a11ec01
BuildRequires:	ncurses-devel
cvsextras a11ec01
BuildRequires:	gettext
2875161
# Not comptaible with OpenSSL 1.1.0. Upstream fixed by bundling an MD5
2875161
# implementation with GPLv3 license. Bug #1606839.
2875161
BuildRequires:	compat-openssl10-devel
e0201c6
BuildRequires:	perl-generators
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
Yaakov Selkowitz ff47d4a
%patch4 -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
%files -f %name.lang
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
2875161
* Tue Jul 09 2019 Petr Pisar <ppisar@redhat.com> - 1.5.12-20
2875161
- Build with openssl-1.0.2 (bug #1606839)
2875161
d0c4771
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-19
d0c4771
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
d0c4771
ce5637b
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-18
ce5637b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
ce5637b
a7f104e
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-17
a7f104e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
a7f104e
e9f7f6d
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-16
e9f7f6d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e9f7f6d
9cb722a
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-15
9cb722a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
9cb722a
afa7105
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.12-14
afa7105
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
afa7105
0e54e0d
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-13
0e54e0d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0e54e0d
3f1b236
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-12
3f1b236
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
3f1b236
Yaakov Selkowitz ff47d4a
* Thu Jul 03 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 1.5.12-11
Yaakov Selkowitz ff47d4a
- Fix FTBFS with -Werror=format-security (#1037331, #1107349)
Yaakov Selkowitz ff47d4a
50c0bce
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-10
50c0bce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
50c0bce
Zing cfefa8b
* Fri Nov 22 2013 Zing <zing@fastmail.fm> - 1.5.12-9
Zing cfefa8b
- new URL
Zing cfefa8b
1e9a5cc
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-8
1e9a5cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
1e9a5cc
4001b57
* Wed Jul 17 2013 Petr Pisar <ppisar@redhat.com> - 1.5.12-7
4001b57
- Perl 5.18 rebuild
4001b57
0be855a
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.12-6
0be855a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
0be855a
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.