Search
SailfishOS Open Build Service
>
Projects
>
sailfishos
:
chum
:
testing
>
kconfigwidgets
> kconfigwidgets.spec
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File kconfigwidgets.spec of Package kconfigwidgets
# # spec file for package kconfigwidgets # # 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 lname libKF5ConfigWidgets5 %define _tar_path 5.34 Name: kconfigwidgets Version: 5.34.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: kauth-devel >= %{_tar_path} BuildRequires: kcodecs-devel >= %{_tar_path} BuildRequires: kconfig-devel >= %{_tar_path} BuildRequires: kcoreaddons-devel >= %{_tar_path} #BuildRequires: kdoctools-devel >= %{_tar_path} BuildRequires: kguiaddons-devel >= %{_tar_path} BuildRequires: ki18n-devel >= %{_tar_path} BuildRequires: kwidgetsaddons-devel >= %{_tar_path} BuildRequires: pkgconfig(Qt5DBus) >= 5.6.0 BuildRequires: pkgconfig(Qt5Test) >= 5.6.0 BuildRequires: pkgconfig(Qt5Widgets) >= 5.6.0 Summary: Widgets for configuration dialogs 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 BuildRoot: %{_tmppath}/%{name}-%{version}-build %description KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings. %package -n %lname Summary: Widgets for configuration dialogs Group: System/GUI/KDE Obsoletes: libKF5ConfigWidgets4 Conflicts: kdelibs4support < 5.3.0 %description -n %lname KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings. %package devel Summary: Widgets for configuration dialogs: Build Environment Group: Development/Libraries/KDE Requires: %lname = %{version} Requires: extra-cmake-modules >= 1.7.0 Requires: kauth-devel >= %{_tar_path} Requires: kcodecs-devel >= %{_tar_path} Requires: kconfig-devel >= %{_tar_path} Requires: kwidgetsaddons-devel >= %{_tar_path} %description devel KConfigWidgets provides easy-to-use classes to create configuration dialogs, as well as a set of widgets which uses KConfig to store their settings. Development files. %prep %setup -q %build %cmake ../%{name}-%{version} make %{?jobs:-j%jobs} %install rm -rf %{buildroot} # >> install pre # << install pre %make_install %post -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig %files -n %lname %defattr(-,root,root) %doc COPYING* README* %{_libdir}/libKF5ConfigWidgets.so.* %{_datadir}/locale %files devel %defattr(-,root,root) %{_libdir}/libKF5ConfigWidgets.so %{_libdir}/cmake/KF5ConfigWidgets/ %dir %{_includedir}/*/ %{_includedir}/*/ %{_bindir}/preparetips5 %{_datadir}/qt5/mkspecs/modules/qt_KConfigWidgets.pri %changelog