]> git.pld-linux.org Git - packages/xorg-util-makedepend.git/blame - xorg-util-makedepend.spec
- updated to 1.0.8
[packages/xorg-util-makedepend.git] / xorg-util-makedepend.spec
CommitLineData
a471843f 1Summary: makedepend utility - create dependencies in makefiles
7cd5c897 2Summary(pl.UTF-8): Narzędzie makedepend - tworzenie zależności w makefile'ach
1c16c86c 3Name: xorg-util-makedepend
c5255809 4Version: 1.0.8
b15a360b 5Release: 1
1c16c86c
JB
6License: MIT
7Group: X11/Development/Tools
150cb24c 8Source0: https://xorg.freedesktop.org/releases/individual/util/makedepend-%{version}.tar.xz
c5255809 9# Source0-md5: 6c7a1cc70ba390be51eee5d2408c306a
b15a360b 10URL: https://xorg.freedesktop.org/
36fa0fca 11BuildRequires: autoconf >= 2.60
1c16c86c 12BuildRequires: automake
adb82b7d 13BuildRequires: pkgconfig >= 1:0.19
150cb24c 14BuildRequires: tar >= 1:1.22
51f80f64 15BuildRequires: xorg-proto-xproto-devel >= 7.0.17
36fa0fca 16BuildRequires: xorg-util-util-macros >= 1.8
150cb24c 17BuildRequires: xz
1c16c86c
JB
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
a471843f 21The makedepend program reads each sourcefile in sequence and parses it
4f31f0e4
JB
22like a C-preprocessor, processing all "#include", "#define", "#undef",
23"#ifdef", "#ifndef", "#endif", "#if", "#elif" and "#else" directives
24so that it can correctly tell which #include directives would be used
25in a compilation. Any "#include", directives can reference files
26having other "#include" directives, and parsing will occur in these
27files as well.
a471843f
JB
28
29Every file that a sourcefile includes, directly or indirectly, is what
30makedepend calls a dependency. These dependencies are then written to
31a makefile in such a way that make will know which object files
32must be recompiled when a dependency has changed.
1c16c86c 33
8c911bd7
JR
34%description -l pl.UTF-8
35Program makedepend czyta po kolei wszystkie pliki źródłowe i analizuje
36je 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
39podczas kompilacji. Każda dyrektywa "#include" może odnosić się do
40plików mających kolejne dyrektywy "#include", a wtedy te pliki będą
41także przeanalizowane.
a471843f 42
8c911bd7
JR
43Każdy plik dołączany przez plik źródłowy, bezpośrednio lub pośrednio,
44jest nazywany przez makedepend zależnością. Zależności te są
45dopisywane do pliku makefile w taki sposób, aby program make wiedział,
46które pliki wynikowe muszą być przekompilowane w przypadku zmiany
47któ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
62rm -rf $RPM_BUILD_ROOT
63
64%{__make} install \
65 DESTDIR=$RPM_BUILD_ROOT
66
67%clean
68rm -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*
This page took 0.258913 seconds and 4 git commands to generate.