]>
Commit | Line | Data |
---|---|---|
6a1ce630 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with manx # "x" suffix for manpage files | |
4 | # NOTE: FHS 2.3 says that X man pages must have .[1-8]x extensions; | |
5 | # but has been dropped in Xorg upstream and requires sed fixes to generate proper .so refs | |
6 | # (to point to man[1-8] dirs, not man[1-8]x) | |
7 | # | |
331a6509 | 8 | Summary: Autoconf macros for xorg |
ff659073 | 9 | Summary(pl.UTF-8): Makra autoconfa dla xorg |
331a6509 | 10 | Name: xorg-util-util-macros |
d1d09bf6 JB |
11 | Version: 1.19.1 |
12 | Release: 1 | |
331a6509 | 13 | License: MIT |
a01dd88f | 14 | Group: X11/Development/Tools |
d1d09bf6 JB |
15 | Source0: https://xorg.freedesktop.org/releases/individual/util/util-macros-%{version}.tar.bz2 |
16 | # Source0-md5: 6e76e546a4e580f15cebaf8019ef1625 | |
1223ff3f | 17 | Patch0: %{name}-x.patch |
f7836d36 | 18 | Patch1: %{name}-nosilent.patch |
d1d09bf6 | 19 | URL: https://xorg.freedesktop.org/ |
3d403e38 | 20 | BuildRequires: autoconf >= 2.62 |
331a6509 | 21 | BuildRequires: automake |
21c67ca9 | 22 | BuildRequires: rpmbuild(macros) >= 1.446 |
1a6059f8 | 23 | Requires: pkgconfig |
cf7bc383 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
331a6509 AM |
25 | |
26 | %description | |
6ca21b6f JB |
27 | This is a set of autoconf macros used by the configure.ac scripts in |
28 | other Xorg modular packages, and is needed to generate new versions of | |
29 | their configure scripts with autoconf. | |
331a6509 | 30 | |
81db7de6 JR |
31 | %description -l pl.UTF-8 |
32 | Ten pakiet zawiera makra autoconfa używane przez skrypty configure.ac | |
6ca21b6f | 33 | w innych pakietach modularnego Xorg. Jest wymagany do generowania |
81db7de6 | 34 | nowych wersji skryptów configure przy użyciu autoconfa. |
331a6509 AM |
35 | |
36 | %prep | |
5406610e | 37 | %setup -q -n util-macros-%{version} |
6a1ce630 | 38 | %{?with_manx:%patch0 -R -p1} |
f7836d36 | 39 | %patch1 -p1 |
331a6509 | 40 | |
331a6509 AM |
41 | %build |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__automake} | |
45 | %configure | |
1223ff3f | 46 | |
331a6509 AM |
47 | %{__make} |
48 | ||
331a6509 AM |
49 | %install |
50 | rm -rf $RPM_BUILD_ROOT | |
1223ff3f | 51 | |
331a6509 AM |
52 | %{__make} install \ |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
331a6509 AM |
55 | %clean |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
331a6509 AM |
58 | %files |
59 | %defattr(644,root,root,755) | |
6ca21b6f | 60 | %doc COPYING ChangeLog README |
6a1ce630 | 61 | %{_datadir}/util-macros |
e56b1217 | 62 | %{_aclocaldir}/xorg-macros.m4 |
239879c7 | 63 | %{_npkgconfigdir}/xorg-macros.pc |