From: wolf Date: Mon, 26 May 2003 00:03:32 +0000 (+0000) Subject: - new X-Git-Tag: auto/ac/astyle-1_15_3-1~7 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fastyle.git;a=commitdiff_plain;h=0db09b4a35bc34ebb77a516a026ffdf65e675fcb - new Changed files: astyle.spec -> 1.1 --- 0db09b4a35bc34ebb77a516a026ffdf65e675fcb diff --git a/astyle.spec b/astyle.spec new file mode 100644 index 0000000..e2630bf --- /dev/null +++ b/astyle.spec @@ -0,0 +1,34 @@ +Summary: Automatic Indentation Filter +Summary(pl): Automatyczny filtr wciêæ +Name: astyle +Version: 1.15.3 +Release: 1 +License: GPL +Group: Development/Tools +Source0: http://dl.sourceforge.net/%{name}/%{name}_%{version}.zip +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Artistic Style is a reindenter and reformatter of C++, C and Java +source code. + +%prep +%setup -q -c + +%build +%{__make} \ + CPPFLAGS="%{rpmcflags}" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_bindir} + +install astyle $RPM_BUILD_ROOT%{_bindir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc astyle.html astyle_release_notes.html +%attr(755,root,root) %{_bindir}/*