Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37042345
en ru br
ALT Linux repos
S:0.77.1-alt1
5.0: 0.48-alt1
4.1: 0.43-alt1
4.0: 0.33-alt1

Group :: Text tools
RPM: uncrustify

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: uncrustify
Version: 0.75.1
Release: alt1

Summary: Uncrustify is a source code beautifier

License: GPLv2
Group: Text tools
Url: http://uncrustify.sourceforge.net/

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: https://github.com/uncrustify/uncrustify/archive/uncrustify-%version.tar.gz

Source: %name-%version.tar

Patch: uncrustify-0.59-alt-glibc-2.16.patch

BuildPreReq: rpm-macros-cmake cmake

BuildRequires: python3
#BuildRequires: python3-module-argparse

# Automatically added by buildreq on Tue Jul 18 2006

BuildRequires: gcc-c++

%description
Uncrustify is a source code beautifier that allows you to banish crusty
code. It works with C, C++, C#, D, and Java and indents (with spaces,
tabs and spaces, and tabs only), adds and removes newlines, has a high
degree of control over operator spacing, aligns code, is extremely
configurable, and is easy to modify.

%prep
%setup

%build
%cmake
%cmake_build

%install
%cmakeinstall_std

%files
%doc ChangeLog AUTHORS
%_bindir/*
%_docdir/%name/
%_man1dir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin