[packages/ka6-neochat] - data subpackage
witekfl
witekfl at pld-linux.org
Fri Jul 5 15:50:11 CEST 2024
commit ce9a9df44edc26eec7e11bea572b8654f0e6c36c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Fri Jul 5 15:09:13 2024 +0200
- data subpackage
ka6-neochat.spec | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/ka6-neochat.spec b/ka6-neochat.spec
index 0c1ffa0..f6bade0 100644
--- a/ka6-neochat.spec
+++ b/ka6-neochat.spec
@@ -53,6 +53,7 @@ BuildRequires: rpmbuild(macros) >= 1.164
BuildRequires: shared-mime-info
BuildRequires: tar >= 1:1.22
BuildRequires: xz
+Requires: %{name}-data = %{version}-%{release}
Obsoletes: ka5-%{kaname} < %{version}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -67,6 +68,19 @@ NeoChat also make use of other KDE Frameworks as well as
[libQuotient](https://github.com/quotient-im/libQuotient), a Qt-based
SDK for the [Matrix Protocol](https://spec.matrix.org/).
+%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}
@@ -97,10 +111,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}/neochat
%attr(755,root,root) %{_libdir}/qt6/plugins/kf6/purpose/neochatplugin.so
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
%{_desktopdir}/org.kde.neochat.desktop
%{_iconsdir}/hicolor/scalable/apps/org.kde.neochat.svg
%{_iconsdir}/hicolor/scalable/apps/org.kde.neochat.tray.svg
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-neochat.git/commitdiff/ce9a9df44edc26eec7e11bea572b8654f0e6c36c
More information about the pld-cvs-commit
mailing list