Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Rings:2-TestDVD
kpackage
kpackage.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kpackage.spec of Package kpackage
# # spec file for package kpackage # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # 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 http://bugs.opensuse.org/ # %bcond_without lang %define _tar_path 5.32 Name: kpackage Version: 5.32.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes BuildRequires: karchive-devel >= %{_tar_path} BuildRequires: kconfig-devel >= %{_tar_path} BuildRequires: kcoreaddons-devel >= %{_tar_path} BuildRequires: kdoctools-devel >= %{_tar_path} BuildRequires: kf5-filesystem BuildRequires: ki18n-devel >= %{_tar_path} BuildRequires: cmake(Qt5Core) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 %if %{with lang} Recommends: %{name}-lang %endif Summary: Manage user installable packages of non-binary assets License: LGPL-2.1+ Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf # PATCH-FIX-UPSTREAM Patch101: 0001-Ignore-warnings-during-appdata-generation.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This framework lets applications to manage user installable packages of non-binary assets. %package devel Summary: Manage user installable packages of non-binary assets Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: extra-cmake-modules Requires: kcoreaddons-devel >= %{_tar_path} %description devel This framework lets applications to manage user installable packages of non-binary assets. Development files. %lang_package %prep %setup -q %patch101 -p1 %build %cmake_kf5 -d build -- -DSYSCONF_INSTALL_DIR=%{_kf5_sysconfdir} %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang lib%{name}5 %{name}5.lang echo "%doc %lang(ca) %{_kf5_mandir}/ca" >>%{name}5.lang echo "%doc %lang(de) %{_kf5_mandir}/de" >>%{name}5.lang echo "%doc %lang(es) %{_kf5_mandir}/es" >>%{name}5.lang echo "%doc %lang(it) %{_kf5_mandir}/it" >>%{name}5.lang echo "%doc %lang(nl) %{_kf5_mandir}/nl" >>%{name}5.lang echo "%doc %lang(pt_BR) %{_kf5_mandir}/pt_BR" >>%{name}5.lang echo "%doc %lang(sv) %{_kf5_mandir}/sv" >>%{name}5.lang echo "%doc %lang(uk) %{_kf5_mandir}/uk" >>%{name}5.lang %endif %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}5.lang %endif %files %defattr(-,root,root) %doc COPYING* README* %{_kf5_bindir}/kpackagetool* %{_kf5_libdir}/libKF5Package.so.* %dir %{_kf5_servicetypesdir} %{_kf5_servicetypesdir}/kpackage-packagestructure.desktop %{_kf5_servicetypesdir}/kpackage-generic.desktop %doc %lang(en) %{_kf5_mandir}/*/kpackagetool* %files devel %defattr(-,root,root) %{_kf5_libdir}/libKF5Package.so %{_kf5_libdir}/cmake/KF5Package/ %{_kf5_includedir}/ %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