]>
Commit | Line | Data |
---|---|---|
a471843f | 1 | Summary: makedepend utility - create dependencies in makefiles |
7cd5c897 | 2 | Summary(pl.UTF-8): Narzędzie makedepend - tworzenie zależności w makefile'ach |
1c16c86c | 3 | Name: xorg-util-makedepend |
c5255809 | 4 | Version: 1.0.8 |
b15a360b | 5 | Release: 1 |
1c16c86c JB |
6 | License: MIT |
7 | Group: X11/Development/Tools | |
150cb24c | 8 | Source0: https://xorg.freedesktop.org/releases/individual/util/makedepend-%{version}.tar.xz |
c5255809 | 9 | # Source0-md5: 6c7a1cc70ba390be51eee5d2408c306a |
b15a360b | 10 | URL: https://xorg.freedesktop.org/ |
36fa0fca | 11 | BuildRequires: autoconf >= 2.60 |
1c16c86c | 12 | BuildRequires: automake |
adb82b7d | 13 | BuildRequires: pkgconfig >= 1:0.19 |
150cb24c | 14 | BuildRequires: tar >= 1:1.22 |
51f80f64 | 15 | BuildRequires: xorg-proto-xproto-devel >= 7.0.17 |
36fa0fca | 16 | BuildRequires: xorg-util-util-macros >= 1.8 |
150cb24c | 17 | BuildRequires: xz |
1c16c86c JB |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
19 | ||
20 | %description | |
a471843f | 21 | The makedepend program reads each sourcefile in sequence and parses it |
4f31f0e4 JB |
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. | |
a471843f JB |
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. | |
1c16c86c | 33 | |
8c911bd7 JR |
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 | |
4f31f0e4 | 37 | "#include", "#define", "#undef", "#ifdef", "#ifndef", "#endif", "#if", |
8c911bd7 JR |
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. | |
a471843f | 42 | |
8c911bd7 JR |
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. | |
1c16c86c JB |
48 | |
49 | %prep | |
d11fba34 | 50 | %setup -q -n makedepend-%{version} |
1c16c86c JB |
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) | |
b15a360b | 72 | %doc AUTHORS COPYING ChangeLog README.md |
1c16c86c | 73 | %attr(755,root,root) %{_bindir}/makedepend |
cf005a8b | 74 | %{_mandir}/man1/makedepend.1* |