xfce4-dev-tools/xfce4-dev-tools.spec
2020-11-27 13:49:58 +08:00

56 lines
1.5 KiB
RPMSpec

%global xfceversion 4.14
Name: xfce4-dev-tools
Version: 4.14.0
Release: 2
Summary: Xfce developer tools
License: GPLv2+
#Group: Development/Libraries
URL: http://xfce.org/~benny/projects/xfce4-dev-tools/
Source0: http://archive.xfce.org/src/xfce/xfce4-dev-tools/%{xfceversion}/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildArch: noarch
BuildRequires: gettext-devel
BuildRequires: glib2-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libtool
BuildRequires: make
Requires: autoconf
Requires: automake
Requires: intltool
Requires: gawk
Requires: git
Requires: glib2-devel
Requires: grep
Requires: gtk-doc
%description
xfce4-dev-tools provide an easy way to handle the setup and maintenance of a
projects build framework. It's required to build Xfce applications from git.
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} INSTALL='install -p'
mkdir $RPM_BUILD_ROOT%{_datadir}/aclocal/
install -p -m 644 m4macros/xdt*.m4 $RPM_BUILD_ROOT%{_datadir}/aclocal/
%files
%doc AUTHORS COPYING ChangeLog HACKING NEWS README
%{_bindir}/xdt-autogen
%{_bindir}/xdt-csource
%dir %{_datadir}/xfce4/
%{_datadir}/xfce4/dev-tools/
%{_datadir}/aclocal/*
%changelog
* Sun Jul 12 2020 Dillon Chen <dillon.chen@turbolinux.com.cn> - 4.14.0-1
- Init package