diff --git a/.cvsignore b/.cvsignore index e69de29..8d03214 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xmlindent-0.2.17.tar.gz diff --git a/sources b/sources index e69de29..90c5641 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +c08be3867ee906ca69b949d55a4f3780 xmlindent-0.2.17.tar.gz diff --git a/xmlindent.spec b/xmlindent.spec new file mode 100644 index 0000000..2878afa --- /dev/null +++ b/xmlindent.spec @@ -0,0 +1,46 @@ +# $Id: xmlindent.spec,v 1.1 2005/02/19 11:53:53 adrian Exp $ +Name: xmlindent +Version: 0.2.17 +Release: 2 +Epoch: 0 +Summary: A XML stream reformatter + +Group: Applications/Text +License: GPL +URL: http://xmlindent.sf.net/ +Source0: http://dl.sf.net/xmlindent/xmlindent-0.2.17.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: flex + +%description +XML Indent is a XML stream reformatter written in ANSI C. +It is analogous to GNU indent. + +%prep +%setup -q + +sed -i -e "s,-Wall,-Wall \$(CFLAGS),g" -e "s,555,755," -e "s,444,644," Makefile + +%build +CFLAGS=$RPM_OPT_FLAGS make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +make install PREFIX=$RPM_BUILD_ROOT%{_prefix} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc ChangeLog BUGS README LICENSE +%{_bindir}/xmlindent +%{_mandir}/man1/xmlindent.1* + +%changelog +* Tue Dec 07 2004 Adrian Reber - 0:0.2.17-2 +- applied patch from Ville Skyttä (bug #2078) + +* Fri Sep 17 2004 Adrian Reber - 0:0.2.17-0.fdr.1 +- Initial RPM release.