switch from autotools to meson build system Signed-off-by: Filipe Rosset <filiperosset@fedoraproject.org>
44 lines
918 B
RPMSpec
44 lines
918 B
RPMSpec
Name: xrdb
|
|
Version: 1.2.3
|
|
Release: %autorelease
|
|
Summary: X server resource database utility
|
|
|
|
License: HPND-DEC AND MIT-open-group
|
|
URL: https://www.x.org
|
|
Source0: https://www.x.org/pub/individual/app/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: cpp
|
|
BuildRequires: gcc
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig(x11)
|
|
BuildRequires: pkgconfig(xmuu)
|
|
BuildRequires: pkgconfig(xorg-macros) >= 1.8
|
|
BuildRequires: pkgconfig(xproto) >= 7.0.25
|
|
Recommends: cpp
|
|
|
|
|
|
%description
|
|
xrdb is used to get or set the contents of the RESOURCE_MANAGER property on
|
|
the root window of screen 0, or the SCREEN_RESOURCES property on the
|
|
root window of any or all screens, or everything combined.
|
|
|
|
%prep
|
|
%autosetup
|
|
|
|
%build
|
|
%meson -Dcpp=%{_bindir}/cpp
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
|
|
%check
|
|
%meson_test
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/%{name}
|
|
%{_mandir}/man1/%{name}.1*
|
|
|
|
%changelog
|
|
%autochangelog
|