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