]> git.pld-linux.org Git - packages/astyle.git/blob - astyle.spec
- updated to 2.01
[packages/astyle.git] / astyle.spec
1 Summary:        Automatic Indentation Filter
2 Summary(pl.UTF-8):      Automatyczny filtr wcięć
3 Name:           astyle
4 Version:        2.01
5 Release:        1
6 License:        GPL v2
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)
13
14 %description
15 Artistic Style is a reindenter and reformatter of C++, C and Java
16 source code.
17
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.
21
22 %prep
23 %setup -q -n %{name}
24
25 %build
26 %{__make} -C build/gcc \
27         CXX="%{__cxx}" \
28         CPPFLAGS="%{rpmcflags}"
29
30 %install
31 rm -rf $RPM_BUILD_ROOT
32
33 %{__make} -C build/gcc install \
34         INSTALL=install \
35         prefix=$RPM_BUILD_ROOT%{_prefix}
36
37 # docdir fixed
38 mkdir  $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
39 mv $RPM_BUILD_ROOT/%{_docdir}/%{name}/html/*.html $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version}/
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc doc/*.html doc/*.css
47 %attr(755,root,root) %{_bindir}/*
This page took 0.075421 seconds and 3 git commands to generate.