-# $Revision: 1.4 $Date: 2005-03-15 23:30:15 $
-%define _rel cvs
Summary: Xfce development tools
-Summary(pl): Narzêdzia programistyczne Xfce
+Summary(pl.UTF-8): Narzędzia programistyczne Xfce
Name: xfce4-dev-tools
-Version: 4.3.0
-Release: 0.%{_rel}.1
+Version: 4.18.1
+Release: 1
License: GPL v2
Group: Development/Building
-Source0: http://www.xfce.org/~benny/trials/%{name}-%{version}%{_rel}.tar.gz
-# Source0-md5: dcdea5e5b5215687e72f080f766c5b07
-URL: http://www.xfce.org/
-Requires: libxfce4util >= 4.2
+Source0: https://archive.xfce.org/src/xfce/xfce4-dev-tools/4.18/%{name}-%{version}.tar.bz2
+# Source0-md5: 69b4cd255a0b8f12bbdc9b10c433b223
+URL: https://xfce.org/~benny/projects/xfce4-dev-tools/
+BuildRequires: automake >= 1:1.11
+BuildRequires: glib2-devel >= 1:2.50.0
+BuildRequires: pkgconfig
+Requires: glib2 >= 1:2.50.0
+Conflicts: autoconf < 2.60
+Conflicts: pkgconfig < 1:0.9.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
The Xfce development tools are a collection of tools and macros for
-Xfce developers and people that want to build Xfce from CVS. In
+Xfce developers and people that want to build Xfce from Git. In
addition it contains the Xfce developer's handbook.
-%description -l pl
-Narzêdzia programistyczne Xfce s± zbiorem programów oraz makr
-przeznaczonych dla programistów Xfce oraz ludzi którzy chc± zbudowaæ
-Xfce z CVS-u. Dodatkowo zawiera podrêcznik programisty Xfce.
+%description -l pl.UTF-8
+Narzędzia programistyczne Xfce są zbiorem programów oraz makr
+przeznaczonych dla programistów Xfce oraz ludzi którzy chcą zbudować
+Xfce z repozytorium Git. Dodatkowo zawiera podręcznik programisty
+Xfce.
%prep
-%setup -q -n %{name}-%{version}%{_rel}
+%setup -q
+%{__sed} -i '1s,/usr/bin/env bash$,%{__bash},' \
+ helpers/{xfce-get-release-notes,xfce-update-news,xfce-do-release,xfce-get-translations}
%build
-%configure
+%configure \
+ --disable-silent-rules
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
+ DESTDIR=$RPM_BUILD_ROOT \
+ macrodir=%{_aclocaldir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog NEWS README
-%attr(755,root,root) %{_bindir}/*
-%{_datadir}/xfce4/dev-tools
+%doc AUTHORS ChangeLog HACKING NEWS
+%{_mandir}/man1/xdt-csource.1*
+%attr(755,root,root) %{_bindir}/xdt-autogen
+%attr(755,root,root) %{_bindir}/xdt-csource
+%attr(755,root,root) %{_bindir}/xfce-build
+%attr(755,root,root) %{_bindir}/xfce-do-release
+%attr(755,root,root) %{_bindir}/xfce-get-release-notes
+%attr(755,root,root) %{_bindir}/xfce-get-translations
+%attr(755,root,root) %{_bindir}/xfce-update-news
+%{_aclocaldir}/xdt-*.m4