[packages/ka6-merkuro] - data subpackage

witekfl witekfl at pld-linux.org
Fri Jul 5 15:54:27 CEST 2024


commit 609fcde82529836feb49cf202f926bdff6326d6c
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date:   Fri Jul 5 15:13:52 2024 +0200

    - data subpackage

 ka6-merkuro.spec | 22 ++++++++++++++++++++--
 1 file changed, 20 insertions(+), 2 deletions(-)
---
diff --git a/ka6-merkuro.spec b/ka6-merkuro.spec
index 8a97445..0502a9e 100644
--- a/ka6-merkuro.spec
+++ b/ka6-merkuro.spec
@@ -51,6 +51,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)
 
@@ -60,6 +61,20 @@ that uses Akonadi. It lets you add, edit and delete events and tasks
 from local and remote accounts of your choice, while keeping changes
 synchronised across your Plasma desktop or phone.
 
+%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}
 
@@ -85,7 +100,7 @@ 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}/merkuro-calendar
 %attr(755,root,root) %{_bindir}/merkuro-contact
@@ -180,6 +195,10 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/qt6/qml/org/kde/merkuro/mail/desktopactions/openmbox.qml
 %{_libdir}/qt6/qml/org/kde/merkuro/mail/kde-qmlmodule.version
 %{_libdir}/qt6/qml/org/kde/merkuro/mail/merkuro_mail_plugin.qmltypes
+%{_libdir}/qt6/qml/org/kde/merkuro/calendar/DatePopupSingleton.qml
+
+%files data -f %{kaname}.lang
+%defattr(644,root,root,755)
 %{_desktopdir}/org.kde.merkuro.calendar.desktop
 %{_desktopdir}/org.kde.merkuro.contact.desktop
 %{_desktopdir}/org.kde.merkuro.mail.desktop
@@ -207,4 +226,3 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/qlogging-categories6/akonadi.quick.categories
 %{_datadir}/qlogging-categories6/merkuro.categories
 %{_datadir}/qlogging-categories6/merkuro.contact.categories
-%{_libdir}/qt6/qml/org/kde/merkuro/calendar/DatePopupSingleton.qml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ka6-merkuro.git/commitdiff/609fcde82529836feb49cf202f926bdff6326d6c



More information about the pld-cvs-commit mailing list