]> git.pld-linux.org Git - SPECS.git/blob - uncrustify.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / uncrustify.spec
1 Summary:        Source code beautifier
2 Name:           uncrustify
3 Version:        0.68.1
4 Release:        1
5 License:        GPL v2
6 Group:          Development/Tools
7 Source0:        http://downloads.sourceforge.net/uncrustify/%{name}-%{version}.tar.gz
8 # Source0-md5:  bc184fe715cf625bda6869ce2a2a2b54
9 URL:            http://uncrustify.sourceforge.net/
10 BuildRequires:  cmake
11 BuildRequires:  libstdc++-devel
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 Uncrustify is a configurable source code beautifier for C, C++, C#,
16 ObjectiveC, D, Java, Pawn and VALA.
17
18 %prep
19 %setup -qc
20
21 %build
22 install -d build
23 cd build
24 %cmake ..
25 %{__make}
26
27 %install
28 rm -rf $RPM_BUILD_ROOT
29
30 %{__make} -C build install \
31         DESTDIR=$RPM_BUILD_ROOT
32
33 %clean
34 rm -rf $RPM_BUILD_ROOT
35
36 %files
37 %defattr(644,root,root,755)
38 %doc AUTHORS BUGS ChangeLog CODEOWNERS Comments.txt CONTRIBUTING.md COPYING HELP LIMITATIONS.txt NEWS README.md TESTING release-steps.txt working.txt
39 %doc documentation
40 %attr(755,root,root) %{_bindir}/uncrustify
41 %{_mandir}/man1/uncrustify.1*
This page took 0.185888 seconds and 3 git commands to generate.