%define url_ver %(echo %{version} | cut -d. -f1,2) Name: xfce4-dev-tools Version: 4.14.0 Release: %mkrel 1 Summary: Xfce developer tools License: GPLv2+ Group: Development/Other URL: https://www.xfce.org Source0: https://archive.xfce.org/src/xfce/%{name}/%{url_ver}/%{name}-%{version}.tar.bz2 Source10: xfce4.macros BuildRequires: intltool BuildRequires: pkgconfig(glib-2.0) Requires: intltool Requires: gettext-devel Requires: gtk-doc %description This package contains common tools required by Xfce developers and people that want to build Xfce from GIT. In addition, this package contains the Xfce developer's handbook. %prep %setup -q %build %configure2_5x %make %install %makeinstall_std # rpm helper macros install -Dpm644 %{_sourcedir}/xfce4.macros %{buildroot}%{_sys_macros_dir}/xfce4.macros %files %doc AUTHORS ChangeLog HACKING NEWS README %{_bindir}/* %{_datadir}/xfce4/dev-tools/ %{_sys_macros_dir}/xfce4.macros