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