Group :: Graphical desktop/KDE
RPM: kde5-libkomparediff2
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname libkomparediff2
%define sover 5
%define libkomparediff2 libkomparediff2%sover
Name: kde5-%rname
Version: 23.04.3
Release: alt1
%K5init altplace no_appdata
Group: Graphical desktop/KDE
Summary: Library to compare files and strings
Url: http://www.kde.org
License: GPLv2+ / LGPLv2+
Source: %rname-%version.tar
# Automatically added by buildreq on Mon Jan 11 2016 (-bi)
# optimized out: cmake cmake-modules elfutils gcc-c++ libEGL-devel libGL-devel libgpg-error libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-printsupport libqt5-svg libqt5-test libqt5-widgets libqt5-x11extras libqt5-xml libstdc++-devel libxcbutil-keysyms python-base python-modules python3 python3-base ruby ruby-stdlibs
#BuildRequires: extra-cmake-modules kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-ki18n-devel kf5-kio-devel kf5-kitemviews-devel kf5-kjobwidgets-devel kf5-kparts-devel kf5-kservice-devel kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel python-module-google qt5-base-devel rpm-build-python3 rpm-build-ruby
BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules gcc-c++ qt5-base-devel
BuildRequires: kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel
BuildRequires: kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-ki18n-devel kf5-kio-devel kf5-kitemviews-devel
BuildRequires: kf5-kjobwidgets-devel kf5-kparts-devel kf5-kservice-devel kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel
BuildRequires: kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel
%description
A shared library to compare files and strings using kde and GNU diff.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.
%package -n %libkomparediff2
Group: System/Libraries
Summary: KF5 library
Requires: %name-common = %version-%release
Requires: /usr/bin/diff
%description -n %libkomparediff2
KF5 library
%prep
%setup -n %rname-%version
%build
%K5build \
-DINCLUDE_INSTALL_DIR=%_K5inc \
#
%install
%K5install
%find_lang %name --with-kde --all-name
%files common -f %name.lang
%doc LICENSES/*
%_datadir/qlogging-categories5/*.*categories
%files devel
%_K5inc/KompareDiff2/
%_K5link/lib*.so
%_K5lib/cmake/LibKompareDiff2/
%files -n %libkomparediff2
%_K5lib/libkomparediff2.so.%sover
%_K5lib/libkomparediff2.so.*
%changelog
…
Full changelog you can see here
%define sover 5
%define libkomparediff2 libkomparediff2%sover
Name: kde5-%rname
Version: 23.04.3
Release: alt1
%K5init altplace no_appdata
Group: Graphical desktop/KDE
Summary: Library to compare files and strings
Url: http://www.kde.org
License: GPLv2+ / LGPLv2+
Source: %rname-%version.tar
# Automatically added by buildreq on Mon Jan 11 2016 (-bi)
# optimized out: cmake cmake-modules elfutils gcc-c++ libEGL-devel libGL-devel libgpg-error libqt5-core libqt5-dbus libqt5-gui libqt5-network libqt5-printsupport libqt5-svg libqt5-test libqt5-widgets libqt5-x11extras libqt5-xml libstdc++-devel libxcbutil-keysyms python-base python-modules python3 python3-base ruby ruby-stdlibs
#BuildRequires: extra-cmake-modules kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-ki18n-devel kf5-kio-devel kf5-kitemviews-devel kf5-kjobwidgets-devel kf5-kparts-devel kf5-kservice-devel kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel python-module-google qt5-base-devel rpm-build-python3 rpm-build-ruby
BuildRequires(pre): rpm-build-kf5 rpm-build-ubt
BuildRequires: extra-cmake-modules gcc-c++ qt5-base-devel
BuildRequires: kf5-kauth-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kconfig-devel
BuildRequires: kf5-kconfigwidgets-devel kf5-kcoreaddons-devel kf5-ki18n-devel kf5-kio-devel kf5-kitemviews-devel
BuildRequires: kf5-kjobwidgets-devel kf5-kparts-devel kf5-kservice-devel kf5-ktextwidgets-devel kf5-kwidgetsaddons-devel
BuildRequires: kf5-kxmlgui-devel kf5-solid-devel kf5-sonnet-devel
%description
A shared library to compare files and strings using kde and GNU diff.
%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
Requires: kf5-filesystem
%description common
%name common package
%package devel
Group: Development/KDE and QT
Summary: Development files for %name
%description devel
The %name-devel package contains libraries and header files for
developing applications that use %name.
%package -n %libkomparediff2
Group: System/Libraries
Summary: KF5 library
Requires: %name-common = %version-%release
Requires: /usr/bin/diff
%description -n %libkomparediff2
KF5 library
%prep
%setup -n %rname-%version
%build
%K5build \
-DINCLUDE_INSTALL_DIR=%_K5inc \
#
%install
%K5install
%find_lang %name --with-kde --all-name
%files common -f %name.lang
%doc LICENSES/*
%_datadir/qlogging-categories5/*.*categories
%files devel
%_K5inc/KompareDiff2/
%_K5link/lib*.so
%_K5lib/cmake/LibKompareDiff2/
%files -n %libkomparediff2
%_K5lib/libkomparediff2.so.%sover
%_K5lib/libkomparediff2.so.*
%changelog
…
Full changelog you can see here