1 Summary: Automatic Indentation Filter
2 Summary(pl.UTF-8): Automatyczny filtr wcięć
7 Group: Development/Tools
8 Source0: http://dl.sourceforge.net/astyle/%{name}_%{version}.zip
9 # Source0-md5: 4d8adbcd8703aea00fcd2670be090ddd
10 URL: http://astyle.sourceforge.net/
11 Patch0: %{name}-Makefile.patch
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Artistic Style is a reindenter and reformatter of C++, C and Java
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.
30 CPPFLAGS="%{rpmcflags}"
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
36 install astyle $RPM_BUILD_ROOT%{_bindir}
39 rm -rf $RPM_BUILD_ROOT
42 %defattr(644,root,root,755)
43 %doc astyle.html astyle_release_notes.html
44 %attr(755,root,root) %{_bindir}/*