[packages/ka6-tokodon] - data subpackage

witekfl witekfl at pld-linux.org
Fri Jul 5 15:45:08 CEST 2024


commit ae7d01cd971277ff84c34ec5416c7d0863bd08b6
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Jul 5 15:03:42 2024 +0200

    - data subpackage

 ka6-tokodon.spec | 20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)
---
diff --git a/ka6-tokodon.spec b/ka6-tokodon.spec
index 9e92c7a..b90998d 100644
--- a/ka6-tokodon.spec
+++ b/ka6-tokodon.spec
@@ -50,6 +50,7 @@ BuildRequires:	mpvqt-devel
 BuildRequires:	ninja
 BuildRequires:	pkgconfig
 BuildRequires:	shared-mime-info
+Requires:	%{name}-data = %{version}-%{release}
 Obsoletes:	ka5-%{kaname} < %{version}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -59,6 +60,20 @@ A modern Mastodon(https://joinmastodon.org/) client.
 %prep
 %setup -q -n %{kaname}-%{version}
 
+%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}.
+
+
 %build
 %cmake -B build \
 	-G Ninja \
@@ -78,10 +93,13 @@ rm -rf $RPM_BUILD_ROOT
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files -f %{kaname}.lang
+%files
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/tokodon
 %attr(755,root,root) %{_libdir}/qt6/plugins/kf6/purpose/tokodonplugin.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
 %{_desktopdir}/org.kde.tokodon.desktop
 %{_iconsdir}/hicolor/scalable/apps/org.kde.tokodon.svg
 %{_iconsdir}/hicolor/scalable/actions/*.svg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-tokodon.git/commitdiff/ae7d01cd971277ff84c34ec5416c7d0863bd08b6



More information about the pld-cvs-commit mailing list