Upgrade to 42.1

This commit is contained in:
zhang__3125 2022-06-09 11:14:27 +08:00
parent 66efb815a5
commit ec475cded6
4 changed files with 20 additions and 20 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1,19 +1,24 @@
Name: gnome-calculator %global gtksourceview_version 5.3.0
Version: 3.38.2 %global libadwaita_version 1.0.0
Release: 2
Summary: A GNOME desktop calculator application
Name: gnome-calculator
Version: 42.1
Release: 1
Summary: A desktop calculator
License: GPLv3+ License: GPLv3+
URL: https://wiki.gnome.org/Apps/Calculator URL: https://wiki.gnome.org/Apps/Calculator
Source0: https://download.gnome.org/sources/%{name}/3.38/%{name}-%{version}.tar.xz Source0: https://download.gnome.org/sources/%{name}/42/%{name}-%{version}.tar.xz
BuildRequires: desktop-file-utils gettext itstool libmpc-devel libsoup-devel meson mpfr-devel BuildRequires: desktop-file-utils gettext itstool libmpc-devel libsoup-devel meson mpfr-devel
BuildRequires: pkgconfig(glib-2.0) pkgconfig(gtk+-3.0) pkgconfig(gtksourceview-4) pkgconfig(libxml-2.0) BuildRequires: pkgconfig(glib-2.0) pkgconfig(gtk4) pkgconfig(gtksourceview-5) >= %{gtksourceview_version} pkgconfig(libxml-2.0)
BuildRequires: /usr/bin/appstream-util vala vala-devel pkgconfig(gee-0.8) BuildRequires: /usr/bin/appstream-util vala vala-devel pkgconfig(gee-0.8)
BuildRequires: pkgconfig(libadwaita-1) >= %{libadwaita_version}
Provides: gcalctool = 6.6.2-3 Provides: gcalctool = 6.6.2-3
Obsoletes: gcalctool < 6.6.2-3 Obsoletes: gcalctool < 6.6.2-3
Requires: gtksourceview5%{?_isa} >= %{gtksourceview_version}
Requires: libadwaita%{?_isa} >= %{libadwaita_version}
%description %description
it is a powerful desktop calculator with logical, scientific it is a powerful desktop calculator with logical, scientific
@ -22,12 +27,11 @@ achieve a high degree of accuracy.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel
The gnome-calculator-devel package contains libraries and header files for The %{name}-devel package contains libraries and header files for
developing applications that use gnome-calculator. developing applications that use %{name}.
%package help %package help
Summary: Documents for gnome-calculator Summary: Documents for gnome-calculator
@ -40,22 +44,18 @@ Man pages for gnome-calculator.
%prep %prep
%autosetup -p1 %autosetup -p1
%build %build
%meson %meson
%meson_build %meson_build
%install %install
%meson_install %meson_install
%find_lang gnome-calculator --with-gnome --all-name %find_lang %{name} --with-gnome --all-name
%check %check
appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml appstream-util validate-relax --nonet %{buildroot}/%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml
desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Calculator.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Calculator.desktop
%files -f gnome-calculator.lang %files -f gnome-calculator.lang
%license COPYING %license COPYING
%doc NEWS %doc NEWS
@ -90,18 +90,18 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/org.gnome.Calculator
%files help %files help
%{_mandir}/man1/* %{_mandir}/man1/*
%changelog %changelog
* Thu May 19 2022 loong_C <loong_c@yeah.net> - 3.38.2-2 * Mon Jun 6 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 42.1-1
- fix spec changelog date - Upgrade to 42.1
* Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.2-1 * Wed Jun 16 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 3.38.2-1
- Upgrade to 3.38.2 - Upgrade to 3.38.2
- Delete 0001-Fix-compiler-errors.patch which existed in version 3.38.2 - Delete 0001-Fix-compiler-errors.patch which existed in version 3.38.2
- Add sub package gnome-calculator-devel - Add sub package gnome-calculator-devel
* Wed Jun 10 2020 lizhenhua <lizhenhua21@huawei.com> - 3.30.1-3 * Wed June 10 2020 lizhenhua <lizhenhua21@huawei.com> - 3.30.1-3
- Add patch to fix compiler errors - Add patch to fix compiler errors
* Wed Nov 27 2019 huyan <hu.huyan@huawei.com> - 3.30.1-2 * Wed Nov 27 2019 huyan <hu.huyan@huawei.com> - 3.30.1-2
- Package Initialization - Package Initialization

View File

@ -1,4 +1,4 @@
version_control: gitlab.gnome version_control: gitlab.gnome
src_repo: gnome-calculator src_repo: gnome-calculator
tag_prefix: GCALCTOOL_ tag_prefix: GCALCTOOL_
seperator: _ separator: _