]>
Commit | Line | Data |
---|---|---|
35de67ea | 1 | Summary: GNU cppi - checks the indentation of C and C++ preprocessor directives |
0c9abae5 | 2 | Summary(pl.UTF-8): GNU cppi - narzędzie sprawdzające wcięcia dyrektyw preprocesora C i C++ |
35de67ea | 3 | Name: cppi |
a20aab34 | 4 | Version: 1.18 |
3f4669ae | 5 | Release: 1 |
d1e6cdb3 | 6 | License: GPL v3+ |
35de67ea | 7 | Group: Development/Tools |
d1e6cdb3 | 8 | Source0: http://ftp.gnu.org/gnu/cppi/%{name}-%{version}.tar.xz |
a20aab34 | 9 | # Source0-md5: 720f4e442287283a02979ba43a44366e |
d1e6cdb3 | 10 | URL: http://www.gnu.org/software/cppi/ |
af05a20d | 11 | BuildRequires: gettext-tools >= 0.18.1 |
d1e6cdb3 JB |
12 | BuildRequires: help2man |
13 | BuildRequires: tar >= 1:1.22 | |
14 | BuildRequires: xz | |
35de67ea JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | GNU `cppi' adjusts or checks the indentation of C and C++ preprocessor | |
19 | directives in a file. | |
20 | ||
75367e2d JR |
21 | %description -l pl.UTF-8 |
22 | GNU cppi sprawdza i poprawia wcięcia dyrektyw preprocesora C i C++. | |
35de67ea JB |
23 | |
24 | %prep | |
25 | %setup -q | |
26 | ||
27 | %build | |
d1e6cdb3 JB |
28 | %configure \ |
29 | --disable-silent-rules | |
35de67ea JB |
30 | %{__make} |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
2b960a2c PG |
35 | %{__make} install \ |
36 | DESTDIR=$RPM_BUILD_ROOT | |
35de67ea | 37 | |
d1e6cdb3 JB |
38 | %find_lang %{name} |
39 | ||
35de67ea JB |
40 | %clean |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
d1e6cdb3 | 43 | %files -f %{name}.lang |
35de67ea | 44 | %defattr(644,root,root,755) |
d1e6cdb3 JB |
45 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
46 | %attr(755,root,root) %{_bindir}/cppi | |
47 | %{_mandir}/man1/cppi.1* |