1 Summary: Automatic Indentation Filter
2 Summary(pl.UTF-8): Automatyczny filtr wcięć
7 Group: Development/Tools
8 Source0: http://downloads.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz
9 # Source0-md5: e85b31972c532373a4054842e2149b34
10 URL: http://astyle.sourceforge.net/
11 BuildRequires: libstdc++-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 Artistic Style is a reindenter and reformatter of C++, C and Java
18 %description -l pl.UTF-8
19 Artistic Style to narzędzie do reformatowania kodu z poprawianiem
20 wcięć dla źródeł w C++, C i Javie.
26 %{__make} -C build/gcc \
28 CPPFLAGS="%{rpmcflags}"
31 rm -rf $RPM_BUILD_ROOT
33 %{__make} -C build/gcc install \
35 prefix=$RPM_BUILD_ROOT%{_prefix}
38 mkdir $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
39 mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/html/*.html $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
42 rm -rf $RPM_BUILD_ROOT
45 %defattr(644,root,root,755)
46 %doc doc/*.html doc/*.css
47 %attr(755,root,root) %{_bindir}/*