]> git.pld-linux.org Git - packages/xorg-util-util-macros.git/blob - xorg-util-util-macros.spec
1cbfc4bbd9ffb249aeb0d6e30520d529dda9eb2e
[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.3
12 Release:        2
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:  4be6df7e6af52e28e13dc533244eb9d7
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 %define         _debugsource_packages   0
27
28 %description
29 This is a set of autoconf macros used by the configure.ac scripts in
30 other Xorg modular packages, and is needed to generate new versions of
31 their configure scripts with autoconf.
32
33 %description -l pl.UTF-8
34 Ten pakiet zawiera makra autoconfa używane przez skrypty configure.ac
35 w innych pakietach modularnego Xorg. Jest wymagany do generowania
36 nowych wersji skryptów configure przy użyciu autoconfa.
37
38 %prep
39 %setup -q -n util-macros-%{version}
40 %{?with_manx:%patch0 -R -p1}
41 %patch1 -p1
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure
48
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc COPYING ChangeLog README.md
63 %{_datadir}/util-macros
64 %{_aclocaldir}/xorg-macros.m4
65 %{_npkgconfigdir}/xorg-macros.pc
This page took 0.037709 seconds and 2 git commands to generate.