rpms/astyle/devel astyle.spec,1.2,1.3

Adam M. Dutko (addutko) fedora-extras-commits at redhat.com
Fri Jul 6 02:16:08 UTC 2007


Author: addutko

Update of /cvs/pkgs/rpms/astyle/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4638

Added Files:
	astyle.spec 
Log Message:
Adding spec file back to the repository.



Index: astyle.spec
===================================================================
RCS file: astyle.spec
diff -N astyle.spec
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ astyle.spec	6 Jul 2007 02:15:32 -0000	1.3
@@ -0,0 +1,66 @@
+Name:           astyle
+Version:        1.21
+Release:        5%{?dist}
+Summary:        Source code formatter for C-like programming languages
+
+Group:          Development/Tools
+License:        LGPL
+URL:            http://astyle.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}_%{version}_linux.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%description
+Artistic Style is a source code indenter, source code formatter, and
+source code beautifier for the C, C++, C# and Java programming
+languages.
+
+
+%prep
+%setup -q -n %{name}
+
+
+%build
+g++ -o astyle $RPM_OPT_FLAGS src/*.cpp
+chmod a-x src/*
+chmod a-x doc/*
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{_bindir}/install -p -D -m 755 astyle $RPM_BUILD_ROOT%{_bindir}/astyle
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr(-,root,root,-)
+%{_bindir}/astyle
+
+%doc doc/*.html
+
+%changelog
+* Mon Jul 2 2007 Adam M. Dutko <gnome at dux-linux org> 1.21-5
+- Fixed sourceforge Source0 link.
+- Updated to 1.21.
+
+* Tue Jun 19 2007 Adam M. Dutko <gnome at dux-linux org> 1.20.2-4
+- Removed macros from changelog
+- Formatted changelog from 1.20.2-2
+
+* Tue Jun 19 2007 Adam M. Dutko <gnome at dux-linux org> 1.20.2-3
+- Changed licensing to LGPL from GPL
+- Removed execute bit from src/*
+- Used bindir/install instead of /usr/bin/install
+
+* Thu Jun 14 2007 Mary Ellen Foster <mefoster gmail com> 1.20.2-2
+- Modifications from Ralf Corsepius (thanks!):
+- Eliminated use of build/Makefile; just compile and install directly
+- Use bindir rather than /usr/bin
+
+* Sat May 12 2007 Adam Monsen <haircut at gmail.com> 1.20.2-1
+- removed Makefile patch
+
+* Thu Sep 21 2006 Mary Ellen Foster <mefoster gmail com> 1.19-1
+- Initial package




More information about the scm-commits mailing list