- Fix BuildRequires minimal version of gtk4 from 4.11.3 to 4.13.4

as per src/meson.build.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libadwaita?expand=0&rev=60
This commit is contained in:
Dominique Leuenberger 2024-08-08 11:24:28 +00:00 committed by Git OBS Bridge
commit 08679803a2
8 changed files with 1401 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

17
_service Normal file
View File

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

3
libadwaita-1.5.2.obscpio Normal file
View File

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

3
libadwaita-1.5.2.tar.zst Normal file
View File

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

1234
libadwaita.changes Normal file

File diff suppressed because it is too large Load Diff

4
libadwaita.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: libadwaita
version: 1.5.2
mtime: 1719579426
commit: 012125566932023509e85c2939db5c8b21c9948d

116
libadwaita.spec Normal file
View File

@ -0,0 +1,116 @@
#
# spec file for package libadwaita
#
# 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/
#
Name: libadwaita
Version: 1.5.2
Release: 0
Summary: Building blocks for modern GNOME applications
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/libadwaita
Source: %{name}-%{version}.tar.zst
BuildRequires: fdupes
BuildRequires: meson >= 0.59.0
BuildRequires: pkgconfig
BuildRequires: sassc
BuildRequires: vala
BuildRequires: pkgconfig(appstream)
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(gi-docgen)
BuildRequires: pkgconfig(glib-2.0) >= 2.72
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4) >= 4.13.4
%lang_package
%description
Building blocks for modern GNOME applications.
%package -n libadwaita-1-0
Summary: Building blocks for modern GNOME applications
# Make the -lang package installable
Provides: %{name} = %{version}
%description -n libadwaita-1-0
Building blocks for modern GNOME applications.
This package provides the shared library for libadwaita.
%package docs
Summary: Developer documentation for libadwaita
BuildArch: noarch
%description docs
Building blocks for modern GNOME applications.
This package provides the documentation for libadwaita.
%package devel
Summary: Development files for the Adwaita library
Requires: libadwaita-1-0 = %{version}
Requires: typelib-1_0-Adw-1 = %{version}
%description devel
Building blocks for modern GNOME applications.
This package provides the development files for libadwaita.
%package -n typelib-1_0-Adw-1
Summary: Introspection bindings for Adwaita
Group: System/Libraries
%description -n typelib-1_0-Adw-1
Building blocks for modern GNOME applications.
This package provides the GObject Introspection bindings for libadwaita.
%prep
%autosetup -p1
%build
%meson \
-Dexamples=false \
-Dintrospection=enabled \
-Dgtk_doc=true \
%{nil}
%meson_build
%install
%meson_install
%find_lang %{name}
%fdupes %{buildroot}%{_datadir}
%{ldconfig_scriptlets -n libadwaita-1-0}
%files lang -f %{name}.lang
%files -n libadwaita-1-0
%license COPYING
%doc README.md
%{_libdir}/libadwaita-1.so.0
%files -n typelib-1_0-Adw-1
%{_libdir}/girepository-1.0/Adw-1.typelib
%files docs
%{_datadir}/doc/%{name}-1/
%files devel
%{_includedir}/libadwaita-1/
%{_libdir}/libadwaita-1.so
%{_libdir}/pkgconfig/libadwaita-1.pc
%{_datadir}/gir-1.0/Adw-1.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/libadwaita-1.{deps,vapi}
%changelog