Switch to meson build system
This commit is contained in:
parent
e8d31a5346
commit
2a6b1db843
@ -7,15 +7,13 @@ License: LGPLv2+
|
||||
URL: http://gswitchit.sourceforge.net
|
||||
Source0: https://download.gnome.org/sources/libgnomekbd/3.28/libgnomekbd-%{version}.tar.xz
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: gtk3-devel >= 3.0.0
|
||||
BuildRequires: cairo-devel
|
||||
BuildRequires: libxklavier-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: make
|
||||
BuildRequires: meson
|
||||
|
||||
%description
|
||||
The libgnomekbd package contains a GNOME library which manages
|
||||
@ -37,18 +35,12 @@ developing applications that use libgnomekbd.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
%configure --disable-static \
|
||||
--disable-compile-warnings \
|
||||
--enable-introspection
|
||||
make %{?_smp_mflags}
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
||||
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libgnomekbdui.so.8.0.0
|
||||
%meson_install
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
@ -81,6 +73,7 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/gkbd-keyboard-disp
|
||||
%changelog
|
||||
* Sun Sep 04 2022 Kalev Lember <klember@redhat.com> - 3.28.1-1
|
||||
- Update to 3.28.1
|
||||
- Switch to meson build system
|
||||
|
||||
* Fri Sep 02 2022 Kalev Lember <klember@redhat.com> - 3.28.0-1
|
||||
- Update to 3.28.0
|
||||
|
Loading…
Reference in New Issue
Block a user