Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3:Update
kpmcore
kpmcore.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kpmcore.spec of Package kpmcore
# # spec file for package kpmcore # # 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/ # %global sover 4 %bcond_without lang Name: kpmcore Version: 3.0.3 Release: 0 Summary: KDE Partition Manager core library License: GPL-3.0 Group: Productivity/Office/Other Url: https://projects.kde.org/projects/extragear/sysadmin/kpmcore Source: http://download.kde.org/stable/%{name}/%{version}/src/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE fix-build-with-older-parted.patch wbauer@tmo.at -- fix the build with parted 3.1 that's included in 13.2 and Leap 42 Patch1: fix-build-with-older-parted.patch BuildRequires: extra-cmake-modules BuildRequires: ki18n-devel BuildRequires: kiconthemes-devel BuildRequires: kio-devel BuildRequires: kservice-devel BuildRequires: kwidgetsaddons-devel BuildRequires: libatasmart-devel BuildRequires: libblkid-devel BuildRequires: parted-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(Qt5Core) >= 5.6.1 BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Widgets) Requires: libkpmcore%{sover} = %{version} BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Library for managing partitions. Common code for KDE Partition Manager and other projects. %package devel Summary: Development package for KDE Partition Manager core library Group: Development/Languages/C and C++ Requires: libkpmcore%{sover} = %{version} %description devel Library for managing partitions. Common code for KDE Partition Manager and other projects. Development package for kpmcore. %package -n libkpmcore%{sover} Summary: KDE Partition Manager core library Group: System/Libraries Requires: %{name} = %{version} %description -n libkpmcore%{sover} Library for managing partitions. Common code for KDE Partition Manager and other projects. Main kpmcore library. %if %{with lang} %lang_package %endif %prep %setup -q %if 0%{?suse_version} <= 1320 %patch1 -p1 %endif %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %if %{with lang} %find_lang kpmcore %endif %post -n libkpmcore%{sover} -p /sbin/ldconfig %postun -n libkpmcore%{sover} -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING.GPL3 INSTALL %{_kf5_servicetypesdir}/*desktop %{_kf5_plugindir}/*.so %{_kf5_servicesdir}/*desktop %files -n libkpmcore%{sover} %defattr(-,root,root) %doc COPYING.GPL3 %defattr(-,root,root,-) %{_libdir}/libkpmcore.so.* %files devel %defattr(-,root,root,-) %{_libdir}/cmake/KPMcore/ %{_includedir}/kpmcore/ %{_libdir}/libkpmcore.so %if %{with lang} %files lang -f %{name}.lang %defattr(-,root,root,-) %endif %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