[packages/ka5-alligator] - new
witekfl
witekfl at pld-linux.org
Mon Apr 24 15:21:01 CEST 2023
commit 6a4e6bbe4dcf6625e1382b1875ab6d93fabfc9e2
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Mon Apr 24 15:20:39 2023 +0200
- new
ka5-alligator.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 78 insertions(+)
---
diff --git a/ka5-alligator.spec b/ka5-alligator.spec
new file mode 100644
index 0000000..732175e
--- /dev/null
+++ b/ka5-alligator.spec
@@ -0,0 +1,78 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeappsver 23.04.0
+%define kframever 5.94.0
+%define qtver 5.15.2
+%define kaname alligator
+Summary: A convergent RSS/Atom feed reader
+Name: ka5-%{kaname}
+Version: 23.04.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: 10525581fb58bb0ffb27ca9e58c646a1
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= 5.15.2
+BuildRequires: Qt5Gui-devel
+BuildRequires: Qt5Network-devel >= 5.15.9
+BuildRequires: Qt5Qml-devel >= 5.15.9
+BuildRequires: Qt5Quick-controls2-devel
+BuildRequires: Qt5Quick-devel
+BuildRequires: Qt5Sql-devel
+BuildRequires: Qt5Test
+BuildRequires: Qt5Widgets-devel
+BuildRequires: gettext-devel
+BuildRequires: kf5-extra-cmake-modules >= 5.90.0
+BuildRequires: kf5-kconfig-devel >= 5.90.0
+BuildRequires: kf5-kcoreaddons-devel >= 5.90.0
+BuildRequires: kf5-ki18n-devel >= 5.90.0
+BuildRequires: kf5-syndication-devel >= 5.90.0
+BuildRequires: kirigami-addons-devel >= 0.6
+BuildRequires: ninja
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+ExcludeArch: x32
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Alligator is a convergent RSS/Atom feed reader.
+
+%prep
+%setup -q -n %{kaname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+ -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ ..
+%ninja_build
+
+%if %{with tests}
+ctest
+%endif
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kaname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/alligator
+%{_desktopdir}/org.kde.alligator.desktop
+%{_iconsdir}/hicolor/scalable/apps/alligator.svg
+%{_datadir}/metainfo/org.kde.alligator.appdata.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-alligator.git/commitdiff/6a4e6bbe4dcf6625e1382b1875ab6d93fabfc9e2
More information about the pld-cvs-commit
mailing list