]>
Commit | Line | Data |
---|---|---|
0db09b4a | 1 | Summary: Automatic Indentation Filter |
18f41a12 | 2 | Summary(pl.UTF-8): Automatyczny filtr wcięć |
0db09b4a | 3 | Name: astyle |
4 | Version: 1.15.3 | |
5 | Release: 1 | |
ecf4927d | 6 | License: GPL v2 |
0db09b4a | 7 | Group: Development/Tools |
f6d36a4f | 8 | Source0: http://dl.sourceforge.net/astyle/%{name}_%{version}.zip |
ecf4927d | 9 | # Source0-md5: 4d8adbcd8703aea00fcd2670be090ddd |
ef6d8d8c | 10 | URL: http://astyle.sourceforge.net/ |
751e978f | 11 | Patch0: %{name}-Makefile.patch |
3afcf9f9 | 12 | BuildRequires: unzip |
0db09b4a | 13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
14 | ||
15 | %description | |
16 | Artistic Style is a reindenter and reformatter of C++, C and Java | |
17 | source code. | |
18 | ||
708add0a JR |
19 | %description -l pl.UTF-8 |
20 | Artistic Style to narzędzie do reformatowania kodu z poprawianiem | |
21 | wcięć dla źródeł w C++, C i Javie. | |
565dae39 | 22 | |
0db09b4a | 23 | %prep |
24 | %setup -q -c | |
751e978f | 25 | %patch0 -p1 |
0db09b4a | 26 | |
27 | %build | |
28 | %{__make} \ | |
751e978f | 29 | CXX="%{__cxx}" \ |
0db09b4a | 30 | CPPFLAGS="%{rpmcflags}" |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | install -d $RPM_BUILD_ROOT%{_bindir} | |
35 | ||
36 | install astyle $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc astyle.html astyle_release_notes.html | |
44 | %attr(755,root,root) %{_bindir}/* |