[packages/ka6-eventviews] - updated to 24.02.0
witekfl
witekfl at pld-linux.org
Mon Mar 4 18:25:33 CET 2024
commit b9b316f845b292a973865ebfe52ce41e5fd01e9e
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Mar 4 18:25:24 2024 +0100
- updated to 24.02.0
ka6-eventviews.spec | 106 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 106 insertions(+)
---
diff --git a/ka6-eventviews.spec b/ka6-eventviews.spec
new file mode 100644
index 0000000..8035f60
--- /dev/null
+++ b/ka6-eventviews.spec
@@ -0,0 +1,106 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 24.02.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname eventviews
+Summary: Library for creating events
+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: 16a72d472425eef244dfe6d260e9ea20
+URL: http://www.kde.org/
+BuildRequires: Qt6Core-devel >= %{qtver}
+BuildRequires: Qt6Gui-devel >= 5.11.1
+BuildRequires: Qt6Test-devel
+BuildRequires: Qt6UiTools-devel
+BuildRequires: Qt6Widgets-devel
+BuildRequires: cmake >= 3.20
+BuildRequires: gettext-devel
+BuildRequires: ka6-akonadi-calendar-devel >= %{kdeappsver}
+BuildRequires: ka6-akonadi-devel >= %{kdeappsver}
+BuildRequires: ka6-calendarsupport-devel >= %{kdeappsver}
+BuildRequires: ka6-kcalutils-devel >= %{kdeappsver}
+BuildRequires: ka6-kmime-devel >= %{kdeappsver}
+BuildRequires: ka6-libkdepim-devel >= %{kdeappsver}
+BuildRequires: kdiagram-devel >= 3.0.1
+BuildRequires: kf6-extra-cmake-modules >= %{kframever}
+BuildRequires: kf6-kcalendarcore-devel >= %{kframever}
+BuildRequires: kf6-kcodecs-devel >= %{kframever}
+BuildRequires: kf6-kcompletion-devel >= %{kframever}
+BuildRequires: kf6-kguiaddons-devel >= %{kframever}
+BuildRequires: kf6-kholidays-devel >= %{kframever}
+BuildRequires: kf6-ki18n-devel >= %{kframever}
+BuildRequires: kf6-kiconthemes-devel >= %{kframever}
+BuildRequires: kf6-kservice-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
+It contains lib for creating events.
+
+%description -l pl.UTF-8
+Pakiet zawiera bibliotekę do tworzenia zdarzeń.
+
+%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}/libKPim6EventViews.so.*.*
+%ghost %{_libdir}/libKPim6EventViews.so.6
+%{_datadir}/qlogging-categories6/eventviews.categories
+%{_datadir}/qlogging-categories6/eventviews.renamecategories
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KPim6/EventViews
+%{_libdir}/cmake/KPim6EventViews
+%{_libdir}/libKPim6EventViews.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka6-eventviews.git/commitdiff/b9b316f845b292a973865ebfe52ce41e5fd01e9e
More information about the pld-cvs-commit
mailing list