]> git.pld-linux.org Git - packages/xorg-util-util-macros.git/blob - xorg-util-util-macros.spec
- updated to 1.20.0
[packages/xorg-util-util-macros.git] / xorg-util-util-macros.spec
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 #
8 Summary:        Autoconf macros for xorg
9 Summary(pl.UTF-8):      Makra autoconfa dla xorg
10 Name:           xorg-util-util-macros
11 Version:        1.20.0
12 Release:        1
13 License:        MIT
14 Group:          X11/Development/Tools
15 Source0:        https://xorg.freedesktop.org/releases/individual/util/util-macros-%{version}.tar.xz
16 # Source0-md5:  50135407d81e2c97c2879a2ba3bac688
17 Patch0:         %{name}-x.patch
18 Patch1:         %{name}-nosilent.patch
19 URL:            https://xorg.freedesktop.org/
20 BuildRequires:  autoconf >= 2.62
21 BuildRequires:  automake
22 BuildRequires:  rpmbuild(macros) >= 1.446
23 BuildRequires:  tar >= 1:1.22
24 BuildRequires:  xz
25 Requires:       pkgconfig
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _debugsource_packages   0
29
30 %description
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.
34
35 %description -l pl.UTF-8
36 Ten pakiet zawiera makra autoconfa używane przez skrypty configure.ac
37 w innych pakietach modularnego Xorg. Jest wymagany do generowania
38 nowych wersji skryptów configure przy użyciu autoconfa.
39
40 %prep
41 %setup -q -n util-macros-%{version}
42 %{?with_manx:%patch0 -R -p1}
43 %patch1 -p1
44
45 %build
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files
63 %defattr(644,root,root,755)
64 %doc COPYING ChangeLog README.md
65 %{_datadir}/util-macros
66 %{_aclocaldir}/xorg-macros.m4
67 %{_npkgconfigdir}/xorg-macros.pc
This page took 0.076432 seconds and 3 git commands to generate.