split from extra-cmake-modules [release 5.113.0-3mamba;Wed Jan 10 2024]

This commit is contained in:
Silvan Calarco 2024-01-11 17:41:52 +01:00
parent b364248ea2
commit 932bf9454d
3 changed files with 475 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# kf5-rpm-macros # kf5-rpm-macros
This package provides the RPM macros for building KDE Frameworks 5 packages.

View File

@ -0,0 +1,72 @@
%_kf5_version @KF5_VERSION@
%_kf5_majver %(v=%_kf5_version; echo ${v%.*})
%_kde5_prefix %_prefix
%_kde5_sysconfdir %_sysconfdir
%_kde5_autostartdir %_kde5_prefix/autostart
%_kde5_bindir %_kde5_prefix/bin
%_kde5_configdir %_sysconfdir/xdg
%_kde5_datadir %_kde5_prefix/share
%_kde5_dbusinterfacesdir %_datadir/dbus-1/interfaces
%_kde5_dbusservicesdir %_datadir/dbus-1/services
%_kde5_dbussystemservicesdir %_datadir/dbus-1/system-services
%_kde5_htmldir %_kde5_prefix/share/doc/HTML
%_kde5_icondir %_kde5_prefix/share/icons
%_kde5_kcfgdir %_kde5_prefix/share/config.kcfg
%_kde5_kconfupdatedir %_kde5_prefix/share/kconf_update
%_kde5_kxmlguidir %_kde5_prefix/share/kxmlgui5
%_kde5_includedir %_includedir/KF5
%_kde5_libdir %_kde5_prefix/%_lib
%_kde5_libexecdir %_libexecdir/kf5
%_kde5_localedir %_kde5_prefix/share/locale
%_kde5_mandir %_kde5_datadir/man
%_kde5_mimedir %_kde5_prefix/share/mime
%_kde5_mkspecsdir %_qt5_prefix/mkspecs/modules
%_kde5_pluginsdir %_qt5_plugindir/kf5
%_kde5_qmldir %_qt5_prefix/qml
%_kde5_qtplugindir %_qt5_plugindir
%_kde5_sbindir %_kde5_prefix/sbin
%_kde5_servicesdir %_kde5_prefix/share/kservices5
%_kde5_servicetypesdir %_kde5_prefix/share/kservicetypes5
%_kde5_sharedir %_kde5_prefix/share
%_kde5_soundsdir %_kde5_prefix/share/sounds
%_kde5_templatesdir %_kde5_prefix/share/templates
%_kde5_xdgappsdir %_kde5_prefix/share/applications
%_kde5_xdgdirectorydir %_kde5_prefix/share/desktop-directories
%_kde5_xdgmimedir %_kde5_prefix/share/mime/packages
%_kde5_wallpaperdir %_kde5_prefix/share/wallpapers
%_kde5_debug RelWithDebInfo
%cmake_kde5(d:) \
QV4_FORCE_INTERPRETER=1; export QV4_FORCE_INTERPRETER ; \
QTDIR="%{_qt5_prefix}" ; export QTDIR ; \
PATH="%{_qt5_bindir}:$PATH" ; export PATH ; \
CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
bdir=. \
%{-d:dir=%{-d*} ; mkdir -p $dir ; cd $dir ; bdir=.. } \
%{__cmake} $bdir \\\
-DCMAKE_BUILD_TYPE=%{_kde5_debug} \\\
-DBUILD_SHARED_LIBS:BOOL=ON \\\
-DBUILD_TESTING:BOOL=FALSE \\\
-DCMAKE_INSTALL_PREFIX:PATH=%{_kde5_prefix} \\\
-DKDE_INSTALL_USE_QT_SYS_PATHS:BOOL=ON \\\
-DLIB_INSTALL_DIR:PATH=%{_lib} \\\
-DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir} \\\
-DECM_MKSPECS_INSTALL_DIR:PATH=%{_kde5_mkspecsdir} \\\
-DKF5_LIBEXEC_INSTALL_DIR=%{_kde5_libexecdir} \\\
-DQML_INSTALL_DIR:PATH=%{_kde5_qmldir} \\\
-DQMLPLUGINDUMP_PROGRAM=%{_qt5_bindir}/qmlplugindump
# -DDBUS_INTERFACES_INSTALL_DIR:PATH=%{_kde5_dbusinterfacesdir} \\\
# -DDBUS_SERVICES_INSTALL_DIR:PATH=%{_kde5_dbusservicesdir} \\\
# -DDBUS_SYSTEM_SERVICES_INSTALL_DIR:PATH=%{_kde5_dbussystemservicesdir} \\\
# -DSYSCONF_INSTALL_DIR:PATH=%{_kde5_sysconfdir} \\\
# -DXDG_APPS_INSTALL_DIR:PATH=%{_kde5_xdgappsdir} \\\
# -DXDG_MIME_INSTALL_DIR:PATH=%{_kde5_xdgmimedir} \\\
# -DKDE_INSTALL_LIBEXECDIR:PATH=%{_kde5_libexecdir} \\\
# -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \\\
# -DECM_MKSPECS_INSTALL_DIR=%{_kde5_mkspecsdir} \\\

401
kf5-rpm-macros.spec Normal file
View File

@ -0,0 +1,401 @@
%define _kf5_majver %(v=%version; echo ${v%.*})
Name: kf5-rpm-macros
Version: 5.113.0
Release: 3mamba
Summary: RPM macros for KDE Frameworks 5
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source0: extra-cmake-modules-rpm-macros-kde5.in
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
Provides: rpm-macros-kde5
Obsoletes: rpm-macros-kde5 <= 5.113.0-2mamba
%description
This package provides the RPM macros for building KDE Frameworks 5 packages.
%prep
%build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -d %{buildroot}%{_rpmmacrodir}
cat %{SOURCE0} | sed "s,@KF5_VERSION@,%{version}," \
> %{buildroot}%{_rpmmacrodir}/macros.kf5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%attr(644,root,root) %{_rpmmacrodir}/macros.kf5
%changelog
* Wed Jan 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.113.0-3mamba
- split from extra-cmake-modules
* Wed Jan 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.113.0-2mamba
- install macros.kde5 in %_rpmmacrodir
* Sun Dec 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.113.0-1mamba
- update to 5.113.0
* Wed Nov 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.112.0-1mamba
- update to 5.112.0
* Thu Oct 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.111.0-1mamba
- update to 5.111.0
* Sun Sep 10 2023 Automatic Build System <autodist@mambasoft.it> 5.110.0-1mamba
- automatic version update by autodist
* Thu Aug 17 2023 Automatic Build System <autodist@mambasoft.it> 5.109.0-1mamba
- automatic version update by autodist
* Sat Jul 08 2023 Automatic Build System <autodist@mambasoft.it> 5.108.0-1mamba
- automatic version update by autodist
* Sat Jun 10 2023 Automatic Build System <autodist@mambasoft.it> 5.107.0-1mamba
- automatic version update by autodist
* Sun May 14 2023 Automatic Build System <autodist@mambasoft.it> 5.106.0-1mamba
- automatic version update by autodist
* Sat Apr 08 2023 Automatic Build System <autodist@mambasoft.it> 5.105.0-1mamba
- automatic version update by autodist
* Sat Mar 11 2023 Automatic Build System <autodist@mambasoft.it> 5.104.0-1mamba
- automatic version update by autodist
* Sun Feb 12 2023 Automatic Build System <autodist@mambasoft.it> 5.103.0-1mamba
- automatic version update by autodist
* Sun Jan 15 2023 Automatic Build System <autodist@mambasoft.it> 5.102.0-1mamba
- automatic version update by autodist
* Sat Dec 10 2022 Automatic Build System <autodist@mambasoft.it> 5.101.0-1mamba
- automatic version update by autodist
* Mon Nov 14 2022 Automatic Build System <autodist@mambasoft.it> 5.100.0-1mamba
- automatic version update by autodist
* Mon Oct 10 2022 Automatic Build System <autodist@mambasoft.it> 5.99.0-1mamba
- automatic version update by autodist
* Sun Sep 11 2022 Automatic Build System <autodist@mambasoft.it> 5.98.0-1mamba
- automatic version update by autodist
* Mon Aug 15 2022 Automatic Build System <autodist@mambasoft.it> 5.97.0-1mamba
- automatic version update by autodist
* Sun Jul 10 2022 Automatic Build System <autodist@mambasoft.it> 5.96.0-1mamba
- automatic version update by autodist
* Mon Jun 13 2022 Automatic Build System <autodist@mambasoft.it> 5.95.0-1mamba
- automatic version update by autodist
* Sat May 14 2022 Automatic Build System <autodist@mambasoft.it> 5.94.0-1mamba
- automatic version update by autodist
* Sun Apr 10 2022 Automatic Build System <autodist@mambasoft.it> 5.93.0-1mamba
- automatic version update by autodist
* Sun Mar 13 2022 Automatic Build System <autodist@mambasoft.it> 5.92.0-1mamba
- automatic version update by autodist
* Mon Feb 14 2022 Automatic Build System <autodist@mambasoft.it> 5.91.0-1mamba
- automatic version update by autodist
* Sat Jan 08 2022 Automatic Build System <autodist@mambasoft.it> 5.90.0-1mamba
- automatic version update by autodist
* Sun Dec 12 2021 Automatic Build System <autodist@mambasoft.it> 5.89.0-1mamba
- automatic version update by autodist
* Sat Nov 13 2021 Automatic Build System <autodist@mambasoft.it> 5.88.0-1mamba
- automatic version update by autodist
* Sun Oct 10 2021 Automatic Build System <autodist@mambasoft.it> 5.87.0-1mamba
- automatic version update by autodist
* Sat Sep 11 2021 Automatic Build System <autodist@mambasoft.it> 5.86.0-1mamba
- automatic version update by autodist
* Sat Aug 14 2021 Automatic Build System <autodist@mambasoft.it> 5.85.0-1mamba
- automatic version update by autodist
* Sat Jul 10 2021 Automatic Build System <autodist@mambasoft.it> 5.84.0-1mamba
- automatic version update by autodist
* Sat Jun 12 2021 Automatic Build System <autodist@mambasoft.it> 5.83.0-1mamba
- automatic version update by autodist
* Sun May 09 2021 Automatic Build System <autodist@mambasoft.it> 5.82.0-1mamba
- automatic version update by autodist
* Sat Apr 10 2021 Automatic Build System <autodist@mambasoft.it> 5.81.0-1mamba
- automatic version update by autodist
* Sun Mar 14 2021 Automatic Build System <autodist@mambasoft.it> 5.80.0-1mamba
- automatic version update by autodist
* Sat Feb 13 2021 Automatic Build System <autodist@mambasoft.it> 5.79.0-1mamba
- automatic version update by autodist
* Sun Jan 10 2021 Automatic Build System <autodist@mambasoft.it> 5.78.0-1mamba
- automatic version update by autodist
* Sun Dec 13 2020 Automatic Build System <autodist@mambasoft.it> 5.77.0-1mamba
- automatic version update by autodist
* Sun Nov 15 2020 Automatic Build System <autodist@mambasoft.it> 5.76.0-1mamba
- automatic version update by autodist
* Mon Oct 12 2020 Automatic Build System <autodist@mambasoft.it> 5.75.0-1mamba
- automatic version update by autodist
* Mon Sep 14 2020 Automatic Build System <autodist@mambasoft.it> 5.74.0-1mamba
- automatic version update by autodist
* Sun Aug 09 2020 Automatic Build System <autodist@mambasoft.it> 5.73.0-1mamba
- automatic version update by autodist
* Mon Jul 13 2020 Automatic Build System <autodist@mambasoft.it> 5.72.0-1mamba
- automatic version update by autodist
* Mon Jun 15 2020 Automatic Build System <autodist@mambasoft.it> 5.71.0-1mamba
- automatic version update by autodist
* Sun May 10 2020 Automatic Build System <autodist@mambasoft.it> 5.70.0-1mamba
- automatic version update by autodist
* Sun Apr 12 2020 Automatic Build System <autodist@mambasoft.it> 5.69.0-1mamba
- automatic version update by autodist
* Mon Mar 16 2020 Automatic Build System <autodist@mambasoft.it> 5.68.0-1mamba
- automatic version update by autodist
* Mon Feb 10 2020 Automatic Build System <autodist@mambasoft.it> 5.67.0-1mamba
- automatic version update by autodist
* Mon Jan 13 2020 Automatic Build System <autodist@mambasoft.it> 5.66.0-1mamba
- automatic version update by autodist
* Thu Dec 19 2019 Automatic Build System <autodist@mambasoft.it> 5.65.0-1mamba
- automatic version update by autodist
* Sun Nov 10 2019 Automatic Build System <autodist@mambasoft.it> 5.64.0-1mamba
- automatic version update by autodist
* Tue Oct 15 2019 Automatic Build System <autodist@mambasoft.it> 5.63.0-1mamba
- automatic version update by autodist
* Sun Sep 15 2019 Automatic Build System <autodist@mambasoft.it> 5.62.0-1mamba
- automatic version update by autodist
* Tue Aug 20 2019 Automatic Build System <autodist@mambasoft.it> 5.61.0-1mamba
- automatic version update by autodist
* Sun Jul 14 2019 Automatic Build System <autodist@mambasoft.it> 5.60.0-1mamba
- automatic version update by autodist
* Sun Jun 09 2019 Automatic Build System <autodist@mambasoft.it> 5.59.0-1mamba
- automatic version update by autodist
* Thu May 16 2019 Automatic Build System <autodist@mambasoft.it> 5.58.0-1mamba
- automatic version update by autodist
* Fri Apr 19 2019 Automatic Build System <autodist@mambasoft.it> 5.57.0-1mamba
- automatic version update by autodist
* Mon Mar 11 2019 Automatic Build System <autodist@mambasoft.it> 5.56.0-1mamba
- automatic version update by autodist
* Sun Feb 17 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.55.0-3mamba
- macros.kde5: set QV4_FORCE_INTERPRETER=1 to fix qmlplugindump crashes on build servers
* Sat Feb 16 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 5.55.0-2mamba
- macros.kde5: define QMLPLUGINDUMP_PROGRAM to match qt5 binary
* Mon Feb 11 2019 Automatic Build System <autodist@mambasoft.it> 5.55.0-1mamba
- automatic version update by autodist
* Sun Jan 13 2019 Automatic Build System <autodist@mambasoft.it> 5.54.0-1mamba
- automatic version update by autodist
* Fri Dec 14 2018 Automatic Build System <autodist@mambasoft.it> 5.53.0-1mamba
- automatic version update by autodist
* Mon Nov 12 2018 Automatic Build System <autodist@mambasoft.it> 5.52.0-1mamba
- automatic version update by autodist
* Tue Oct 16 2018 Automatic Build System <autodist@mambasoft.it> 5.51.0-1mamba
- automatic version update by autodist
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 5.50.0-1mamba
- automatic version update by autodist
* Sun Aug 19 2018 Automatic Build System <autodist@mambasoft.it> 5.49.0-1mamba
- automatic version update by autodist
* Mon Jul 16 2018 Automatic Build System <autodist@mambasoft.it> 5.48.0-1mamba
- automatic version update by autodist
* Mon Jun 11 2018 Automatic Build System <autodist@mambasoft.it> 5.47.0-1mamba
- automatic version update by autodist
* Mon May 14 2018 Automatic Build System <autodist@mambasoft.it> 5.46.0-1mamba
- automatic version update by autodist
* Mon Apr 16 2018 Automatic Build System <autodist@mambasoft.it> 5.45.0-1mamba
- automatic version update by autodist
* Mon Mar 12 2018 Automatic Build System <autodist@mambasoft.it> 5.44.0-1mamba
- automatic version update by autodist
* Wed Feb 14 2018 Automatic Build System <autodist@mambasoft.it> 5.43.0-1mamba
- automatic version update by autodist
* Tue Jan 16 2018 Automatic Build System <autodist@mambasoft.it> 5.42.0-1mamba
- automatic version update by autodist
* Wed Dec 20 2017 Automatic Build System <autodist@mambasoft.it> 5.41.0-1mamba
- automatic version update by autodist
* Mon Nov 13 2017 Automatic Build System <autodist@mambasoft.it> 5.40.0-1mamba
- automatic version update by autodist
* Sat Oct 21 2017 Automatic Build System <autodist@mambasoft.it> 5.39.0-1mamba
- automatic version update by autodist
* Mon Sep 11 2017 Automatic Build System <autodist@mambasoft.it> 5.38.0-1mamba
- automatic version update by autodist
* Thu Aug 17 2017 Automatic Build System <autodist@mambasoft.it> 5.37.0-1mamba
- automatic version update by autodist
* Mon Jul 10 2017 Automatic Build System <autodist@mambasoft.it> 5.36.0-1mamba
- automatic version update by autodist
* Mon Jun 12 2017 Automatic Build System <autodist@mambasoft.it> 5.35.0-1mamba
- automatic version update by autodist
* Mon May 15 2017 Automatic Build System <autodist@mambasoft.it> 5.34.0-1mamba
- automatic version update by autodist
* Sun Apr 16 2017 Automatic Build System <autodist@mambasoft.it> 5.33.0-1mamba
- automatic version update by autodist
* Mon Mar 13 2017 Automatic Build System <autodist@mambasoft.it> 5.32.0-1mamba
- automatic version update by autodist
* Tue Feb 14 2017 Automatic Build System <autodist@mambasoft.it> 5.31.0-1mamba
- automatic version update by autodist
* Mon Jan 16 2017 Automatic Build System <autodist@mambasoft.it> 5.30.0-1mamba
- automatic version update by autodist
* Sat Dec 17 2016 Automatic Build System <autodist@mambasoft.it> 5.29.0-1mamba
- automatic version update by autodist
* Fri Nov 18 2016 Automatic Build System <autodist@mambasoft.it> 5.28.0-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 5.27.0-1mamba
- automatic version update by autodist
* Tue Sep 20 2016 Automatic Build System <autodist@mambasoft.it> 5.26.0-1mamba
- automatic version update by autodist
* Sat Aug 20 2016 Automatic Build System <autodist@mambasoft.it> 5.25.0-1mamba
- automatic version update by autodist
* Wed Jul 13 2016 Automatic Build System <autodist@mambasoft.it> 5.24.0-1mamba
- automatic version update by autodist
* Tue Jun 21 2016 Automatic Build System <autodist@mambasoft.it> 5.23.0-1mamba
- automatic version update by autodist
* Sat May 21 2016 Automatic Build System <autodist@mambasoft.it> 5.22.0-1mamba
- automatic version update by autodist
* Thu Apr 14 2016 Automatic Build System <autodist@mambasoft.it> 5.21.0-1mamba
- automatic version update by autodist
* Tue Mar 29 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.20.0-1mamba
- update to 5.20.0
* Sat Feb 20 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 5.19.0-1mamba
- update to 5.19.0
* Thu Jan 14 2016 Automatic Build System <autodist@mambasoft.it> 5.18.0-1mamba
- automatic version update by autodist
* Tue Dec 15 2015 Automatic Build System <autodist@mambasoft.it> 5.17.0-1mamba
- automatic version update by autodist
* Wed Nov 18 2015 Automatic Build System <autodist@mambasoft.it> 5.16.0-1mamba
- automatic version update by autodist
* Wed Oct 14 2015 Automatic Build System <autodist@mambasoft.it> 5.15.0-1mamba
- automatic version update by autodist
* Sun Sep 20 2015 Automatic Build System <autodist@mambasoft.it> 5.14.0-1mamba
- automatic version update by autodist
* Tue Aug 18 2015 Automatic Build System <autodist@mambasoft.it> 5.13.0-1mamba
- automatic version update by autodist
* Fri Jul 10 2015 Automatic Build System <autodist@mambasoft.it> 5.12.0-1mamba
- automatic version update by autodist
* Mon Jun 15 2015 Automatic Build System <autodist@mambasoft.it> 5.11.0-1mamba
- automatic version update by autodist
* Sun May 10 2015 Automatic Build System <autodist@mambasoft.it> 5.10.0-1mamba
- automatic version update by autodist
* Thu Apr 30 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-7mamba
- update and add some kde5 macros
* Sun Apr 26 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-6mamba
- provide the macro %%_kde5_mandir
* Sat Apr 18 2015 Davide Madrisan <davide.madrisan@gmail.com> 5.9.0-5mamba
- provide the rpm macro file macros.kde5 (new subpackage rpm-macros-kde5)
- do not provide an empty debug package
- remove the build requirement for automoc4 and add cmake instead
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-4mamba
- automatic version update by autodist
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-3mamba
- automatic version update by autodist
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-2mamba
- automatic version update by autodist
* Sat Apr 11 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 5.9.0-1mamba
- automatic version update by autodist
* Sun Mar 29 2015 Davide Madrisan <davide.madrisan@gmail.com> 1.8.0-2mamba
- remove the %%debug macro
- python-Sphinx is required for building the package documentation
* Thu Mar 19 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-1mamba
- update to 1.8.0
* Sun Feb 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.7.0-1mamba
- update to 1.7.0
* Thu Jan 29 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.1-1mamba
- update to 1.6.1
* Wed Jan 28 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.0.9-1mamba
- package created using the webbuild interface