Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37498395
en ru br
ALT Linux repos
S:3.2.0-alt2

Group :: Development/KDE and QT
RPM: kf5-kproperty

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define rname kproperty

%define kproperty_sover 4
%define libkpropertycore libkpropertycore3%kproperty_sover
%define libkpropertywidgets libkpropertywidgets3%kproperty_sover

Name:    kf5-kproperty
Summary: Property editing framework with editor widget
Group: Development/KDE and QT
Version: 3.2.0
Release: alt1

License: LGPLv2+
Url:     https://community.kde.org/KProperty
# git://anongit.kde.org/kproperty.git
Source: %rname-%version.tar
Patch1: kf5-kproperty-3.0.2-fedora-pkgconfig.patch

BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules
BuildRequires: kf5-kconfig-devel kf5-kcoreaddons-devel kf5-kguiaddons-devel kf5-kwidgetsaddons-devel
BuildRequires: cmake pkgconfig

%description
A property editing framework with editor widget similar to what is
known from Qt Designer.

%package devel
Summary: Developer files for %name
Group: Development/KDE and QT
Requires: %name-common = %EVR
%description devel
%{summary}.

%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
Conflicts: kf5-kproperty < %EVR
%description common
%name common package

%package -n %libkpropertycore
Group: System/Libraries
Summary: %name library
Requires: %name-common = %version-%release
%description -n %libkpropertycore
%name library

%package -n %libkpropertywidgets
Group: System/Libraries
Summary: %name library
Requires: %name-common = %version-%release
%description -n %libkpropertywidgets
%name library

%prep
%setup -qn %rname-%version
%patch1 -p1

%build
%K5build \
-DINCLUDE_INSTALL_DIR:PATH=%_K5inc

%install
%K5install

%files common
%_datadir/kproperty3/

%files devel
%_K5inc/KPropertyCore3/
%_K5lib/cmake/KPropertyCore3/
%_K5lib/pkgconfig/KPropertyCore3.pc
%_K5inc/KPropertyWidgets3/
%_K5link/lib*.so
%_K5lib/cmake/KPropertyWidgets3/
%_K5lib/pkgconfig/KPropertyWidgets3.pc

%files -n %libkpropertycore
%_K5lib/libKPropertyCore3.so.%kproperty_sover
%_K5lib/libKPropertyCore3.so.*
%files -n %libkpropertywidgets
%_K5lib/libKPropertyWidgets3.so.%kproperty_sover
%_K5lib/libKPropertyWidgets3.so.*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin