- removed files from astyle dir, the same files are in docdir
- fixed build dir
Changed files:
astyle.spec -> 1.14
Summary: Automatic Indentation Filter
Summary(pl.UTF-8): Automatyczny filtr wcięć
Name: astyle
Summary: Automatic Indentation Filter
Summary(pl.UTF-8): Automatyczny filtr wcięć
Name: astyle
Release: 1
License: GPL v2
Group: Development/Tools
Source0: http://dl.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz
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)
URL: http://astyle.sourceforge.net/
BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%setup -q -n %{name}
%build
%setup -q -n %{name}
%build
+%{__make} -C build/gcc \
CXX="%{__cxx}" \
CPPFLAGS="%{rpmcflags}"
%install
rm -rf $RPM_BUILD_ROOT
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}
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)
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc doc/*.html doc/*.css
%attr(755,root,root) %{_bindir}/*
%attr(755,root,root) %{_bindir}/*