/
xfce4-dev-tools.spec
47 lines (39 loc) · 1.12 KB
/
xfce4-dev-tools.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
%define url_ver %(echo %{version} | cut -c 1-4)
Summary: Xfce developer tools
Name: xfce4-dev-tools
Version: 4.18.1
Release: 2
License: GPLv2+
Group: Development/Other
URL: https://www.xfce.org
Source0: https://archive.xfce.org/src/xfce/xfce4-dev-tools/%{url_ver}/%{name}-%{version}.tar.bz2
Source1: xfce.macros
BuildRequires: automake
BuildRequires: intltool
BuildRequires: xsltproc
BuildRequires: pkgconfig(glib-2.0)
Provides: xfce-dev-tools
Requires: intltool
Requires: gtk-doc
Requires: autoconf
%description
This package contains common tools required by Xfce developers and people
that want to build Xfce from SVN. In addition, this package contains the
Xfce developer's handbook.
%files
%doc AUTHORS ChangeLog HACKING NEWS README.md
%{_bindir}/*
%{_sys_macros_dir}/xfce4.macros
%{_datadir}/aclocal/*.m4
%doc %{_mandir}/man1/xdt-csource.1*
#---------------------------------------------------------------------------
%prep
%autosetup -p1
%build
%configure
%make_build
%install
%make_install
# rpm helper macros
install -dm 0755 %{buildroot}%{_sys_macros_dir}/
install -pm 0644 %{SOURCE1} %{buildroot}%{_sys_macros_dir}/xfce4.macros