]> git.pld-linux.org Git - packages/xorg-util-util-macros.git/blob - xorg-util-util-macros.spec
- updated to 1.19.1
[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.19.1
12 Release:        1
13 License:        MIT
14 Group:          X11/Development/Tools
15 Source0:        https://xorg.freedesktop.org/releases/individual/util/util-macros-%{version}.tar.bz2
16 # Source0-md5:  6e76e546a4e580f15cebaf8019ef1625
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 Requires:       pkgconfig
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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.
30
31 %description -l pl.UTF-8
32 Ten pakiet zawiera makra autoconfa używane przez skrypty configure.ac
33 w innych pakietach modularnego Xorg. Jest wymagany do generowania
34 nowych wersji skryptów configure przy użyciu autoconfa.
35
36 %prep
37 %setup -q -n util-macros-%{version}
38 %{?with_manx:%patch0 -R -p1}
39 %patch1 -p1
40
41 %build
42 %{__aclocal}
43 %{__autoconf}
44 %{__automake}
45 %configure
46
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 %{__make} install \
53         DESTDIR=$RPM_BUILD_ROOT
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc COPYING ChangeLog README
61 %{_datadir}/util-macros
62 %{_aclocaldir}/xorg-macros.m4
63 %{_npkgconfigdir}/xorg-macros.pc
This page took 0.098984 seconds and 3 git commands to generate.