Accepting request 897168 from GNOME:Factory

- Update to version 1.0.0~alpha.1 (factually a downgrade, but
  upstream is still in prorgress of finalizing their versioning
  scheme):
  + First official libadwaita 1 alpha.
- Enable introspection support:
  + Pass -Dintrospection=enabled to meson.
  + Create new typelib-1_0-Adw-1 sub package. (forwarded request 897161 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/897168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libadwaita?expand=0&rev=2
This commit is contained in:
Dominique Leuenberger 2021-06-03 22:33:52 +00:00 committed by Git OBS Bridge
commit e65b133841
6 changed files with 44 additions and 28 deletions

View File

@ -3,8 +3,8 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.gnome.org/GNOME/libadwaita.git</param>
<param name="scm">git</param>
<param name="revision">main</param>
<param name="versionformat">1.1.0~%cd</param>
<param name="revision">1.0.0-alpha.1</param>
<param name="versionformat">1.0.0~alpha.1</param>
</service>
<service mode="buildtime" name="tar" />
<service mode="buildtime" name="recompress">

View File

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

View File

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

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jun 3 10:19:04 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
- Update to version 1.0.0~alpha.1 (factually a downgrade, but
upstream is still in prorgress of finalizing their versioning
scheme):
+ First official libadwaita 1 alpha.
- Enable introspection support:
+ Pass -Dintrospection=enabled to meson.
+ Create new typelib-1_0-Adw-1 sub package.
-------------------------------------------------------------------
Sat May 15 00:08:38 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,5 +1,5 @@
name: libadwaita
version: 1.1.0~20210512
mtime: 1620817739
commit: a1e8587d623791d3c992a934c5feb46ba209432a
version: 1.0.0~alpha.1
mtime: 1622199020
commit: faa9f26a2b8a89923c0b83d42e84078f672c19ec

View File

@ -17,17 +17,19 @@
Name: libadwaita
Version: 1.1.0~20210512
Version: 1.0.0~alpha.1
Release: 0
Summary: Adwaita library for mobile device UIs using GTK/GNOME
License: LGPL-2.1-or-later
URL: https://gitlab.gnome.org/GNOME/libadwaita
Source: %{name}-%{version}.tar.xz
BuildRequires: vala sassc meson
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gtk4)
Source: %{name}-%{version}.tar.xz
BuildRequires: meson
BuildRequires: sassc
BuildRequires: vala
BuildRequires: pkgconfig(fribidi)
BuildRequires: pkgconfig(glib-2.0) >= 2.44
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk4)
%lang_package
%description
@ -36,7 +38,7 @@ The aim of the Adwaita library is to help with developing UI for mobile devices
%package -n libadwaita-1-0
Summary: Adwaita library for mobile device UIs using GTK/GNOME
# Make the -lang package installable
Provides: %{name} = %{version}
Provides: %{name} = %{version}
%description -n libadwaita-1-0
The aim of the Adwaita library is to help with developing UI for mobile devices using GTK/GNOME.
@ -44,17 +46,27 @@ The aim of the Adwaita library is to help with developing UI for mobile devices
%package devel
Summary: Development files for the Adwaita library
Requires: libadwaita-1-0 = %{version}
Requires: typelib-1_0-Adw-1 = %{version}
%description devel
The aim of the Adwaita library is to help with developing UI for mobile devices using GTK/GNOME.
%package -n typelib-1_0-Adw-1
Summary: Introspection bindings for Adwaita
Group: System/Libraries
%description -n typelib-1_0-Adw-1
The aim of the Adwaita library is to help with developing UI for mobile devices using GTK/GNOME.
This package provides the GObject Introspection bindings for Adwaita.
%prep
%setup -q
%build
%meson \
-Dexamples=false \
-Dintrospection=disabled
-Dintrospection=enabled
%meson_build
%install
@ -70,22 +82,15 @@ The aim of the Adwaita library is to help with developing UI for mobile devices
%doc README.md
%{_libdir}/libadwaita-1.so.0
%files -n typelib-1_0-Adw-1
%{_libdir}/girepository-1.0/Adw-1.typelib
%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