X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=astyle.spec;h=158778519a4b67d24deef3c058410be09b04b658;hb=aee4eb8d5d37d26efaa89d732d2b6c98366fe41b;hp=a1a9fd93fd25393d8de5672d7c9d3ebb2bde5e33;hpb=005c43b8f5f8b754a5670aad54b1a03c10d33842;p=packages%2Fastyle.git diff --git a/astyle.spec b/astyle.spec index a1a9fd9..1587785 100644 --- a/astyle.spec +++ b/astyle.spec @@ -1,12 +1,12 @@ Summary: Automatic Indentation Filter Summary(pl.UTF-8): Automatyczny filtr wcięć Name: astyle -Version: 1.24 +Version: 2.01 Release: 1 License: GPL v2 Group: Development/Tools Source0: http://downloads.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz -# Source0-md5: 27cdb10523de59825d1228ac55b2c7c8 +# Source0-md5: e85b31972c532373a4054842e2149b34 URL: http://astyle.sourceforge.net/ BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -34,8 +34,9 @@ rm -rf $RPM_BUILD_ROOT INSTALL=install \ prefix=$RPM_BUILD_ROOT%{_prefix} -# these files are in docdir -rm -f $RPM_BUILD_ROOT/%{_datadir}/%{name}/{*.html,*.css} +# docdir fixed +mkdir $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/ +mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/html/*.html $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/ %clean rm -rf $RPM_BUILD_ROOT