代码拉取完成,页面将自动刷新
同步操作将从 OpenCloudOS Stream/libqalculate 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
%define _unpackaged_files_terminate_build 0
%global srcnm Qalculate
%global libversion 22
%global libsymlink 20.1
Summary: Multi-purpose calculator library
Name: libqalculate
Version: 4.9.0
Release: 2%{?dist}
License: GPLv2+
URL: https://qalculate.github.io/
Source0: https://github.com/%{srcnm}/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: glib2-devel
BuildRequires: cln-devel
BuildRequires: intltool
BuildRequires: libxml2-devel
BuildRequires: readline-devel
BuildRequires: ncurses-devel
BuildRequires: curl-devel
BuildRequires: libicu-devel
BuildRequires: mpfr-devel
BuildRequires: perl(XML::Parser)
BuildRequires: gettext
BuildRequires: perl(Getopt::Long)
BuildRequires: make
%description
This library underpins the Qalculate! multi-purpose desktop calculator for
GNU/Linux
%package devel
Summary: Development tools for the Qalculate calculator library
Requires: %{name} = %{version}-%{release}
Requires: glib2-devel
Requires: libxml2-devel
Requires: cln-devel
Requires: mpfr-devel
%description devel
The libqalculate-devel package contains the header files needed for development
with libqalculate.
%package -n qalculate
Summary: Multi-purpose calculator, text mode interface
Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
Provides: qalc
%description -n qalculate
Qalculate! is a multi-purpose desktop calculator for GNU/Linux. It is
small and simple to use but with much power and versatility underneath.
Features include customizable functions, units, arbitrary precision, plotting.
This package provides the text-mode interface for Qalculate! The GTK and QT
frontends are provided by qalculate-gtk and qalculate-kde packages resp.
%prep
%setup -q
%build
%configure --disable-static
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%make_build
%install
%make_install
%find_lang %{name}
rm -f %{buildroot}/%{_libdir}/*.la
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f %{name}.lang
%doc AUTHORS ChangeLog TODO
%license COPYING
%{_libdir}/libqalculate.so.%{libversion}
%{_libdir}/libqalculate.so.%{libversion}.%{libsymlink}
%{_datadir}/qalculate/
%files devel
%{_libdir}/libqalculate.so
%{_libdir}/pkgconfig/libqalculate.pc
%{_includedir}/libqalculate/
%files -n qalculate
%{_bindir}/qalc
%{_mandir}/man1/qalc.1*
%changelog
* Thu Jan 09 2025 bbrucezhang <bbrucezhang@tencent.com> - 4.9.0-2
- Rebuild for icu-74.2
* Wed Jul 24 2024 OpenCloudOS Release Engineering <releng@opencloudos.tech> - 4.9.0-1
- initial build
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。