Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:ohollmann:staging:openssl
newsboat
newsboat.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File newsboat.spec of Package newsboat
# # spec file for package newsboat # # Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # Name: newsboat Version: 2.37 Release: 0 Summary: RSS/Atom Feed Reader for Text Terminals License: MIT Group: Productivity/Networking/Web/Browsers URL: https://newsboat.org Source: https://newsboat.org/releases/%{version}/%{name}-%{version}.tar.xz Source1: https://newsboat.org/releases/%{version}/%{name}-%{version}.tar.xz.asc Source2: https://newsboat.org/newsboat.pgp#/%{name}.keyring Source3: vendor.tar.xz # pbleser: introduce OPTFLAGS make variable, instead of hard-coded -ggdb Patch0: newsbeuter-makefile.patch BuildRequires: cargo BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: glibc-devel BuildRequires: libcurl-devel >= 7.18.0 BuildRequires: libjson-c-devel >= 0.11 BuildRequires: libopenssl-devel BuildRequires: libstdc++-devel BuildRequires: libstfl-devel >= 0.21 BuildRequires: libxml2-devel BuildRequires: pkgconfig BuildRequires: rust >= 1.68.2 BuildRequires: sqlite3-devel >= 3.5 BuildRequires: zlib-devel BuildRequires: rubygem(asciidoctor) # Replacements of vendored C++ libraries BuildRequires: nlohmann_json-devel BuildRequires: expected-lite-devel #BuildRequires: libboost_program_options-devel BuildRequires: optional-lite-devel Recommends: %{name}-lang Recommends: web_browser Provides: newsbeuter = %{version} Obsoletes: newsbeuter <= 2.9 %description Newsboat is an RSS/Atom feedreader. RSS and Atom are a number of widely-used XML formats to transmit, publish and syndicate articles, for example news or blog articles. Newsboat is designed to be used on text terminals. %lang_package %prep %autosetup -a3 -p1 mkdir cargo-home # Fix badness by replacing the env interpreter sed -i 's|/bin/env |/bin/|' contrib/*.{pl,py,rb,sh} contrib/*/* doc/examples/* sed -i 's|/bin/sh|/bin/bash|' ./doc/examples/example-bookmark-plugin.sh # Replace vendored C++ libraries with system ones for lib in nlohmann/json nonstd/optional nonstd/expected do shortlib=$(echo ${lib} | sed 's|.*/||') sed -i "s|3rd-party/${shortlib}.hpp|${lib}.hpp|" include/*.h src/*.cpp rss/*.h rm -f 3rd-party/${shortlib}.hpp done %build export CARGO_HOME=`pwd`/cargo-home/ ./config.sh %make_build OPTFLAGS="%{optflags}" %install export CARGO_HOME=`pwd`/cargo-home/ %make_install prefix="%{_prefix}" docdir=%{_docdir}/%{name} for l in zh; do rm -rf "%{buildroot}%{_datadir}/locale/${l}" done %find_lang %{name} %files %license LICENSE %doc CHANGELOG.md README.md %{_bindir}/%{name} %{_bindir}/podboat %dir %{_docdir}/%{name}/examples %{_docdir}/%{name}/examples %{_docdir}/%{name}/faq.html %{_docdir}/%{name}/%{name}.html %{_docdir}/%{name}/contrib/ %{_mandir}/man1/%{name}.1%{?ext_man} %{_mandir}/man1/podboat.1%{?ext_man} %dir %{_datadir}/icons/hicolor/ %dir %{_datadir}/icons/hicolor/scalable %dir %{_datadir}/icons/hicolor/scalable/apps %{_datadir}/icons/hicolor/scalable/apps/newsboat.svg %files lang -f %{name}.lang %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor