]> git.pld-linux.org Git - packages/astyle.git/blob - astyle.spec
- updated to 1.24
[packages/astyle.git] / astyle.spec
1 Summary:        Automatic Indentation Filter
2 Summary(pl.UTF-8):      Automatyczny filtr wcięć
3 Name:           astyle
4 Version:        1.24
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:  27cdb10523de59825d1228ac55b2c7c8
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 # this files are in docdir
38 rm -f $RPM_BUILD_ROOT/%{_datadir}/%{name}/{*.html,*.css}
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc doc/*.html doc/*.css
46 %attr(755,root,root) %{_bindir}/*
This page took 0.033271 seconds and 3 git commands to generate.