466d6550 |
Summary: Docbook-xsl-1.79.1 |
f4d17450 |
Name: docbook-xsl |
466d6550 |
Version: 1.79.1 |
c20ce431 |
Release: 6%{?dist} |
f4d17450 |
License: Apache License
URL: http://www.docbook.org
Source0: http://downloads.sourceforge.net/docbook/%{name}-%{version}.tar.bz2 |
466d6550 |
%define sha1 docbook-xsl=7487b2acc7106253bb77fcddc7e1a9788601ad23 |
8f193813 |
Group: Development/Tools |
f4d17450 |
Vendor: VMware, Inc.
Distribution: Photon
Requires: libxml2
BuildRequires: libxml2 |
c20ce431 |
BuildRequires: zip |
421d1f6b |
BuildArch: noarch
|
f4d17450 |
%description |
c20ce431 |
The DocBook XML DTD-4.5 package contains document type definitions for
verification of XML data files against the DocBook rule set. These are
useful for structuring books and software documentation to a standard |
f4d17450 |
allowing you to utilize transformations already written for that standard.
%prep
%setup -q |
c20ce431 |
|
f4d17450 |
%build |
c20ce431 |
zip -d tools/lib/jython.jar Lib/distutils/command/wininst-6.exe
zip -d tools/lib/jython.jar Lib/distutils/command/wininst-7.1.exe
|
f4d17450 |
%install |
466d6550 |
install -v -m755 -d %{buildroot}/usr/share/xml/docbook/xsl-stylesheets-1.79.1 && |
f4d17450 |
cp -v -R VERSION common eclipse epub extensions fo highlighting html \
htmlhelp images javahelp lib manpages params profiling \
roundtrip slides template tests tools webhelp website \
xhtml xhtml-1_1 \ |
466d6550 |
%{buildroot}/usr/share/xml/docbook/xsl-stylesheets-1.79.1 |
f4d17450 |
|
466d6550 |
pushd %{buildroot}/usr/share/xml/docbook/xsl-stylesheets-1.79.1 |
f4d17450 |
ln -s VERSION VERSION.xsl
popd
install -v -m644 -D README \
%{buildroot}%{_docdir}/%{name}-%{version}/README.txt &&
install -v -m644 RELEASE-NOTES* NEWS* \
%{buildroot}%{_docdir}/%{name}-%{version} |
47f7d622 |
#There is no source code for make check
#%check |
c20ce431 |
#chmod 777 tests -R
#make %{?_smp_mflags} check |
f4d17450 |
%post
if [ ! -d /etc/xml ]; then install -v -m755 -d /etc/xml; fi &&
if [ ! -f /etc/xml/catalog ]; then
xmlcatalog --noout --create /etc/xml/catalog
fi &&
xmlcatalog --noout --add "rewriteSystem" \ |
466d6550 |
"http://docbook.sourceforge.net/release/xsl/1.79.1" \
"/usr/share/xml/docbook/xsl-stylesheets-1.79.1" \ |
f4d17450 |
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \ |
466d6550 |
"http://docbook.sourceforge.net/release/xsl/1.79.1" \
"/usr/share/xml/docbook/xsl-stylesheets-1.79.1" \ |
f4d17450 |
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteSystem" \
"http://docbook.sourceforge.net/release/xsl/current" \ |
466d6550 |
"/usr/share/xml/docbook/xsl-stylesheets-1.79.1" \ |
f4d17450 |
/etc/xml/catalog &&
xmlcatalog --noout --add "rewriteURI" \
"http://docbook.sourceforge.net/release/xsl/current" \ |
466d6550 |
"/usr/share/xml/docbook/xsl-stylesheets-1.79.1" \ |
f4d17450 |
/etc/xml/catalog
%postun |
f66608a4 |
if [ $1 -eq 0 ] ; then
if [ -f /etc/xml/catalog ]; then
xmlcatalog --noout --del \
"/usr/share/xml/docbook/xsl-stylesheets-1.79.1" /etc/xml/catalog
fi
fi |
f4d17450 |
%files
%defattr(-,root,root)
/usr/share/xml/docbook/*
%{_docdir}/*
%changelog |
c20ce431 |
* Tue Dec 04 2018 Ashwin H<ashwinh@vmware.com> 1.79.1-6
- Remove windows installers
* Fri Aug 18 2017 Rongrong Qiu <rqiu@vmware.com> 1.79.1-5 |
47f7d622 |
- Update make check for bug 1635477 |
421d1f6b |
* Tue Apr 25 2017 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.79.1-4
- Fix arch |
c3a3fd12 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.79.1-3
- GA - Bump release of all rpms |
f66608a4 |
* Tue May 3 2016 Divya Thaluru <dthaluru@vmware.com> 1.79.1-2
- Fixing spec file to handle rpm upgrade scenario correctly |
466d6550 |
* Thu Feb 25 2016 Kumar Kaushik <kaushikk@vmware.com> 1.79.1-1
- Updated version.
* Wed May 20 2015 Touseef Liaqat <tliaqat@vmware.com> 1.78.1-2
- Updated group. |
f4d17450 |
* Mon Nov 24 2014 Divya Thaluru <dthaluru@vmware.com> 1.78.1-1
- Initial build. First version |