Scripted push of GNOME 47

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-calculator?expand=0&rev=138
This commit is contained in:
Bjørn Lie 2024-09-30 07:59:38 +00:00 committed by Git OBS Bridge
commit cd780683ce
8 changed files with 2953 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

19
_service Normal file
View File

@ -0,0 +1,19 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="manual">
<param name="scm">git</param>
<param name="url">https://gitlab.gnome.org/GNOME/gnome-calculator.git</param>
<param name="revision">47.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">v?(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
<!-- <param name="changesgenerate">enable</param> -->
</service>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">zst</param>
</service>
<service name="set_version" mode="manual" />
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e6e3b7ae6cf487a5f415c172e47b8b87ef198f10525cd8625493e8208696aa4a
size 12221965

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c6dc2c6e7a0843a56e9e7a60dee94098ecdb55cf85c549ccf12eac822f998202
size 12089357

2748
gnome-calculator.changes Normal file

File diff suppressed because it is too large Load Diff

4
gnome-calculator.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: gnome-calculator
version: 47.0
mtime: 1726340235
commit: e9942e9908ef1fbcd2aefb94320c2d14288ae917

152
gnome-calculator.spec Normal file
View File

@ -0,0 +1,152 @@
#
# spec file for package gnome-calculator
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 2-1_0_1
%define gcisover 1-0_0_0
Name: gnome-calculator
Version: 47.0
Release: 0
Summary: A GNOME Calculator Application
License: GPL-3.0-or-later
Group: Productivity/Scientific/Math
URL: https://wiki.gnome.org/Apps/Calculator
Source0: %{name}-%{version}.tar.zst
BuildRequires: fdupes
BuildRequires: meson >= 0.52.0
BuildRequires: mpc-devel
BuildRequires: mpfr-devel
BuildRequires: pkgconfig
BuildRequires: vala
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0) >= 2.40
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(gmodule-export-2.0)
BuildRequires: pkgconfig(gobject-2.0) >= 2.40
BuildRequires: pkgconfig(gtk4) >= 4.4.1
BuildRequires: pkgconfig(gtksourceview-5) >= 5.2.0
BuildRequires: pkgconfig(libadwaita-1) >= 1.4.alpha
BuildRequires: pkgconfig(libsoup-3.0)
BuildRequires: pkgconfig(libxml-2.0)
%description
A GNOME calculator package based on calctool and MP library.
%package -n gnome-shell-search-provider-gnome-calculator
Summary: GNOME Calculator -- Search Provider for GNOME Shell
Group: Productivity/Scientific/Math
Requires: %{name} = %{version}
Supplements: (gnome-shell and %{name})
%description -n gnome-shell-search-provider-gnome-calculator
This package contains a search provider to enable GNOME Shell to get
search results from GNOME Calculator.
%package -n libgcalc-%{sover}
Summary: Shared library for %{name}
Group: System/Libraries
%description -n libgcalc-%{sover}
This package contains a shared library for %{name}.
%package -n libgci-%{gcisover}
Summary: GNOME Calculator Library GTK Interface
Group: System/Libraries
%description -n libgci-%{gcisover}
This package contains a shared library for %{name}.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/GNOME
Requires: %{name} = %{version}
Requires: libgcalc-%{sover} = %{version}
Requires: libgci-%{gcisover} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%lang_package
%prep
%autosetup -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}%{_datadir}
#check
#meson_test
%post -n libgcalc-%{sover} -p /sbin/ldconfig
%postun -n libgcalc-%{sover} -p /sbin/ldconfig
%post -n libgci-%{gcisover} -p /sbin/ldconfig
%postun -n libgci-%{gcisover} -p /sbin/ldconfig
%files
%license COPYING
%doc NEWS
%doc %{_datadir}/help/C/%{name}
%{_bindir}/gnome-calculator
%{_bindir}/gcalccmd
%{_datadir}/metainfo/org.gnome.Calculator.appdata.xml
%{_datadir}/applications/org.gnome.Calculator.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
%{_datadir}/icons/hicolor/*/apps/org.gnome.Calculator*.svg
%{_mandir}/man1/gnome-calculator.1%{?ext_man}
%{_mandir}/man1/gcalccmd.1%{?ext_man}
%files -n gnome-shell-search-provider-gnome-calculator
%{_datadir}/dbus-1/services/org.gnome.Calculator.SearchProvider.service
%dir %{_datadir}/gnome-shell
%dir %{_datadir}/gnome-shell/search-providers
%{_datadir}/gnome-shell/search-providers/org.gnome.Calculator-search-provider.ini
%{_libexecdir}/gnome-calculator-search-provider
%files -n libgcalc-%{sover}
%{_libdir}/libgcalc-2.so.*
%files -n libgci-%{gcisover}
%{_libdir}/libgci-1.so.*
%files devel
%{_includedir}/gcalc-2/
%{_includedir}/gci-2/
%{_libdir}/libgcalc-2.so
%{_libdir}/pkgconfig/gcalc-2.pc
%{_libdir}/pkgconfig/gci-1.pc
%{_libdir}/libgci-1.so
%dir %{_datadir}/gir-1.0
%{_datadir}/gir-1.0/GCalc-2.gir
%{_datadir}/gir-1.0/GCi-1.gir
%dir %{_datadir}/vala
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/gcalc-2.*
%{_datadir}/vala/vapi/gci-1.*
%files lang -f %{name}.lang
%changelog