%undefine __cmake_in_source_build Name: kde-dev-scripts Summary: KDE SDK scripts Version: 20.12.2 Release: 1%{?dist} License: GPLv2+ and GPLv2+ and BSD 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}/release-service/%{version}/src/%{name}-%{version}.tar.xz BuildRequires: extra-cmake-modules BuildRequires: cmake(KF5DocTools) BuildRequires: perl-generators BuildRequires: python3 # for env replacement in %%install BuildRequires: sed Requires: advancecomp Requires: optipng BuildArch: noarch Conflicts: kdesdk-common < 4.10.80 Provides: kdesdk-scripts = %{version}-%{release} Obsoletes: kdesdk-scripts < 4.10.80 Conflicts: kde-l10n < 17.08.3-2 %description KDE SDK scripts %prep %autosetup %build %{cmake_kf5} %cmake_build %install %cmake_install %find_lang %{name} --all-name --with-html --with-man # purge use of /usr/bin/env sed -i \ -e "s|^#!/usr/bin/env bash|#!/bin/bash|g" \ -e "s|^#! /usr/bin/env bash|#!/bin/bash|g" \ -e "s|^#!/usr/bin/env perl|#!/usr/bin/perl|g" \ -e "s|^#! /usr/bin/env perl|#!/usr/bin/perl|g" \ -e "s|^#!/usr/bin/env python$|#!%{__python3}|g" \ -e "s|^#! /usr/bin/env python$|#!%{__python3}|g" \ %{buildroot}%{_kf5_bindir}/* # unpackaged files # This one fits better into krazy2 (it requires krazy2), and the version in # kdesdk does not understand lib64. rm -fv %{buildroot}%{_kf5_bindir}/krazy-licensecheck %check test -n "$(grep "/usr/bin/env" %{buildroot}%{_kf5_bindir}/* 2> /dev/null )" ||: %files -f %{name}.lang %doc README %license COPYING %{_kf5_bindir}/grantlee_strings_extractor.py %{_kf5_bindir}/c++-copy-class-and-file %{_kf5_bindir}/c++-rename-class-and-file %{_kf5_bindir}/svnrevertlast %{_kf5_bindir}/fixuifiles %{_kf5_bindir}/cvscheck %{_kf5_bindir}/extend_dmalloc %{_kf5_bindir}/extractattr %{_kf5_bindir}/noncvslist %{_kf5_bindir}/pruneemptydirs %{_kf5_bindir}/cvsrevertlast %{_kf5_bindir}/create_makefile %{_kf5_bindir}/colorsvn %{_kf5_bindir}/cvslastchange %{_kf5_bindir}/svngettags %{_kf5_bindir}/create_svnignore %{_kf5_bindir}/svnchangesince %{_kf5_bindir}/build-progress.sh %{_kf5_bindir}/package_crystalsvg %{_kf5_bindir}/svnbackport %{_kf5_bindir}/svnlastlog %{_kf5_bindir}/cxxmetric %{_kf5_bindir}/kdemangen.pl %{_kf5_bindir}/cvsforwardport %{_kf5_bindir}/includemocs %{_kf5_bindir}/svnlastchange %{_kf5_bindir}/wcgrep %{_kf5_bindir}/qtdoc %{_kf5_bindir}/nonsvnlist %{_kf5_bindir}/svnforwardport %{_kf5_bindir}/create_cvsignore %{_kf5_bindir}/svnintegrate %{_kf5_bindir}/kdekillall %{_kf5_bindir}/create_makefiles %{_kf5_bindir}/cvsbackport %{_kf5_bindir}/fixkdeincludes %{_kf5_bindir}/kde-systemsettings-tree.py %{_kf5_bindir}/zonetab2pot.py %{_kf5_bindir}/kde_generate_export_header %{_kf5_bindir}/cvs-clean %{_kf5_bindir}/kdelnk2desktop.py %{_kf5_bindir}/findmissingcrystal %{_kf5_bindir}/adddebug %{_kf5_bindir}/cvsversion %{_kf5_bindir}/cheatmake %{_kf5_bindir}/cvsblame %{_kf5_bindir}/optimizegraphics %{_kf5_bindir}/cvsaddcurrentdir %{_kf5_bindir}/fix-include.sh %{_kf5_bindir}/kdedoc %{_kf5_bindir}/svn-clean %{_kf5_bindir}/png2mng.pl %{_kf5_bindir}/extractrc %{_kf5_bindir}/makeobj %{_kf5_bindir}/cvslastlog %{_kf5_bindir}/svnversions %{_kf5_bindir}/draw_lib_dependencies %{_kf5_bindir}/reviewboard-am %{_kf5_bindir}/uncrustify-kf5 %{_kf5_datadir}/uncrustify/ %{_mandir}/man1/adddebug.1* %{_mandir}/man1/cheatmake.1* %{_mandir}/man1/create_cvsignore.1* %{_mandir}/man1/create_makefile.1* %{_mandir}/man1/create_makefiles.1* %{_mandir}/man1/cvscheck.1* %{_mandir}/man1/cvslastchange.1* %{_mandir}/man1/cvslastlog.1* %{_mandir}/man1/cvsrevertlast.1* %{_mandir}/man1/cxxmetric.1* %{_mandir}/man1/extend_dmalloc.1* %{_mandir}/man1/extractrc.1* %{_mandir}/man1/fixincludes.1* %{_mandir}/man1/pruneemptydirs.1* %{_mandir}/man1/qtdoc.1* %{_mandir}/man1/zonetab2pot.py.1* %changelog * Thu Feb 04 2021 Rex Dieter - 20.12.2-1 - 20.12.2 * Tue Jan 26 2021 Fedora Release Engineering - 20.08.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Sun Nov 8 11:48:50 CST 2020 Rex Dieter - 20.08.3-1 - 20.08.3 * Tue Sep 15 2020 Rex Dieter - 20.08.1-1 - 20.08.1 * Tue Aug 18 2020 Rex Dieter - 20.08.0-1 - 20.08.0 * Tue Jul 28 2020 Fedora Release Engineering - 20.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Rex Dieter - 20.04.3-1 - 20.04.3 * Fri Jun 12 2020 Rex Dieter - 20.04.2-1 - 20.04.2 * Wed May 27 2020 Rex Dieter - 20.04.1-1 - 20.04.1 * Sat Mar 07 2020 Rex Dieter - 19.12.3-1 - 19.12.3 * Tue Feb 04 2020 Rex Dieter - 19.12.2-1 - 19.12.2 * Wed Jan 29 2020 Fedora Release Engineering - 19.08.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Nov 12 2019 Rex Dieter - 19.08.3-1 - 19.08.3 * Thu Oct 17 2019 Rex Dieter - 19.08.2-1 - 19.08.2 * Fri Oct 04 2019 Rex Dieter - 19.08.1-1 - 19.08.1 * Thu Sep 05 2019 Rex Dieter - 19.04.3-3 - use python3 * Thu Jul 25 2019 Fedora Release Engineering - 19.04.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Jul 12 2019 Rex Dieter - 19.04.3-1 - 19.04.3 * Wed Jun 05 2019 Rex Dieter - 19.04.2-1 - 19.04.2 * Fri Mar 08 2019 Rex Dieter - 18.12.3-1 - 18.12.3 * Tue Feb 05 2019 Rex Dieter - 18.12.2-1 - 18.12.2 * Fri Feb 01 2019 Fedora Release Engineering - 18.12.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 08 2019 Rex Dieter - 18.12.1-1 - 18.12.1 * Mon Dec 17 2018 Rex Dieter - 18.12.0-1 - 18.12.0 * Tue Nov 06 2018 Rex Dieter - 18.08.3-1 - 18.08.3 * Wed Oct 10 2018 Rex Dieter - 18.08.2-1 - 18.08.2 * Sun Sep 16 2018 Rex Dieter - 18.08.1-1 - 18.08.1 * Fri Jul 13 2018 Rex Dieter - 18.04.3-1 - 18.04.3 * Fri Jul 13 2018 Fedora Release Engineering - 18.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Jun 06 2018 Rex Dieter - 18.04.2-1 - 18.04.2 * Wed May 09 2018 Rex Dieter - 18.04.1-1 - 18.04.1 * Fri Apr 20 2018 Rex Dieter - 18.04.0-1 - 18.04.0 * 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-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Jan 17 2018 Rex Dieter - 17.12.1-4 - Conflicts: kde-l10n < 17.08.3-2 * Tue Jan 16 2018 Rex Dieter - 17.12.1-3 - explicitly use %%__python2 (instead of %%__python) * Mon Jan 15 2018 Iryna Shcherbina - 17.12.1-2 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Thu Jan 11 2018 Rex Dieter - 17.12.1-1 - 17.12.1 * 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 * 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 * 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 * Fri Jan 13 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 * 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 * Wed Oct 28 2015 Rex Dieter 15.08.2-2 - make python substitution safer * Wed Oct 28 2015 Rex Dieter 15.08.2-1 - 15.08.2, use %%license, purge use of /usr/bin/env * Thu Aug 20 2015 Than Ngo - 15.08.0-1 - 15.08.0 * Wed Jun 17 2015 Fedora Release Engineering - 15.04.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Wed Jun 10 2015 Rex Dieter - 15.04.2-1 - 15.04.2 * Thu May 28 2015 Rex Dieter - 15.04.1-1 - 15.04.1 * Fri Apr 17 2015 Rex Dieter - 15.04.0-1 - 15.04.0 * Sat Jan 17 2015 Rex Dieter 4.14.3-2 - fixed for kde-applications * 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 * 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 * Thu Aug 22 2013 Jan Grulich - 4.11.0-1 - 4.11.0 * Thu Aug 08 2013 Jan Grulich - 4.10.97-1 - Split off from kdesdk package