Name: kompare Summary: Diff tool Version: 17.12.3 Release: 1%{?dist} License: GPLv2+ and GFDL URL: https://cgit.kde.org/%{name}.git %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/applications/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: desktop-file-utils BuildRequires: gcc-c++ BuildRequires: kf5-rpm-macros BuildRequires: extra-cmake-modules BuildRequires: qt5-qtbase-devel BuildRequires: kf5-kcoreaddons-devel BuildRequires: kf5-kcodecs-devel BuildRequires: kf5-kdoctools-devel BuildRequires: kf5-kiconthemes-devel BuildRequires: kf5-kjobwidgets-devel BuildRequires: kf5-kconfig-devel BuildRequires: kf5-kparts-devel BuildRequires: kf5-ktexteditor-devel BuildRequires: kf5-kwidgetsaddons-devel %global majmin_ver %(echo %{version} | cut -d. -f1,2) BuildRequires: libkomparediff2-devel >= %{majmin_ver} Requires: %{name}-libs%{?_isa} = %{version}-%{release} # translations moved here Conflicts: kde-l10n < 17.03 Conflicts: kdesdk-common < 4.10.80 Obsoletes: kdesdk-kompare < 4.10.80 Provides: kdesdk-kompare = %{version}-%{release} Provides: mergetool %description Tool to visualize changes between two versions of a file %package libs Summary: Runtime libraries for %{name} Obsoletes: kdesdk-kompare-libs < 4.10.80 Provides: kdesdk-kompare-libs = %{version}-%{release} Requires: %{name} = %{version}-%{release} # help upgrade path since newer libkomparediff2 Obsoletes: kompare-libs < 4.11.80 Requires: libkomparediff2%{?_isa} >= %{majmin_ver} %description libs This package contains shared libraries for %{name}. %package devel Summary: Developer files for %{name} Obsoletes: kdesdk-kompare-devel < 4.10.80 Provides: kdesdk-kompare-devel = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup %build mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-html %check desktop-file-validate %{buildroot}%{_datadir}/applications/org.kde.kompare.desktop %files -f %{name}.lang %doc README %license COPYING* %{_bindir}/kompare %{_datadir}/kxmlgui5/kompare/ %{_datadir}/kservicetypes5/kompare*.desktop %{_datadir}/applications/org.kde.kompare.desktop %{_kf5_metainfodir}/org.kde.kompare.appdata.xml %{_datadir}/icons/hicolor/*/apps/kompare.* %{_datadir}/kservices5/komparenavtreepart.desktop %{_datadir}/kservices5/komparepart.desktop %{_kf5_datadir}/kxmlgui5/komparepart/ %post libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig %files libs %{_libdir}/libkomparedialogpages.so.* %{_libdir}/libkompareinterface.so.* %{_kf5_qtplugindir}/komparenavtreepart.so %{_kf5_qtplugindir}/komparepart.so %files devel %{_includedir}/kompare/ %{_libdir}/libkompareinterface.so %changelog * Tue Mar 06 2018 Rex Dieter - 17.12.3-1 - 17.12.3 * Thu Feb 08 2018 Rex Dieter - 17.12.2-1 - 17.12.2 * Wed Feb 07 2018 Fedora Release Engineering - 17.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Jan 11 2018 Rex Dieter - 17.12.1-1 - 17.12.1 * Thu Jan 11 2018 Igor Gnatenko - 17.12.0-2 - Remove obsolete scriptlets * Fri Dec 29 2017 Rex Dieter - 17.12.0-1 - 17.12.0 * Wed Nov 08 2017 Rex Dieter - 17.08.3-1 - 17.08.3 * Thu Sep 28 2017 Rex Dieter - 17.08.1-1 - 17.08.1 * Thu Aug 03 2017 Rex Dieter - 17.04.3-1 - 17.04.3 * Thu Aug 03 2017 Fedora Release Engineering - 17.04.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 17.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Thu Jun 15 2017 Rex Dieter - 17.04.2-1 - 17.04.2 * Sat Jun 03 2017 Rex Dieter - 17.04.1-1 - 17.04.1 * Thu Mar 09 2017 Rex Dieter - 16.12.3-1 - 16.12.3 * Thu Feb 09 2017 Rex Dieter - 16.12.2-1 - 16.12.2 * Thu Jan 12 2017 Rex Dieter - 16.12.1-1 - 16.12.1 * Mon Dec 05 2016 Rex Dieter - 16.08.3-1 - 16.08.3 * Thu Oct 13 2016 Rex Dieter - 16.08.2-1 - 16.08.2 * Wed Sep 07 2016 Rex Dieter - 16.08.1-1 - 16.08.1 * Sat Aug 13 2016 Rex Dieter - 16.08.0-1 - 16.08.0 * Sat Aug 06 2016 Rex Dieter - 16.07.90-1 - 16.07.90 * Sat Jul 30 2016 Rex Dieter - 16.07.80-1 - 16.07.80 * Sun Jul 10 2016 Rex Dieter - 16.04.3-1 - 16.04.3 * Sun Jun 12 2016 Rex Dieter - 16.04.2-1 - 16.04.2 * Wed May 25 2016 Rex Dieter - 16.04.1-2 - fix scriptlets - -libs: version libkomparediff2 dep, move plugins here * Sun May 08 2016 Rex Dieter - 16.04.1-1 - 16.04.1 * Mon Apr 25 2016 Rex Dieter - 16.04.0-1 - 16.04.0 * Tue Mar 15 2016 Rex Dieter - 15.12.3-1 - 15.12.3 * Mon Feb 15 2016 Rex Dieter - 15.12.2-1 - 15.12.2 * Thu Feb 04 2016 Fedora Release Engineering - 15.12.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Mon Dec 21 2015 Rex Dieter - 15.12.0-1 - 15.12.0 * Mon Nov 30 2015 Rex Dieter - 15.08.3-1 - 15.08.3, loosen build deps a bit * Sat Oct 03 2015 Rex Dieter - 15.08.1-1 - 15.08.1 * Wed Sep 09 2015 Kevin Kofler - 15.08.0-1 - Update to 15.08.0 - Revamp the specfile because this is now a KF5 version - Use %%license instead of %%doc for COPYING* * Wed Jun 17 2015 Fedora Release Engineering - 14.12.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 14.12.3-2 - Rebuilt for GCC 5 C++11 ABI change * Sun Mar 01 2015 Rex Dieter - 14.12.3-1 - 14.12.3 * Tue Feb 24 2015 Than Ngo - 14.12.2-1 - 14.12.2 * Sat Jan 31 2015 Rex Dieter 14.12.1-3 - Requires: kate4-part * Sun Jan 18 2015 Rex Dieter 14.12.1-2 - kde-applications fixes, cleanup * Sat Jan 17 2015 Rex Dieter - 14.12.1-1 - 14.12.1 * Thu Nov 20 2014 Rex Dieter - 4.14.3-2 - -libs: Requires: libkomparediff2 (minor upgrade path help) - -devel: Requires: kdelibs4-devel - minor cleanup, whitespace * Sun Nov 09 2014 Rex Dieter - 4.14.3-1 - 4.14.3 * Sun Oct 12 2014 Rex Dieter - 4.14.2-1 - 4.14.2 * Tue Sep 16 2014 Rex Dieter - 4.14.1-1 - 4.14.1 * Sun Aug 17 2014 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Aug 15 2014 Rex Dieter - 4.14.0-1 - 4.14.0 * Tue Aug 05 2014 Rex Dieter - 4.13.97-1 - 4.13.97 * Tue Jul 15 2014 Rex Dieter - 4.13.3-1 - 4.13.3 * Mon Jun 09 2014 Rex Dieter - 4.13.2-1 - 4.13.2 * Sun Jun 08 2014 Fedora Release Engineering - 4.13.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun May 11 2014 Rex Dieter - 4.13.1-1 - 4.13.1 * Sat Apr 12 2014 Rex Dieter - 4.13.0-1 - 4.13.0 * Fri Apr 04 2014 Rex Dieter - 4.12.97-1 - 4.12.97 * Sun Mar 23 2014 Rex Dieter - 4.12.95-1 - 4.12.95 * Wed Mar 19 2014 Rex Dieter - 4.12.90-1 - 4.12.90 * Sun Mar 02 2014 Rex Dieter - 4.12.3-1 - 4.12.3 * Fri Jan 31 2014 Rex Dieter - 4.12.2-1 - 4.12.2 * Fri Jan 10 2014 Rex Dieter - 4.12.1-1 - 4.12.1 * Thu Dec 19 2013 Rex Dieter - 4.12.0-1 - 4.12.0 * Sun Dec 01 2013 Rex Dieter - 4.11.97-1 - 4.11.97 * Thu Nov 21 2013 Rex Dieter - 4.11.95-1 - 4.11.95 * Sat Nov 16 2013 Rex Dieter - 4.11.90-1 - 4.11.90 * Sat Nov 02 2013 Rex Dieter - 4.11.3-1 - 4.11.3 * Sat Sep 28 2013 Rex Dieter - 4.11.2-1 - 4.11.2 * Wed Sep 04 2013 Rex Dieter - 4.11.1-1 - 4.11.1 * Wed Aug 14 2013 Jan Grulich - 4.11.0-1 - 4.11.0 * Wed Aug 07 2013 Jan Grulich - 4.10.97-1 - Split off from kdesdk package