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