Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
opt-kf5-karchive
> _service:tar_git:kf5-karchive.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File _service:tar_git:kf5-karchive.spec of Package opt-kf5-karchive
%global kf5_version 5.108.0 %global framework karchive Name: opt-kf5-karchive Version: 5.108.0 Release: 1%{?dist} Summary: KDE Frameworks 5 Tier 1 addon with archive functions License: LGPLv2+ and BSD URL: https://invent.kde.org/frameworks/karchive Source0: %{name}-%{version}.tar.bz2 %{?opt_kf5_default_filter} BuildRequires: bzip2-devel BuildRequires: opt-extra-cmake-modules >= %{kf5_version} BuildRequires: opt-kf5-rpm-macros >= %{kf5_version} BuildRequires: opt-qt5-qtbase-devel BuildRequires: opt-qt5-linguist BuildRequires: xz-devel BuildRequires: zlib-devel %{?_opt_qt5:Requires: %{_opt_qt5}%{?_isa} = %{_opt_qt5_version}} %description KDE Frameworks 5 Tier 1 addon with archive functions. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: opt-qt5-qtbase-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -n %{name}-%{version}/upstream -p1 %build export QTDIR=%{_opt_qt5_prefix} touch .git mkdir -p build pushd build %_opt_cmake_kf5 ../ %make_build popd %install pushd build make DESTDIR=%{buildroot} install popd %find_lang_kf5 karchive5_qt %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %doc AUTHORS README.md %license LICENSES/*.txt %{_opt_kf5_datadir}/qlogging-categories5/*categories %{_opt_kf5_libdir}/libKF5Archive.so.* %{_opt_kf5_datadir}/locale/ %files devel %{_opt_kf5_includedir}/KF5/KArchive/ %{_opt_kf5_libdir}/libKF5Archive.so %{_opt_kf5_libdir}/cmake/KF5Archive/ %{_opt_kf5_archdatadir}/mkspecs/modules/qt_KArchive.pri