Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37704009
en ru br
Репозитории ALT
S:3.1-alt2
5.1: 1.22-alt1
4.1: 1.15.3-alt7
4.0: 1.15.3-alt7
3.0: 1.15.3-alt7
www.altlinux.org/Changes

Другие репозитории
Upstream:1.21

Группа :: Разработка/Прочее
Пакет: astyle

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: astyle
Version: 1.15.3
Release: alt7

Summary: A small, fast automatic indentation filter for C/C++/Java code.
Copyright: GPL
Group: Development/Other

URL: http://%name.sourceforge.net/
Source: http://prdownloads.sourceforge.net/%name/%{name}-%{version}.tar.bz2
Patch: astyle-1.15.3-no-lock.patch
Patch1: astyle-1.15.3-alt-tabopts.patch
Patch2: astyle-1.15.3-alt-gcc34.patch

# Automatically added by buildreq on Wed Jan 15 2003

BuildRequires: gcc-c++ libstdc++-devel

%description
Artistic Style is a reindenter and reformatter of C++, C and Java source code.

When indenting source code, we as programmers have a tendency to use
both spaces and tab characters to create the wanted
indentation. Moreover, some editors by default insert spaces instead
of tabs when pressing the tab key. Since the NUMBER of space
characters showed on screen for each tab character in the source code
changes between editors (until the user sets up the number to his
liking...), one of the standard problems facing programmers when
moving from one source code editor to another is that code containing
both spaces and tabs that was up to now perfectly indented, suddently
becomes a mess to look at when changing to another editor.

Artistic Style solves this problem by providing a series of filters,
written in C++, that automatically reindent & reformat C/C++/Java
source files. These can be used from a command line, or it can be
incorporated as classes in another C++ program.

%prep
%setup -q
%patch -p1
br=$(echo -ne '\r')
subst -p -- "s/$br//g" *.cpp
%patch1 -p1
%patch2 -p1

%build
make CPPFLAGS="$RPM_OPT_FLAGS"

%install
install -p -m755 -D astyle $RPM_BUILD_ROOT%_bindir/%name

%files
%_bindir/*
%doc *.html

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin