Summary: Automatic Indentation Filter
Summary(pl.UTF-8): Automatyczny filtr wcięć
Name: astyle
-Version: 1.23
+Version: 1.24
Release: 1
License: GPL v2
Group: Development/Tools
Source0: http://dl.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz
-# Source0-md5: 92945aa2831cb14e38da5e1b8665657e
+# Source0-md5: 27cdb10523de59825d1228ac55b2c7c8
URL: http://astyle.sourceforge.net/
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n %{name}
%build
-%{__make} -C buildgcc \
+%{__make} -C build/gcc \
CXX="%{__cxx}" \
CPPFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} -C buildgcc install \
+%{__make} -C build/gcc install \
INSTALL=install \
prefix=$RPM_BUILD_ROOT%{_prefix}
+# this files are in docdir
+rm -f $RPM_BUILD_ROOT/%{_datadir}/%{name}/{*.html,*.css}
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc doc/*.html
+%doc doc/*.html doc/*.css
%attr(755,root,root) %{_bindir}/*