[packages/ka6-kontactinterface] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:24:25 CET 2024
commit 0b1b563f0385d9ed6b5b132e2f27706f3d37ee22
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:24:17 2024 +0100
- updated to 24.02.0
ka6-kontactinterface.spec | 92 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 92 insertions(+)
---
diff --git a/ka6-kontactinterface.spec b/ka6-kontactinterface.spec
new file mode 100644
index 0000000..93abbf0
--- /dev/null
+++ b/ka6-kontactinterface.spec
@@ -0,0 +1,92 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define kfver 5.53.0
+%define qtver 5.15.2
+%define kaname kontactinterface
+Summary: Kontact interface
+Name: ka6-%{kaname}
+Version: 24.02.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: ebe9eb9d15890c530c9d69482be61bc5
+URL: http://www.kde.org/
+BuildRequires: gettext-devel
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kcoreaddons-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-kparts-devel >= %{kframever}
+BuildRequires: kf6-kwindowsystem-devel >= %{kframever}
+BuildRequires: kf6-kxmlgui-devel >= %{kframever}
+BuildRequires: ninja
+BuildRequires: qt6-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Kontact interface.
+
+%description -l pl.UTF-8
+Interfejs programowy do Kontact.
+
+%package devel
+Summary: Header files for %{kaname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
+Group: X11/Development/Libraries
+Requires: %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kaname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kaname}.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+%cmake \
+ -B build \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_DOCBUNDLEDIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
+%ninja_build -C build
+
+%if %{with tests}
+ctest --test-dir build
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libKPim6KontactInterface.so.*.*
+%ghost %{_libdir}/libKPim6KontactInterface.so.6
+%{_datadir}/qlogging-categories6/kontactinterface.categories
+%{_datadir}/qlogging-categories6/kontactinterface.renamecategories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KPim6/KontactInterface
+%{_libdir}/cmake/KPim6KontactInterface
+%{_libdir}/libKPim6KontactInterface.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-kontactinterface.git/commitdiff/0b1b563f0385d9ed6b5b132e2f27706f3d37ee22
More information about the pld-cvs-commit
mailing list