[packages/kp6-kdecoration] - updated to 6.0.0
witekfl
witekfl at pld-linux.org
Sun Mar 3 21:07:52 CET 2024
commit b59945102d2a8bd20df4dd340d9a95ab8b21f9bf
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Sun Mar 3 20:54:56 2024 +0100
- updated to 6.0.0
kp6-kdecoration.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
---
diff --git a/kp6-kdecoration.spec b/kp6-kdecoration.spec
new file mode 100644
index 0000000..ceb3040
--- /dev/null
+++ b/kp6-kdecoration.spec
@@ -0,0 +1,81 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 6.0.0
+%define qtver 5.15.2
+%define kpname kdecoration
+Summary: A plugin-based library to create window decorations
+Name: kp6-%{kpname}
+Version: 6.0.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 599e79f2908879ed7f7ffda3637c54a6
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: cmake >= 3.16.0
+BuildRequires: kf6-extra-cmake-modules >= 1.4.0
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A plugin-based library to create window decorations.
+
+%package devel
+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}
+
+%description devel
+Header files for %{kpname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kpname}.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+%cmake -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%doc README.md
+%attr(755,root,root) %{_libdir}/libkdecorations2.so.*.*
+%ghost %{_libdir}/libkdecorations2.so.6
+%attr(755,root,root) %{_libdir}/libkdecorations2private.so.*.*
+%ghost %{_libdir}/libkdecorations2private.so.11
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/libkdecorations2.so
+%{_libdir}/libkdecorations2private.so
+%{_includedir}/KDecoration2
+%{_includedir}/KF6/kdecoration2_version.h
+%{_libdir}/cmake/KDecoration2
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp6-kdecoration.git/commitdiff/b59945102d2a8bd20df4dd340d9a95ab8b21f9bf
More information about the pld-cvs-commit
mailing list