[packages/ka6-kdf] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:28:53 CET 2024
commit 0c8eb1424f18b2925c37382348ab0367adc84745
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:28:44 2024 +0100
- updated to 24.02.0
ka6-kdf.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 88 insertions(+)
---
diff --git a/ka6-kdf.spec b/ka6-kdf.spec
new file mode 100644
index 0000000..d1af5db
--- /dev/null
+++ b/ka6-kdf.spec
@@ -0,0 +1,88 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname kdf
+Summary: KDE free disk space utility
+Name: ka6-%{kaname}
+Version: 24.02.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Applications
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 4bc60585c4b4cba9182cc2b17d745a53
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: cmake >= 3.20
+BuildRequires: gettext-devel
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kcmutils-devel >= %{kframever}
+BuildRequires: kf6-kconfigwidgets-devel >= %{kframever}
+BuildRequires: kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf6-kdoctools-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-kio-devel >= %{kframever}
+BuildRequires: kf6-knotifications-devel >= %{kframever}
+BuildRequires: kf6-kwidgetsaddons-devel >= %{kframever}
+BuildRequires: kf6-kxmlgui-devel >= %{kframever}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+KDE free disk space utility.
+
+%description -l pl.UTF-8
+Program użytkowy KDE do pokazywania zajętości dysku.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DQT_MAJOR_VERSION=6
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+rm -rf $RPM_BUILD_ROOT%{_kdedocdir}/{ko,sr}
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/kdf
+%attr(755,root,root) %{_bindir}/kwikdisk
+%ghost %{_libdir}/libkdfprivate.so.24
+%attr(755,root,root) %{_libdir}/libkdfprivate.so.*.*
+%{_desktopdir}/org.kde.kdf.desktop
+%{_desktopdir}/org.kde.kwikdisk.desktop
+%{_iconsdir}/hicolor/*x*/apps/*.png
+%{_datadir}/metainfo/org.kde.kdf.appdata.xml
+%{_datadir}/qlogging-categories6/kdf.categories
+%attr(755,root,root) %{_libdir}/qt6/plugins/plasma/kcms/systemsettings_qwidgets/kcm_kdf.so
+%{_desktopdir}/kcm_kdf.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kdf.git/commitdiff/0c8eb1424f18b2925c37382348ab0367adc84745
More information about the pld-cvs-commit
mailing list