Adam M. Dutko 5c15c8c
Name:           astyle
Thomas Spura 8d26443
Version:        2.02.1
8f1b8f2
Release:        2%{?dist}
Adam M. Dutko 5c15c8c
Summary:        Source code formatter for C-like programming languages
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
Group:          Development/Tools
1e45316
License:        LGPLv3+
Adam M. Dutko 5c15c8c
URL:            http://astyle.sourceforge.net/
Adam M. Dutko 5c15c8c
Source0:        http://downloads.sourceforge.net/%{name}/%{name}_%{version}_linux.tar.gz
9b11687
Adam M. Dutko 5c15c8c
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%description
Adam M. Dutko 5c15c8c
Artistic Style is a source code indenter, source code formatter, and
Adam M. Dutko 5c15c8c
source code beautifier for the C, C++, C# and Java programming
Adam M. Dutko 5c15c8c
languages.
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%prep
Adam M. Dutko 5c15c8c
%setup -q -n %{name}
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%build
Adam M. Dutko 5c15c8c
g++ -o astyle $RPM_OPT_FLAGS src/*.cpp
Adam M. Dutko 5c15c8c
chmod a-x src/*
Adam M. Dutko 5c15c8c
chmod a-x doc/*
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%install
Adam M. Dutko 5c15c8c
rm -rf $RPM_BUILD_ROOT
Adam M. Dutko 5c15c8c
%{_bindir}/install -p -D -m 755 astyle $RPM_BUILD_ROOT%{_bindir}/astyle
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%clean
Adam M. Dutko 5c15c8c
rm -rf $RPM_BUILD_ROOT
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%files
Adam M. Dutko 5c15c8c
%defattr(-,root,root,-)
Adam M. Dutko 5c15c8c
%{_bindir}/astyle
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%doc doc/*.html
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
%changelog
8f1b8f2
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.02.1-2
8f1b8f2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
8f1b8f2
Thomas Spura 8d26443
* Sun Dec  4 2011 Thomas Spura <tomspur@fedoraproject.org> - 2.02.1-1
Thomas Spura 8d26443
- update to new version
Thomas Spura 8d26443
099a311
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.01-2
099a311
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
099a311
637e4b8
* Wed Dec  1 2010 Thomas Spura <tomspur@fedoraproject.org> - 2.01-1
637e4b8
- update to new version
637e4b8
1e45316
* Sat Jan 30 2010 Thomas Spura <tomspur@fedoraproject.org> - 1.24-1
1e45316
- update to new version
1e45316
- change license to LGPLv3+ (changed since 1.23, but missed there)
1e45316
e684a0c
* Tue Oct 13 2009 Thomas Spura <tomspur@fedoraproject.org> - 1.23-1
e684a0c
- Update to new version
e684a0c
- patch from Sep 24 2008 not needed anymore for gcc-4.4
f37dbe7
61c35b4
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-11
61c35b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
61c35b4
e987c29
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.21-10
e987c29
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
e987c29
9b11687
* Wed Sep 24 2008 Debarshi Ray <rishi@fedoraproject.org> - 1.21-9
9b11687
- Fixed build failure with gcc-4.3. Closes Red Hat Bugzilla bug #433971.
9b11687
b096947
* Wed May 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.21-8
b096947
- fix license tag
b096947
8271a92
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.21-7
8271a92
- Autorebuild for GCC 4.3
8271a92
be6ce1b
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.21-6
be6ce1b
- Rebuild for selinux ppc32 issue.
be6ce1b
Adam M. Dutko 5c15c8c
* Mon Jul 2 2007 Adam M. Dutko <gnome at dux-linux org> 1.21-5
Adam M. Dutko 5c15c8c
- Fixed sourceforge Source0 link.
Adam M. Dutko 5c15c8c
- Updated to 1.21.
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
* Tue Jun 19 2007 Adam M. Dutko <gnome at dux-linux org> 1.20.2-4
Adam M. Dutko 5c15c8c
- Removed macros from changelog
Adam M. Dutko 5c15c8c
- Formatted changelog from 1.20.2-2
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
* Tue Jun 19 2007 Adam M. Dutko <gnome at dux-linux org> 1.20.2-3
Adam M. Dutko 5c15c8c
- Changed licensing to LGPL from GPL
Adam M. Dutko 5c15c8c
- Removed execute bit from src/*
Adam M. Dutko 5c15c8c
- Used bindir/install instead of /usr/bin/install
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
* Thu Jun 14 2007 Mary Ellen Foster <mefoster gmail com> 1.20.2-2
Adam M. Dutko 5c15c8c
- Modifications from Ralf Corsepius (thanks!):
Adam M. Dutko 5c15c8c
- Eliminated use of build/Makefile; just compile and install directly
Adam M. Dutko 5c15c8c
- Use bindir rather than /usr/bin
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
* Sat May 12 2007 Adam Monsen <haircut@gmail.com> 1.20.2-1
Adam M. Dutko 5c15c8c
- removed Makefile patch
Adam M. Dutko 5c15c8c
Adam M. Dutko 5c15c8c
* Thu Sep 21 2006 Mary Ellen Foster <mefoster gmail com> 1.19-1
Adam M. Dutko 5c15c8c
- Initial package