rebuilt with rpm-macros-kde5 packaged apart [release 5.113.0-3mamba;Wed Jan 10 2024]

This commit is contained in:
Silvan Calarco 2024-01-11 17:41:33 +01:00
parent 2554ff25ec
commit 934f368aaf
2 changed files with 10 additions and 90 deletions

View File

@ -1,72 +0,0 @@
%_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} \\\

View File

@ -2,32 +2,26 @@
Name: extra-cmake-modules
Version: 5.113.0
Release: 1mamba
Release: 3mamba
Summary: Extra cmake modules used by kde framework
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
Source0: http://download.kde.org/stable/frameworks/%{_kf5_majver}/extra-cmake-modules-%{version}.tar.xz
Source1: extra-cmake-modules-rpm-macros-kde5.in
Source0: https://download.kde.org/stable/frameworks/%{_kf5_majver}/extra-cmake-modules-%{version}.tar.xz
License: BSD
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: kf5-rpm-macros
BuildRequires: cmake
BuildRequires: python-sphinx-py3
Requires: cmake
Requires: kf5-rpm-macros
%description
Extra cmake modules used by kde framework.
%package -n rpm-macros-kde5
Group: Development/Tools
Summary: RPM macros for KDE Frameworks 5
%description -n rpm-macros-kde5
This package provides the RPM macros for building KDE Frameworks 5 packages.
%prep
%setup -q
@ -39,10 +33,6 @@ This package provides the RPM macros for building KDE Frameworks 5 packages.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
install -d %{buildroot}%{_sysconfdir}/rpm
cat %{S:1} | sed "s,@KF5_VERSION@,%{version}," \
> %{buildroot}%{_sysconfdir}/rpm/macros.kde5
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -53,11 +43,13 @@ cat %{S:1} | sed "s,@KF5_VERSION@,%{version}," \
%{_mandir}/man7/ecm*
%doc COPYING-CMAKE-SCRIPTS
%files -n rpm-macros-kde5
%defattr(-,root,root)
%attr(644,root,root) %{_sysconfdir}/rpm/macros.kde5
%changelog
* Wed Jan 10 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.113.0-3mamba
- rebuilt with rpm-macros-kde5 packaged apart
* 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