astyle/astyle.spec

62 lines
1.9 KiB
RPMSpec
Raw Normal View History

Name: astyle
Version: 2.06
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
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.
%prep
%setup -q -n %{name}
%build
%make -C build/gcc \
CFLAGS="-DNDEBUG %{optflags}"
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
install -D -m 0755 build/gcc/bin/astyle %{buildroot}%{_bindir}/astyle
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/*
%doc doc/*
%changelog
* Thu Jan 12 2017 Automatic Build System <autodist@mambasoft.it> 2.06-1mamba
- automatic version update by autodist
* Fri Jan 02 2015 Automatic Build System <autodist@mambasoft.it> 2.05.1-1mamba
- automatic version update by autodist
* Wed Nov 19 2014 Automatic Build System <autodist@mambasoft.it> 2.05-1mamba
- automatic version update by autodist
* Mon Dec 30 2013 Automatic Build System <autodist@mambasoft.it> 2.04-1mamba
- automatic version update by autodist
* Tue Jun 04 2013 Automatic Build System <autodist@mambasoft.it> 2.03-1mamba
- automatic version update by autodist
* Thu Jul 12 2012 Automatic Build System <autodist@mambasoft.it> 2.02.1-1mamba
- automatic version update by autodist
* Mon Aug 30 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 1.24-1mamba
- package created by autospec