[521] | 1 | Summary: Text based document generation |
---|
| 2 | Summary(ja): テキストベースのドキュメント生成 |
---|
| 3 | Name: asciidoc |
---|
| 4 | Version: 8.2.5 |
---|
| 5 | Release: 1%{?_dist_release} |
---|
| 6 | License: GPL |
---|
| 7 | Group: Applications/System |
---|
| 8 | URL: http://www.methods.co.nz/asciidoc/ |
---|
| 9 | Source0: http://www.methods.co.nz/asciidoc/%{name}-%{version}.tar.gz |
---|
| 10 | Requires: python |
---|
| 11 | BuildArch: noarch |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 13 | |
---|
| 14 | %description |
---|
| 15 | AsciiDoc is a text document format for writing short documents, |
---|
| 16 | articles, books and UNIX man pages. AsciiDoc files can be translated |
---|
| 17 | to HTML and DocBook markups using the asciidoc(1) command. |
---|
| 18 | |
---|
| 19 | %prep |
---|
| 20 | %setup -q |
---|
| 21 | |
---|
| 22 | %build |
---|
| 23 | |
---|
| 24 | %install |
---|
| 25 | rm -rf $RPM_BUILD_ROOT |
---|
| 26 | # make directory structure |
---|
| 27 | %{__install} -d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters \ |
---|
| 28 | $RPM_BUILD_ROOT/%{_datadir}/asciidoc/docbook-xsl \ |
---|
| 29 | $RPM_BUILD_ROOT/%{_datadir}/asciidoc/stylesheets \ |
---|
| 30 | $RPM_BUILD_ROOT/%{_datadir}/asciidoc/javascripts \ |
---|
| 31 | $RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons/callouts \ |
---|
| 32 | $RPM_BUILD_ROOT/%{_bindir} \ |
---|
| 33 | $RPM_BUILD_ROOT/%{_mandir}/man1 |
---|
| 34 | |
---|
| 35 | # real conf data goes to sysconfdir, rest goes to datadir |
---|
| 36 | %{__install} -m 0644 *.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc |
---|
| 37 | %{__install} -m 0644 filters/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/ |
---|
| 38 | %{__install} filters/*.py $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/ |
---|
| 39 | |
---|
| 40 | # symlinks so asciidoc works |
---|
| 41 | ln -s %{_datadir}/asciidoc/docbook-xsl $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/ |
---|
| 42 | ln -s %{_datadir}/asciidoc/stylesheets $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/ |
---|
| 43 | ln -s %{_datadir}/asciidoc/javascripts $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/ |
---|
| 44 | ln -s %{_datadir}/asciidoc/images $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/ |
---|
| 45 | |
---|
| 46 | # binaries |
---|
| 47 | %{__install} asciidoc.py $RPM_BUILD_ROOT/%{_bindir}/asciidoc |
---|
| 48 | %{__install} a2x $RPM_BUILD_ROOT/%{_bindir}/ |
---|
| 49 | |
---|
| 50 | # manpages |
---|
| 51 | %{__install} -m 0644 doc/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1 |
---|
| 52 | |
---|
| 53 | # ancillary data |
---|
| 54 | %{__install} -m 0644 docbook-xsl/*.xsl $RPM_BUILD_ROOT/%{_datadir}/asciidoc/docbook-xsl |
---|
| 55 | %{__install} -m 0644 stylesheets/*.css $RPM_BUILD_ROOT/%{_datadir}/asciidoc/stylesheets/ |
---|
| 56 | %{__install} -m 0644 javascripts/*.js $RPM_BUILD_ROOT/%{_datadir}/asciidoc/javascripts |
---|
| 57 | %{__install} -m 0644 images/icons/callouts/* $RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons/callouts |
---|
| 58 | %{__install} -m 0644 images/icons/{README,*.png} $RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | rm -rf $RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root,0755) |
---|
| 65 | %config(noreplace) %{_sysconfdir}/asciidoc |
---|
| 66 | %{_bindir}/* |
---|
| 67 | %{_mandir}/man1/* |
---|
| 68 | %{_datadir}/asciidoc/ |
---|
| 69 | %doc README BUGS CHANGELOG COPYRIGHT |
---|
| 70 | |
---|
| 71 | %changelog |
---|
| 72 | * Wed Aug 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 8.2.5-1 |
---|
| 73 | - initial build for Vine Linux |
---|
| 74 | |
---|
| 75 | * Wed Dec 05 2007 Florian La Roche <laroche@redhat.com> - 8.2.5-2 |
---|
| 76 | - remove doc/examples from filelist due to dangling symlinks |
---|
| 77 | |
---|
| 78 | * Tue Nov 20 2007 Florian La Roche <laroche@redhat.com> - 8.2.5-1 |
---|
| 79 | - new upstream version 8.2.5 |
---|
| 80 | |
---|
| 81 | * Mon Oct 22 2007 Florian La Roche <laroche@redhat.com> - 8.2.3-1 |
---|
| 82 | - new upstream version 8.2.3 |
---|
| 83 | |
---|
| 84 | * Sat Sep 01 2007 Florian La Roche <laroche@redhat.com> - 8.2.2-1 |
---|
| 85 | - new upstream version 8.2.2 |
---|
| 86 | |
---|
| 87 | * Mon Mar 19 2007 Chris Wright <chrisw@redhat.com> - 8.1.0-1 |
---|
| 88 | - update to asciidoc 8.1.0 |
---|
| 89 | |
---|
| 90 | * Thu Sep 14 2006 Chris Wright <chrisw@redhat.com> - 7.0.2-3 |
---|
| 91 | - rebuild for Fedora Extras 6 |
---|
| 92 | |
---|
| 93 | * Tue Feb 28 2006 Chris Wright <chrisw@redhat.com> - 7.0.2-2 |
---|
| 94 | - rebuild for Fedora Extras 5 |
---|
| 95 | |
---|
| 96 | * Mon Aug 29 2005 Chris Wright <chrisw@osdl.org> - 7.0.2-1 |
---|
| 97 | - convert spec file to UTF-8 |
---|
| 98 | - Source should be URL |
---|
| 99 | - update to 7.0.2 |
---|
| 100 | |
---|
| 101 | * Fri Aug 19 2005 Chris Wright <chrisw@osdl.org> - 7.0.1-3 |
---|
| 102 | - consistent use of RPM_BUILD_ROOT |
---|
| 103 | |
---|
| 104 | * Thu Aug 18 2005 Chris Wright <chrisw@osdl.org> - 7.0.1-2 |
---|
| 105 | - Update BuildRoot |
---|
| 106 | - use _datadir |
---|
| 107 | - use config and _sysconfdir |
---|
| 108 | |
---|
| 109 | * Wed Jun 29 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.1-1 |
---|
| 110 | - 7.0.1 |
---|
| 111 | - Drop patch now upstream |
---|
| 112 | - Build as noarch (Petr KlÃma) |
---|
| 113 | |
---|
| 114 | * Sat Jun 11 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.3 |
---|
| 115 | - Add include patch |
---|
| 116 | |
---|
| 117 | * Fri Jun 10 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.2 |
---|
| 118 | - Fix stylesheets according to Stuart |
---|
| 119 | |
---|
| 120 | * Fri Jun 10 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.1 |
---|
| 121 | - Initial package |
---|
| 122 | - Based on Debian package, thx! |
---|
| 123 | |
---|
| 124 | |
---|