]> git.pld-linux.org Git - packages/astyle.git/blob - astyle.spec
9a3a62d273bb4542493fe3253751470ff35346fd
[packages/astyle.git] / astyle.spec
1 Summary:        Automatic Indentation Filter
2 Summary(pl.UTF-8):      Automatyczny filtr wcięć
3 Name:           astyle
4 Version:        1.22
5 Release:        1
6 License:        GPL v2
7 Group:          Development/Tools
8 Source0:        http://dl.sourceforge.net/astyle/%{name}_%{version}_linux.tar.gz
9 # Source0-md5:  f319ee4e2538f5e6255211975b4e36cc
10 URL:            http://astyle.sourceforge.net/
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 Artistic Style is a reindenter and reformatter of C++, C and Java
15 source code.
16
17 %description -l pl.UTF-8
18 Artistic Style to narzędzie do reformatowania kodu z poprawianiem
19 wcięć dla źródeł w C++, C i Javie.
20
21 %prep
22 %setup -q -n %{name}
23
24 %build
25 %{__make} -C buildgcc \
26         CXX="%{__cxx}" \
27         CPPFLAGS="%{rpmcflags}"
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31
32 %{__make} -C buildgcc install \
33         INSTALL=install \
34         prefix=$RPM_BUILD_ROOT%{_prefix}
35         
36 %clean
37 rm -rf $RPM_BUILD_ROOT
38
39 %files
40 %defattr(644,root,root,755)
41 %doc doc/*.html
42 %attr(755,root,root) %{_bindir}/*
This page took 0.06109 seconds and 2 git commands to generate.