]> git.pld-linux.org Git - packages/kp5-plasma-workspace.git/blobdiff - kp5-plasma-workspace.spec
relup, libqalculate rebuild
[packages/kp5-plasma-workspace.git] / kp5-plasma-workspace.spec
index 494b54cb755f72360281fd0a2c1014d54513ff66..32f5283564f65824cbd37789b3d44c7197ebd8f6 100644 (file)
@@ -3,27 +3,30 @@
 %bcond_with    tests           # build with tests
 # TODO:
 #  * dbusmenu-qt5 , Support for notification area menus via the DBusMenu protocol , <https://launchpad.net/libdbusmenu-qt>
+#  * Could NOT find AppMenuGtkModule (missing: AppMenuGtk3Module_LIBRARY AppMenuGtk2Module_LIBRARY)
 #
-%define                kdeplasmaver    5.27.5
+%define                kdeplasmaver    5.27.11
 %define                qtver           5.15.2
 %define                kf5ver          5.102.0
 %define                kpname          plasma-workspace
 
 Summary:       KDE Plasma Workspace
+Summary(pl.UTF-8):     Środowisko KDE Plasma
 Name:          kp5-%{kpname}
-Version:       5.27.5
-Release:       2
+Version:       5.27.11
+Release:       4
 License:       LGPL v2.1+
 Group:         X11/Libraries
 Source0:       https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
-# Source0-md5: 6d8eebad15cca79e694360ffddb06ac0
+# Source0-md5: ae751485c237143987f987191064ddfd
 Source1:       kde.pam
-Patch0:                kp5-plasma-workspace-absolute-path.patch
-Patch1:                kp5-plasma-workspace-scripts.patch
-URL:           http://www.kde.org/
-BuildRequires: AppStream-qt-devel >= 0.10.6
+Patch0:                plasma-workspace-appstream1.patch
+URL:           https://kde.org/
+BuildRequires: AppStream-qt5-devel >= 1.0.2
+BuildRequires: NetworkManager-devel >= 1.4
 BuildRequires: Qt5Concurrent-devel >= %{qtver}
 BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel >= %{qtver}
 BuildRequires: Qt5Network-devel >= %{qtver}
 BuildRequires: Qt5PrintSupport-devel >= %{qtver}
 BuildRequires: Qt5Quick-devel >= %{qtver}
@@ -89,7 +92,7 @@ BuildRequires:        kuserfeedback-devel
 BuildRequires: libdrm-devel
 BuildRequires: libicu-devel
 BuildRequires: libqalculate-devel > 2.0
-BuildRequires: libstdc++-devel >= 6:5
+BuildRequires: libstdc++-devel >= 6:7
 BuildRequires: libxcb-devel
 BuildRequires: ninja
 BuildRequires: phonon-qt5-devel >= 4.6.60
@@ -101,6 +104,7 @@ BuildRequires:      rpmbuild(macros) >= 1.736
 BuildRequires: tar >= 1:1.22
 BuildRequires: wayland-devel
 BuildRequires: wayland-protocols >= 1.31
+BuildRequires: xcb-util-image-devel
 BuildRequires: xorg-lib-libICE-devel
 BuildRequires: xorg-lib-libSM-devel
 BuildRequires: xorg-lib-libX11-devel
@@ -121,6 +125,9 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 KDE Plasma Workspace.
 
+%description -l pl.UTF-8
+Środowisko KDE Plasma.
+
 %package data
 Summary:       Data files for %{kpname}
 Summary(pl.UTF-8):     Dane dla %{kpname}
@@ -138,6 +145,12 @@ Summary:   Header files for %{kpname} development
 Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kpname}
 Group:         X11/Development/Libraries
 Requires:      %{name} = %{version}-%{release}
+Requires:      Qt5Core-devel >= %{qtver}
+Requires:      Qt5Gui-devel >= %{qtver}
+Requires:      Qt5Quick-devel >= %{qtver}
+Requires:      kf5-kitemmodels-devel >= %{kf5ver}
+Requires:      kf5-plasma-framework-devel >= %{kf5ver}
+Requires:      libstdc++-devel >= 6:7
 
 %description devel
 Header files for %{kpname} development.
@@ -147,18 +160,17 @@ Pliki nagłówkowe dla programistów używających %{kpname}.
 
 %prep
 %setup -q -n %{kpname}-%{version}
-#%%patch0 -p1
-#%%patch1 -p1
+%patch0 -p1
 
 %build
-install -d build
-cd build
-%cmake -G Ninja \
+%cmake -B build \
+       -G Ninja \
        %{!?with_tests:-DBUILD_TESTING=OFF} \
-       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-       -DHTML_INSTALL_DIR=%{_kdedocdir} \
-       ../
-%ninja_build
+       -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+       -DKDE_INSTALL_SYSCONFDIR=%{_sysconfdir} \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+
+%ninja_build -C build
 
 %if %{with tests}
 ctest
@@ -166,6 +178,7 @@ ctest
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %ninja_install -C build
 
 install -p -D %{SOURCE1} $RPM_BUILD_ROOT/etc/pam.d/kde
This page took 0.074507 seconds and 4 git commands to generate.