Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:KAMiKAZOW
qupzilla-webkit
_service:set_version:qupzilla-webkit.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:set_version:qupzilla-webkit.spec of Package qupzilla-webkit
# # spec file for package qupzilla-webkit # # Copyright © 2015 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright © 2012–2015 Mariusz Fik <fisiu@opensuse.org> # Copyright © 2017–2018 Markus S. <kamikazow@opensuse.org> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. # Name: qupzilla-webkit Version: 1.8.10 Release: 0 Summary: A very fast open source browser based on WebKit License: GPL-3.0-or-later Group: Productivity/Networking/Web/Browsers Url: https://github.com/KAMiKAZOW/qupzilla-webkit Source: %{name}-%{version}.tar.gz BuildRequires: fdupes BuildRequires: pkgconfig(gnome-keyring-1) BuildRequires: pkgconfig(hunspell) BuildRequires: pkgconfig(Qt5Concurrent) BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5DBus) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5PrintSupport) BuildRequires: pkgconfig(Qt5Script) BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Widgets) %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} BuildRequires: compat-openssl10-devel BuildRequires: kf5-kwallet-devel BuildRequires: pkgconfig(Qt5WebKitWidgets) BuildRequires: qt5-linguist BuildRequires: qt5-qtx11extras-devel BuildRequires: qtsingleapplication-qt5-devel %endif %if 0%{?suse_version} BuildRequires: kwallet-devel BuildRequires: libQt5Gui-private-headers-devel BuildRequires: libQt5WebKitWidgets-devel BuildRequires: libqt5-linguist BuildRequires: libqt5-qtx11extras-devel BuildRequires: libressl-devel BuildRequires: pkg-config BuildRequires: update-desktop-files %endif %description QupZilla aims to be a lightweight yet feature-rich web browser. It includes bookmarks, history (both also in sidebar) and tabs. Above that, it has by default enabled blocking ads with a built-in AdBlock plugin. %prep %setup -q -n %{name}-%{version} # Remove BUILDTIME usage from build. sed -i '/BUILDTIME;^/d' src/lib/app/qzcommon.h sed -i '/BUILDTIME = /d' src/lib/app/qzcommon.cpp sed -i '/Qz::BUILDTIME/d' src/lib/other/aboutdialog.cpp sed -i '/Qz::BUILDTIME/d' src/lib/app/commandlineoptions.cpp sed -i '/Qz::BUILDTIME/d' src/lib/app/qzcommon.cpp sed -i '/Qz::BUILDTIME/d' src/lib/network/schemehandlers/qupzillaschemehandler.cpp # Adjust KWallet include for KF5 library sed -i 's|<KDE/KWallet/Wallet>|<KWallet>|g' src/plugins/KWalletPasswords/kwalletpasswordbackend.h %build export USE_WEBGL=true # Set proper LIBPATH. export USE_LIBPATH=%{_libdir} %if 0%{?fedora} || 0%{?rhel_version} || 0%{?centos_version} %{qmake_qt5} CONFIG+=QtSingleApplication %endif %if 0%{?suse_version} %qmake5 CONFIG-=gdb_dwarf_index %endif make %{?_smp_mflags} %install make INSTALL_ROOT=%{buildroot} install # FIXME: split library into separate package and build also -devel with libqupzilla.so ??? rm -vf %{buildroot}%{_libdir}/libQupZilla.so # We don't need a test plugin which does nothing. rm -vf %{buildroot}%{_libdir}/qupzilla/libTestPlugin.so # End %if 0%{?suse_version} %suse_update_desktop_file qupzilla %endif %fdupes -s %{buildroot}%{_datadir} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %doc AUTHORS COPYRIGHT FAQ GPLv3 %{_bindir}/qupzilla %{_libdir}/libQupZilla.so.* %{_libdir}/qupzilla/ %{_datadir}/appdata/ %{_datadir}/applications/qupzilla.desktop %{_datadir}/pixmaps/qupzilla.png %{_datadir}/icons/hicolor/ %{_datadir}/qupzilla/ %{_datadir}/bash-completion/ %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