File xfce4-dev-tools.spec of Package xfce4-dev-tools

#
# spec file for package xfce4-dev-tools
#
# Copyright (c) 2020-2023 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/
#


%bcond_with git
Name:           xfce4-dev-tools
Version:        4.18.1
Release:        0
Summary:        Xfce Development Tools
License:        GPL-2.0-or-later
Group:          Development/Tools/Other
URL:            https://www.xfce.org/
Source0:        https://archive.xfce.org/src/xfce/xfce4-dev-tools/4.18/%{name}-%{version}.tar.bz2
BuildRequires:  pkgconfig(glib-2.0) >= 2.66.0
BuildRequires:  xsltproc
Requires:       autoconf
Requires:       automake
Requires:       intltool
Requires:       libtool
Requires:       make
Requires:       xsltproc

%description
The Xfce development tools are a collection of tools and macros for
Xfce developers and people that want to build unreleased development
versions of Xfce.

%prep
%autosetup

%build
%if %{with git}
NOCONFIGURE=1 ./autogen.sh
%configure \
    --enable-maintainer-mode
%else
%configure
%endif
%make_build

%install
%make_install

%files
%doc AUTHORS ChangeLog HACKING NEWS README.md
%license COPYING
%{_bindir}/xdt-autogen
%{_bindir}/xfce-build
%{_bindir}/xdt-csource
%{_bindir}/xfce-do-release
%{_bindir}/xfce-get-release-notes
%{_bindir}/xfce-get-translations
%{_bindir}/xfce-update-news
%dir %{_datadir}/aclocal
%{_datadir}/aclocal/xdt-*
%{_mandir}/man1/xdt-csource.1.gz

%changelog
openSUSE Build Service is sponsored by