Dominique Leuenberger
78722dcc5f
- 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. OBS-URL: https://build.opensuse.org/request/show/897161 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/libadwaita?expand=0&rev=3
97 lines
2.8 KiB
RPMSpec
97 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package libadwaita
|
|
#
|
|
# Copyright (c) 2021 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.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: 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
|
|
The aim of the Adwaita library is to help with developing UI for mobile devices using GTK/GNOME.
|
|
|
|
%package -n libadwaita-1-0
|
|
Summary: Adwaita library for mobile device UIs using GTK/GNOME
|
|
# Make the -lang package installable
|
|
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.
|
|
|
|
%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=enabled
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name}
|
|
|
|
%{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 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
|