konqueror/konqueror.spec

217 lines
6.7 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: konqueror
Version: 18.04.1
Release: 1mamba
Summary: KDE Frameworks 5 web browser
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/applications/%{version}/src/konqueror-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libICE-devel
BuildRequires: libQt5WebEngine-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libgcc
BuildRequires: libkarchive-devel
BuildRequires: libkauth-devel
BuildRequires: libkbookmarks-devel
BuildRequires: libkcmutils-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkcompletion-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkcrash-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkdelibs4support-devel
BuildRequires: libkdesu-devel
BuildRequires: libkguiaddons-devel
BuildRequires: libkhtml-devel
BuildRequires: libki18n-devel
BuildRequires: libkiconthemes-devel
BuildRequires: libkio-devel
BuildRequires: libkitemviews-devel
BuildRequires: libkjobwidgets-devel
BuildRequires: libkjs-devel
BuildRequires: libknotifications-devel
BuildRequires: libkparts-devel
BuildRequires: libkpty-devel
BuildRequires: libkservice-devel
BuildRequires: libktextwidgets-devel
BuildRequires: libkunitconversion-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libkxmlgui-devel
BuildRequires: libqt5-devel
BuildRequires: libsolid-devel
BuildRequires: libsonnet-devel
BuildRequires: libstdc++6-devel
BuildRequires: libtidy-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: konqueror-plugins
Obsoletes: konqueror-plugins
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Frameworks 5 web browser.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Provides: libkonq
Obsoletes: libkonq
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_sysconfdir}/xdg/autostart/konqy_preload.desktop
%{_sysconfdir}/xdg/konqueror.categories
%{_sysconfdir}/xdg/translaterc
%{_bindir}/fsview
%{_bindir}/kfmclient
%{_bindir}/konqueror
%{_datadir}/akregator/pics/feed.png
%{_datadir}/applications/*.desktop
%{_datadir}/config.kcfg/*.kcfg
%{_datadir}/dbus-1/interfaces/org.kde.Konqueror.Main*.xml
%lang(ca) %{_datadir}/doc/HTML/ca
%lang(da) %{_datadir}/doc/HTML/da
%lang(de) %{_datadir}/doc/HTML/de
%lang(el) %{_datadir}/doc/HTML/el
%lang(en) %{_datadir}/doc/HTML/en
%lang(en_GB) %{_datadir}/doc/HTML/en_GB
%lang(es) %{_datadir}/doc/HTML/es
%lang(et) %{_datadir}/doc/HTML/et
%lang(fr) %{_datadir}/doc/HTML/fr
%lang(it) %{_datadir}/doc/HTML/it
%lang(nb) %{_datadir}/doc/HTML/nb
%lang(nl) %{_datadir}/doc/HTML/nl
%lang(pl) %{_datadir}/doc/HTML/pl
%lang(pt) %{_datadir}/doc/HTML/pt
%lang(pt_BR) %{_datadir}/doc/HTML/pt_BR
%lang(ru) %{_datadir}/doc/HTML/ru
%lang(sr) %{_datadir}/doc/HTML/sr
%lang(sv) %{_datadir}/doc/HTML/sv
%lang(uk) %{_datadir}/doc/HTML/uk
%{_datadir}/dolphinpart/kpartplugins/*
%{_datadir}/domtreeviewer/domtreeviewerui.rc
%{_datadir}/fsview/fsview_part.rc
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/actions/*.png
%{_datadir}/icons/oxygen/scalable/actions/*.svgz
%{_datadir}/kcmcss/template.css
%{_datadir}/kcontrol/pics/onlyone.png
%{_datadir}/kcontrol/pics/overlapping.png
%{_kde5_datadir}/kf5/kbookmark/directory_bookmarkbar.desktop
%{_datadir}/khtml/kpartplugins/*
%dir %{_datadir}/konqueror
%dir %{_datadir}/konqueror/about
%{_datadir}/konqueror/about/*
%{_datadir}/konqueror/icons/hicolor/*/actions/google.png
%{_datadir}/konqueror/icons/oxygen/scalable/actions/google.svgz
%dir %{_datadir}/konqueror/kpartplugins
%{_datadir}/konqueror/kpartplugins/*
%{_datadir}/konqueror/opensearch/google.xml
%dir %{_datadir}/konqueror/pics
%{_datadir}/konqueror/pics/*
%{_datadir}/kservices5/*.desktop
%{_kde5_servicetypesdir}/konqaboutpage.desktop
%{_datadir}/kwebkitpart/kpartplugins/*
%{_datadir}/kxmlgui5/webenginepart/webenginepart.rc
%{_datadir}/metainfo/org.kde.konqueror.appdata.xml
%doc AUTHORS COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_kde5_libdir}/libKF5Konq.so.*
%{_libdir}/libkdeinit5_kfmclient.so
%{_libdir}/libkdeinit5_konqueror.so
%{_libdir}/libkonquerorprivate.so.*
%{_libdir}/libkwebenginepartlib.so
%{_libdir}/qt5/plugins/*.so
%{_libdir}/qt5/plugins/kf5/parts/webenginepart.so
%doc COPYING.DOC COPYING.LIB
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_kde5_includedir}/konq_*.h
%{_kde5_includedir}/libkonq_export.h
%{_kde5_libdir}/cmake/KF5Konq/KF5Konq*.cmake
%{_kde5_libdir}/libKF5Konq.so
%changelog
* Thu May 10 2018 Automatic Build System <autodist@mambasoft.it> 18.04.1-1mamba
- automatic version update by autodist
* Sun Apr 22 2018 Automatic Build System <autodist@mambasoft.it> 18.04.0-1mamba
- automatic version update by autodist
* Thu Mar 08 2018 Automatic Build System <autodist@mambasoft.it> 17.12.3-1mamba
- automatic version update by autodist
* Fri Feb 09 2018 Automatic Build System <autodist@mambasoft.it> 17.12.2-1mamba
- automatic version update by autodist
* Thu Jan 11 2018 Automatic Build System <autodist@mambasoft.it> 17.12.1-1mamba
- automatic version update by autodist
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 17.12.0-1mamba
- automatic version update by autodist
* Fri Nov 10 2017 Automatic Build System <autodist@mambasoft.it> 17.08.3-1mamba
- automatic version update by autodist
* Thu Oct 12 2017 Automatic Build System <autodist@mambasoft.it> 17.08.2-1mamba
- automatic version update by autodist
* Wed Oct 11 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 17.08.1-1mamba
- package created using the webbuild interface