]>
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 |
29e11750 JB |
11 | Version: 1.20.0 |
12 | Release: 1 | |
331a6509 | 13 | License: MIT |
a01dd88f | 14 | Group: X11/Development/Tools |
29e11750 JB |
15 | Source0: https://xorg.freedesktop.org/releases/individual/util/util-macros-%{version}.tar.xz |
16 | # Source0-md5: 50135407d81e2c97c2879a2ba3bac688 | |
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 |
29e11750 JB |
23 | BuildRequires: tar >= 1:1.22 |
24 | BuildRequires: xz | |
1a6059f8 | 25 | Requires: pkgconfig |
cf7bc383 | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
331a6509 | 27 | |
8b8a39f9 MK |
28 | %define _debugsource_packages 0 |
29 | ||
331a6509 | 30 | %description |
6ca21b6f JB |
31 | This is a set of autoconf macros used by the configure.ac scripts in |
32 | other Xorg modular packages, and is needed to generate new versions of | |
33 | their configure scripts with autoconf. | |
331a6509 | 34 | |
81db7de6 JR |
35 | %description -l pl.UTF-8 |
36 | Ten pakiet zawiera makra autoconfa używane przez skrypty configure.ac | |
6ca21b6f | 37 | w innych pakietach modularnego Xorg. Jest wymagany do generowania |
81db7de6 | 38 | nowych wersji skryptów configure przy użyciu autoconfa. |
331a6509 AM |
39 | |
40 | %prep | |
5406610e | 41 | %setup -q -n util-macros-%{version} |
6a1ce630 | 42 | %{?with_manx:%patch0 -R -p1} |
f7836d36 | 43 | %patch1 -p1 |
331a6509 | 44 | |
331a6509 AM |
45 | %build |
46 | %{__aclocal} | |
47 | %{__autoconf} | |
48 | %{__automake} | |
49 | %configure | |
1223ff3f | 50 | |
331a6509 AM |
51 | %{__make} |
52 | ||
331a6509 AM |
53 | %install |
54 | rm -rf $RPM_BUILD_ROOT | |
1223ff3f | 55 | |
331a6509 AM |
56 | %{__make} install \ |
57 | DESTDIR=$RPM_BUILD_ROOT | |
58 | ||
331a6509 AM |
59 | %clean |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
331a6509 AM |
62 | %files |
63 | %defattr(644,root,root,755) | |
12125617 | 64 | %doc COPYING ChangeLog README.md |
6a1ce630 | 65 | %{_datadir}/util-macros |
e56b1217 | 66 | %{_aclocaldir}/xorg-macros.m4 |
239879c7 | 67 | %{_npkgconfigdir}/xorg-macros.pc |