]> git.pld-linux.org Git - packages/xorg-util-makedepend.git/blob - xorg-util-makedepend.spec
- updated to 1.0.8
[packages/xorg-util-makedepend.git] / xorg-util-makedepend.spec
1 Summary:        makedepend utility - create dependencies in makefiles
2 Summary(pl.UTF-8):      Narzędzie makedepend - tworzenie zależności w makefile'ach
3 Name:           xorg-util-makedepend
4 Version:        1.0.8
5 Release:        1
6 License:        MIT
7 Group:          X11/Development/Tools
8 Source0:        https://xorg.freedesktop.org/releases/individual/util/makedepend-%{version}.tar.xz
9 # Source0-md5:  6c7a1cc70ba390be51eee5d2408c306a
10 URL:            https://xorg.freedesktop.org/
11 BuildRequires:  autoconf >= 2.60
12 BuildRequires:  automake
13 BuildRequires:  pkgconfig >= 1:0.19
14 BuildRequires:  tar >= 1:1.22
15 BuildRequires:  xorg-proto-xproto-devel >= 7.0.17
16 BuildRequires:  xorg-util-util-macros >= 1.8
17 BuildRequires:  xz
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 The makedepend program reads each sourcefile in sequence and parses it
22 like a C-preprocessor, processing all "#include", "#define", "#undef",
23 "#ifdef", "#ifndef", "#endif", "#if", "#elif" and "#else" directives
24 so that it can correctly tell which #include directives would be used
25 in a compilation. Any "#include", directives can reference files
26 having other "#include" directives, and parsing will occur in these
27 files as well.
28
29 Every file that a sourcefile includes, directly or indirectly, is what
30 makedepend calls a dependency. These dependencies are then written to
31 a makefile in such a way that make will know which object files
32 must be recompiled when a dependency has changed.
33
34 %description -l pl.UTF-8
35 Program makedepend czyta po kolei wszystkie pliki źródłowe i analizuje
36 je tak, jak robi to preprocesor C, przetwarzając wszystkie dyrektywy
37 "#include", "#define", "#undef", "#ifdef", "#ifndef", "#endif", "#if",
38 "#elif" aby móc stwierdzić, które dyrektywy "#include" będą użyte
39 podczas kompilacji. Każda dyrektywa "#include" może odnosić się do
40 plików mających kolejne dyrektywy "#include", a wtedy te pliki będą
41 także przeanalizowane.
42
43 Każdy plik dołączany przez plik źródłowy, bezpośrednio lub pośrednio,
44 jest nazywany przez makedepend zależnością. Zależności te są
45 dopisywane do pliku makefile w taki sposób, aby program make wiedział,
46 które pliki wynikowe muszą być przekompilowane w przypadku zmiany
47 którejś zależności.
48
49 %prep
50 %setup -q -n makedepend-%{version}
51
52 %build
53 %{__aclocal}
54 %{__autoconf}
55 %{__autoheader}
56 %{__automake}
57 %configure
58
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63
64 %{__make} install \
65         DESTDIR=$RPM_BUILD_ROOT
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %doc AUTHORS COPYING ChangeLog README.md
73 %attr(755,root,root) %{_bindir}/makedepend
74 %{_mandir}/man1/makedepend.1*
This page took 0.145584 seconds and 3 git commands to generate.