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