[packages/ka6-kdeconnect-kde] - data subpackage

witekfl witekfl at pld-linux.org
Fri Jul 5 15:59:03 CEST 2024


commit 0b1dd830618a22fcc9ac5740879b6c88b226a172
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Jul 5 15:18:53 2024 +0200

    - data subpackage

 ka6-kdeconnect-kde.spec | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/ka6-kdeconnect-kde.spec b/ka6-kdeconnect-kde.spec
index 41664d5..9087b6a 100644
--- a/ka6-kdeconnect-kde.spec
+++ b/ka6-kdeconnect-kde.spec
@@ -61,6 +61,7 @@ BuildRequires:	shared-mime-info
 BuildRequires:	tar >= 1:1.22
 BuildRequires:	wayland-protocols >= 1.9
 BuildRequires:	xz
+Requires:	%{name}-data = %{version}-%{release}
 Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -88,6 +89,20 @@ communicate (eg: your phone and your computer).
 
 All this is done completely wirelessly, utilising TLS encryption.
 
+%package data
+Summary:	Data files for %{kaname}
+Summary(pl.UTF-8):	Dane dla %{kaname}
+Group:		X11/Applications
+Obsoletes:	ka5-%{kaname}-data < %{version}
+BuildArch:	noarch
+
+%description data
+Data files for %{kaname}.
+
+%description data -l pl.UTF-8
+Dane dla %{kaname}.
+
+
 %prep
 %setup -q -n %{kaname}-%{version}
 
@@ -120,7 +135,7 @@ rm -rf $RPM_BUILD_ROOT
 %post	-p /sbin/ldconfig
 %postun	-p /sbin/ldconfig
 
-%files -f %{kaname}.lang
+%files
 %defattr(644,root,root,755)
 /etc/xdg/autostart/org.kde.kdeconnect.daemon.desktop
 %attr(755,root,root) %{_bindir}/kdeconnect-app
@@ -183,6 +198,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt6/qml/org/kde/kdeconnect/RemoteKeyboard.qml
 %attr(755,root,root) %{_libdir}/qt6/qml/org/kde/kdeconnect/libkdeconnectdeclarativeplugin.so
 %{_libdir}/qt6/qml/org/kde/kdeconnect/qmldir
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
 %{_datadir}/Thunar/sendto/kdeconnect-thunar.desktop
 %{_desktopdir}/kcm_kdeconnect.desktop
 %{_desktopdir}/org.kde.kdeconnect-settings.desktop
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-kdeconnect-kde.git/commitdiff/0b1dd830618a22fcc9ac5740879b6c88b226a172



More information about the pld-cvs-commit mailing list