Package asciidoc: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | Name: asciidoc Version: 8.4.4 Release: alt1 Summary: asciidoc converts an AsciiDoc text file to DocBook, HTML or LinuxDoc Group: Text tools License: GPLv2+ Url: http://www.methods.co.nz/asciidoc/ Packager: Artem Zolochevskiy <azol@altlinux.ru> BuildArch: noarch # http://www.methods.co.nz/asciidoc/%name-%version.tar.gz Source: %name-%version.tar Patch: %name-%version-%release.patch BuildRequires(pre): rpm-build-vim %define _unpackaged_files_terminate_build 1 %define docdir %_docdir/%name-%version %description The asciidoc(1) command translates the AsciiDoc text file to the backend formatted file. AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. %package a2x Summary: a2x converts AsciiDoc text file to PDF, XHTML, HTML Help, manpage or plain text Group: Text tools Requires: %name = %version-%release Requires: lynx xsltproc docbook-style-xsl dblatex %description a2x A DocBook toolchain wrapper script that translates an AsciiDoc text file to PDF, XHTML (single page or chunked), man page, HTML Help or plain text formats. PDF, XHTML, man page and HTML Help formats are generated using the asciidoc(1)/xsltproc(1)/DocBook XSL Stylesheets toolchain. Plain text is produced by passing asciidoc(1) generated HTML through lynx(1). The htmlhelp format option generates .hhp, .hhc and .html files suitable for compilation to an HTML Help .chm file. %package doc Summary: AsciiDoc documentation and examples Group: Development/Documentation %description doc The asciidoc(1) command translates the AsciiDoc text file to the backend formatted file. AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. This package contains AsciiDoc documentation and examples. %package -n vim-plugin-asciidoc-syntax Summary: Vim syntax highlighting for AsciiDoc files Group: Editors PreReq: vim-common %description -n vim-plugin-asciidoc-syntax The asciidoc(1) command translates the AsciiDoc text file to the backend formatted file. AsciiDoc is a text document format for writing short documents, articles, books and UNIX man pages. This package contains AsciiDoc syntax highlighting support for Vim. %prep %setup %patch -p1 %build %configure docdir=%docdir %install %make_install DESTDIR=%buildroot install docs # install vim plugin install -d %buildroot{%vim_ftdetect_dir,%vim_syntax_dir} install -p -m644 vim/ftdetect/asciidoc_filetype.vim %buildroot%vim_ftdetect_dir/ install -p -m644 vim/syntax/asciidoc.vim %buildroot%vim_syntax_dir/ # install extra docs for asciidoc package install -d %buildroot%docdir/ install -pD -m644 COPYRIGHT %buildroot%docdir/ %files %_bindir/%name %_bindir/%name.py %dir %_sysconfdir/%name %config(noreplace) %_sysconfdir/%name/*.conf %config(noreplace) %_sysconfdir/%name/dblatex/ %config(noreplace) %_sysconfdir/%name/filters/ %_sysconfdir/%name/images %config(noreplace) %_sysconfdir/%name/javascripts/ %config(noreplace) %_sysconfdir/%name/stylesheets/ %_man1dir/%name.* %dir %docdir %doc %docdir/BUGS %doc %docdir/CHANGELOG %doc %docdir/COPYRIGHT %doc %docdir/README %files a2x %_bindir/a2x %config(noreplace) %_sysconfdir/%name/docbook-xsl/ %_man1dir/a2x.* %files doc %doc %docdir %exclude %docdir/BUGS %exclude %docdir/CHANGELOG %exclude %docdir/COPYRIGHT %exclude %docdir/README %files -n vim-plugin-asciidoc-syntax %vim_ftdetect_dir/*.vim %vim_syntax_dir/*.vim %changelog * Mon Apr 27 2009 Artem Zolochevskiy <azol@altlinux.ru> 8.4.4-alt1 - new version * Mon Apr 13 2009 Artem Zolochevskiy <azol@altlinux.ru> 8.4.3-alt1 - new version - add patch: skip all conbinations of leading comments and attribute entries - asciidoc-doc no more requires asciidoc * Tue Oct 07 2008 Andrey Rahmatullin <wrar@altlinux.ru> 8.2.7-alt1 - Sisyphus build * Sun Oct 05 2008 Andrey Rahmatullin <wrar@altlinux.ru> 8.2.7-alt0.1 - 8.2.7 * Thu Jan 24 2008 Grigory Batalov <bga@altlinux.ru> 7.1.2-alt2.1 - Rebuilt with python-2.5. * Wed May 03 2006 Andrei Bulava <abulava@altlinux.ru> 7.1.2-alt2 - split documentation into a separate subpackage - added COPYING as a symlink to the system-wide GPL-2 text * Wed Apr 26 2006 Andrei Bulava <abulava@altlinux.ru> 7.1.2-alt1 - 7.1.2 - packaged a2x(1) as a subpackage * Tue Sep 20 2005 Andrei Bulava <abulava@altlinux.ru> 7.0.2-alt1 - 7.0.2 - made noarch indeed (doesn't use %%_libexecdir any more) - eliminated absolute symlinks * Fri Jul 08 2005 Andrei Bulava <abulava@altlinux.ru> 7.0.1-alt1 - 7.0.1 - rebundled according to "Appendix B: Packager Notes" of AsciiDoc User Guide * Wed Jun 22 2005 Andrei Bulava <abulava@altlinux.ru> 7.0.0-alt1 - initial build for ALT Linux |