summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorMichel Alexandre Salim <salimma@fedoraproject.org>2014-11-27 10:15:32 +0700
committerMichel Alexandre Salim <salimma@fedoraproject.org>2014-11-27 10:17:41 +0700
commit493f5a63a833f8108a20ac4ef2febd2f6c735df6 (patch)
treed8eaf9d9742337688e205a80578c64debc5362fb /utils
parentee5cfe214adb85d81ce8f7cebf410f80a4cb1df2 (diff)
downloadspecs-493f5a63a833f8108a20ac4ef2febd2f6c735df6.tar.gz
specs-493f5a63a833f8108a20ac4ef2febd2f6c735df6.tar.xz
specs-493f5a63a833f8108a20ac4ef2febd2f6c735df6.zip
utils/xml2.spec - submitting for review
Diffstat (limited to 'utils')
-rw-r--r--utils/xml2.spec50
1 files changed, 50 insertions, 0 deletions
diff --git a/utils/xml2.spec b/utils/xml2.spec
new file mode 100644
index 0000000..bdd948c
--- /dev/null
+++ b/utils/xml2.spec
@@ -0,0 +1,50 @@
+Name: xml2
+Version: 0.5
+Release: 1%{?dist}
+Summary: Convert between XML, HTML, CSV and a line-oriented format
+
+License: GPLv2+
+URL: http://ofb.net/~egnor/xml2/
+Source0: http://download.ofb.net/gale/xml2-0.5.tar.gz
+
+BuildRequires: pkgconfig(libxml-2.0)
+#Requires:
+
+%description
+xml2 tools are used to convert XML, HTML and CSV 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
+%make_install
+# fix absolute symlinks
+pushd $RPM_BUILD_ROOT%{_bindir}
+ln -sf 2xml 2html
+ln -sf xml2 html2
+popd
+
+
+%files
+%doc COPYING
+%{_bindir}/2csv
+%{_bindir}/2html
+%{_bindir}/2xml
+%{_bindir}/csv2
+%{_bindir}/html2
+%{_bindir}/xml2
+
+
+%changelog
+* Wed Oct 8 2014 Michel Alexandre Salim <salimma@fedoraproject.org> - 0.5-1
+- Initial package