[packages/qalculate-qt] - new 5.1.0

mrozowik mrozowik at pld-linux.org
Tue May 7 16:57:08 CEST 2024


commit a5f0ad8bcd2a5009b75eff145598ede208d6ba88
Author: Krzysztof Mrozowicz <mrozowik at pld-linux.org>
Date:   Tue May 7 14:21:39 2024 +0000

    - new 5.1.0

 qalculate-qt.spec | 71 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 71 insertions(+)
---
diff --git a/qalculate-qt.spec b/qalculate-qt.spec
new file mode 100644
index 0000000..9517d13
--- /dev/null
+++ b/qalculate-qt.spec
@@ -0,0 +1,71 @@
+Summary:	Modern desktop calculator
+Summary(pl.UTF-8):	Nowoczesny kalkulator
+Name:		qalculate-qt
+Version:	5.1.0
+Release:	0.1
+License:	GPL
+Group:		Applications/Math
+Source0:	https://github.com/Qalculate/qalculate-qt/releases/download/v%{version}/%{name}-%{version}.tar.gz
+# Source0-md5:	2bd1232a4ad9e996c588777d72427417
+URL:		https://qalculate.github.io/
+BuildRequires:	Qt6Core-devel
+BuildRequires:	Qt6Gui-devel
+BuildRequires:	Qt6Network-devel
+BuildRequires:	Qt6Widgets-devel
+BuildRequires:	libqalculate-devel >= 5.1.0
+BuildRequires:	libxml2-devel
+BuildRequires:	qt6-build
+BuildRequires:	rpmbuild(macros) >= 2.000
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	gtk-update-icon-cache
+Requires:	libqalculate >= 5.1.0
+Suggests:	gnuplot
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Qalculate is a modern multi-purpose desktop calculator. It is small
+and simple to use but with much power. Features include arbitrary
+precision, plotting, and a graphical interface (QT).
+
+%description -l pl.UTF-8
+Qalculate jest nowoczesnym, wielozadaniowym kalkulatorem. Jest mały i
+prosty w użyciu, lecz posiada duże możliwości. Podstawowymi cechami
+programu są nieograniczona precyzja, możliwość rysowania wykresów i
+graficzny interfejs (QT).
+
+%prep
+%setup -q
+
+%build
+%qmake_qt6 PREFIX=%{_prefix}
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	INSTALL_ROOT=$RPM_BUILD_ROOT
+
+%find_lang %{name} --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database
+%update_icon_cache hicolor
+
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc AUTHORS README
+%attr(755,root,root) %{_bindir}/qalculate-qt
+%dir %{_datadir}/qalculate-qt
+%dir %{_datadir}/qalculate-qt/translations
+%{_desktopdir}/io.github.Qalculate.qalculate-qt.desktop
+%{_mandir}/man1/qalculate-qt.1.*
+%{_iconsdir}/hicolor/*x*/apps/qalculate-qt.png
+%{_iconsdir}/hicolor/scalable/apps/qalculate-qt.svg
+%{_datadir}/metainfo/io.github.Qalculate.qalculate-qt.metainfo.xml
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/qalculate-qt.git/commitdiff/a5f0ad8bcd2a5009b75eff145598ede208d6ba88



More information about the pld-cvs-commit mailing list