[packages/kp5-aura-browser] - new
witekfl
witekfl at pld-linux.org
Wed Oct 12 14:47:11 CEST 2022
commit 594ae4ea2c676d75899bea817146d6ddc94cd29d
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Wed Oct 12 14:46:55 2022 +0200
- new
kp5-aura-browser.spec | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 61 insertions(+)
---
diff --git a/kp5-aura-browser.spec b/kp5-aura-browser.spec
new file mode 100644
index 0000000..44f62c0
--- /dev/null
+++ b/kp5-aura-browser.spec
@@ -0,0 +1,61 @@
+#
+# Conditional build:
+%bcond_with tests # build with tests
+%define kdeplasmaver 5.26.0
+%define qtver 5.15.2
+%define kpname aura-browser
+Summary: Browser for a fully immersed Big Screen experience
+Name: kp5-%{kpname}
+Version: 5.26.0
+Release: 1
+License: GPL v2+/LGPL v2.1+
+Group: X11/Libraries
+Source0: https://download.kde.org/stable/plasma/%{kdeplasmaver}/%{kpname}-%{version}.tar.xz
+# Source0-md5: 2bc624464de7952f58dde7b61ac9a9b8
+URL: http://www.kde.org/
+BuildRequires: cmake >= 2.8.12
+BuildRequires: kf5-extra-cmake-modules
+BuildRequires: ninja
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Browser for a fully immersed Big Screen experience allowing you to
+navigate the world wide web using just your remote control.
+
+%prep
+%setup -q -n %{kpname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake -G Ninja \
+ %{!?with_tests:-DBUILD_TESTING=OFF} \
+ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+ -DHTML_INSTALL_DIR=%{_kdedocdir} \
+ ..
+%ninja_build
+
+%if %{with tests}
+ctest
+%endif
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%ninja_install -C build
+
+%find_lang %{kpname} --all-name --with-kde
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f %{kpname}.lang
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/aura-browser
+%{_desktopdir}/org.aura.browser.desktop
+%{_iconsdir}/hicolor/128x128/apps/aura-browser.png
+%{_iconsdir}/hicolor/256x256/apps/aura-browser.png
+%{_datadir}/metainfo/org.kde.invent.aura_browser.metainfo.xml
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kp5-aura-browser.git/commitdiff/594ae4ea2c676d75899bea817146d6ddc94cd29d
More information about the pld-cvs-commit
mailing list