[Tizen-submit] 5350: Changes to Tizen/asciidoc

noreply at tizen.org noreply at tizen.org
Mon May 20 11:14:27 GMT 2013

Prajwal Mohan have made the following changes to asciidoc in project Tizen. Please review and accept ASAP.

Thank You,

[This message was auto-generated]


Request: #5350

  submit:       Tizen:build/asciidoc(cleanup) -> Tizen

Submitter: Prajwal Mohan <prajwal.karur.mohan at intel.com>
Comments: submit/tizen/20130517.020348
Git project: platform/upstream/asciidoc
Tag: submit/tizen/20130517.020348
Commit: 0c2401c remove local patch, set license

State:   accepted   2013-05-16T20:57:23 pkarurmo
Comment: Ok

History: new        2013-05-16T19:01:07 tizenrobot

spec files:

++++++ new spec file:
--- asciidoc.spec
+++ asciidoc.spec
@@ -0,0 +1,62 @@
+Name:           asciidoc
+Summary:        Text-Based Document Generation
+Version:        8.6.6
+Release:        1
+VCS:            platform/upstream/asciidoc#submit/tizen/20130517.020348-0-g0c2401c
+License:        GPL-2.0+
+Group:          Development/Tools/Doc Generators
+Requires:       python >= 2.3 python-xml
+Requires:       docbook-xsl-stylesheets
+# a2x needs /usr/bin/xsltproc
+Recommends:     libxslt
+Url:            http://www.methods.co.nz/asciidoc/
+Source0:        %{name}-%{version}.tar.gz
+BuildArch:      noarch
+AsciiDoc is a text document format for writing short documents,
+articles, books, and UNIX man pages. AsciiDoc files can be translated
+to HTML and DocBook markups using the asciidoc command.
+%package examples
+Summary:        Examples and Documents for asciidoc
+Group:          Development/Tools/Doc Generators
+License:        GPL-2.0+
+%description examples
+This package contains examples and documetns of asciidoc.
+%setup -q
+mkdir -p $RPM_BUILD_ROOT/etc/asciidoc/filters
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/asciidoc
+mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 0644 *.conf $RPM_BUILD_ROOT/etc/asciidoc
+install -m 0644 filters/*/*.conf $RPM_BUILD_ROOT/etc/asciidoc/filters/
+install -m 0755 filters/*/*.py $RPM_BUILD_ROOT/etc/asciidoc/filters/
+install -m 0755 -D asciidoc.py $RPM_BUILD_ROOT%{_bindir}/asciidoc
+install -m 0755 -D a2x.py $RPM_BUILD_ROOT%{_bindir}/a2x
+install -m 0644 doc/*.1  $RPM_BUILD_ROOT%{_mandir}/man1/
+for i in images stylesheets javascripts docbook-xsl dblatex; do
+  cp -av $i $RPM_BUILD_ROOT%{_datadir}/asciidoc/
+  ln -s ../../%{_datadir}/asciidoc/$i $RPM_BUILD_ROOT/etc/asciidoc
+# install vim files
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/vim/site/{syntax,ftdetect}
+install -m 0644 vim/syntax/* $RPM_BUILD_ROOT%{_datadir}/vim/site/syntax
+install -m 0644 vim/ftdetect/* $RPM_BUILD_ROOT%{_datadir}/vim/site/ftdetect
+%license COPYRIGHT
+%config /etc/asciidoc
+%doc %{_mandir}/man1/*

other changes:

++++++ asciidoc-8.6.6.tar.gz (new)

More information about the Tizen-submit mailing list