update to 3.4.6 [release 3.4.6-1mamba;Sun Sep 10 2023]

This commit is contained in:
Silvan Calarco 2024-01-05 20:36:18 +01:00
parent 5062ef3a7d
commit 032f0d4164

View File

@ -1,30 +1,32 @@
Name: astyle
Version: 3.1
Version: 3.4.6
Release: 1mamba
Summary: A free, fast and small automatic Formatter for C, C++, C#, and Java source code
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Stefano Cotta Ramusino <stefano.cotta@openmamba.org>
URL: http://astyle.sourceforge.net/
Source: http://downloads.sourceforge.net/project/astyle/astyle/astyle%20%{version}/astyle_%{version}_linux.tar.gz
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://astyle.sourceforge.net/
Source: https://sourceforge.net/projects/astyle/files/astyle/astyle%20%{majorminor}/astyle-%{version}.tar.bz2
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.
%debug_package
%prep
%setup -q -n %{name}
%setup -q
%build
%make -C build/gcc \
CFLAGS="-DNDEBUG %{optflags}"
CFLAGS="-DNDEBUG %{optflags}" \
LDFLAGS="-v" # LDFLAGS needs to be set or -s (strip) is applied
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -39,6 +41,9 @@ install -D -m 0755 build/gcc/bin/astyle %{buildroot}%{_bindir}/astyle
%doc doc/*
%changelog
* Sun Sep 10 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.6-1mamba
- update to 3.4.6
* Sat Jan 27 2018 Automatic Build System <autodist@mambasoft.it> 3.1-1mamba
- automatic version update by autodist