From b45c2ebfe5cb6862e4b08c8d69a480b9422cb92c Mon Sep 17 00:00:00 2001 From: Thomas Moschny Date: Mon, 30 Mar 2009 21:52:27 +0000 Subject: [PATCH] Initial import. --- .cvsignore | 1 + import.log | 1 + sources | 1 + xml2.spec | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 import.log create mode 100644 xml2.spec diff --git a/.cvsignore b/.cvsignore index e69de29..5c770fb 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +xml2-0.4.tar.gz diff --git a/import.log b/import.log new file mode 100644 index 0000000..e21c466 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +xml2-0_4-2_fc10:HEAD:xml2-0.4-2.fc10.src.rpm:1238449914 diff --git a/sources b/sources index e69de29..d4a10e2 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +8a0ef16fe0b3e1495307318c590c1ec0 xml2-0.4.tar.gz diff --git a/xml2.spec b/xml2.spec new file mode 100644 index 0000000..818c3ba --- /dev/null +++ b/xml2.spec @@ -0,0 +1,59 @@ +Name: xml2 +Version: 0.4 +Release: 2%{?dist} +Summary: XML/Unix Processing Tools +Group: Applications/Text +License: GPLv2+ +URL: http://dan.egnor.name/xml2/ +Source0: http://download.ofb.net/gale/%{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: libxml-devel +BuildRequires: symlinks + + +%description +These tools are used to convert XML and HTML to and from a +line-oriented format more amenable to processing by classic Unix +pipeline processing tools, like grep, sed, awk, cut, shell scripts, +and so forth. + + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# cleanup symlinks +symlinks -c %{buildroot}%{_bindir} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%{_bindir}/2csv +%{_bindir}/2html +%{_bindir}/2xml +%{_bindir}/csv2 +%{_bindir}/xml2 +%{_bindir}/html2 +%doc COPYING + + +%changelog +* Sat Mar 28 2009 Thomas Moschny - 0.4-2 +- Use macros in Source0 tag. + +* Sat Mar 28 2009 Thomas Moschny - 0.4-1 +- New package. +