Bump to 0.0.28 accepted/tizen_8.0_unified sandbox/xmlto_0.0.28 tizen_8.0 accepted/tizen/8.0/unified/20231005.095659 accepted/tizen/unified/20230106.165058 accepted/tizen/unified/toolchain/20240128.235630 accepted/tizen/unified/toolchain/20240311.005241 tizen_8.0_m2_release
authorTizenOpenSource <tizenopensrc@samsung.com>
Mon, 2 Jan 2023 07:28:54 +0000 (16:28 +0900)
committerTizenOpenSource <tizenopensrc@samsung.com>
Mon, 2 Jan 2023 07:28:54 +0000 (16:28 +0900)
Signed-off-by: TizenOpenSource <tizenopensrc@samsung.com>
packaging/xmlto.manifest [new file with mode: 0644]
packaging/xmlto.spec [new file with mode: 0644]

diff --git a/packaging/xmlto.manifest b/packaging/xmlto.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/xmlto.spec b/packaging/xmlto.spec
new file mode 100644 (file)
index 0000000..fa8888d
--- /dev/null
@@ -0,0 +1,55 @@
+Name:           xmlto
+Version:        0.0.28
+Release:        0
+License:        GPL-2.0+
+Summary:        Tool for Converting XML Files to Various Formats
+Url:            https://fedorahosted.org/xmlto/
+Group:          Productivity/Publishing/XML
+Source0:        https://fedorahosted.org/releases/x/m/xmlto/%{name}-%{version}.tar.bz2
+Source1001:    xmlto.manifest
+BuildRequires:  docbook-xsl-stylesheets
+BuildRequires:  flex
+BuildRequires:  libxslt
+BuildRequires:  sgml-skel
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+BuildRequires:  fdupes
+
+# We rely entirely on the DocBook XSL stylesheets!
+Requires:       docbook-xsl-stylesheets >= 1.56.0
+Requires:       docbook_4
+Requires:       xsltproc
+
+%description
+This is a package for converting XML files to various formats using XSL
+stylesheets.  As a processor it depends on xsltproc and as a formatter
+for print output it makes use of passivetex.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+rm -f xmlif/xmlif.c
+
+%build
+CFLAGS="%{optflags} -fPIC -pie" \
+%configure
+make %{?_smp_mflags}
+
+%check
+make check
+
+%install
+%make_install
+! mkdir %{buildroot}%{_datadir}/xmlto/xsl
+%{fdupes '%{buildroot}%{_datadir}/xmlto'}
+
+%files
+%manifest %{name}.manifest
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/*
+%{_mandir}/*/*
+%{_datadir}/xmlto
+
+%changelog