2005-08-30 00:31:22 +00:00
|
|
|
|
Summary: Text based document generation
|
|
|
|
|
Name: asciidoc
|
2009-06-19 03:42:36 +00:00
|
|
|
|
Version: 8.4.5
|
2009-07-24 17:10:42 +00:00
|
|
|
|
Release: 2%{?dist}
|
2008-05-22 18:00:10 +00:00
|
|
|
|
# The python code does not specify a version.
|
|
|
|
|
# The javascript example code is GPLv2+.
|
|
|
|
|
License: GPL+ and GPLv2+
|
2005-08-30 00:31:22 +00:00
|
|
|
|
Group: Applications/System
|
|
|
|
|
URL: http://www.methods.co.nz/asciidoc/
|
|
|
|
|
Source0: http://www.methods.co.nz/asciidoc/%{name}-%{version}.tar.gz
|
|
|
|
|
Requires: python >= 2.3
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
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(1) command.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2007-03-20 01:49:21 +00:00
|
|
|
|
# make directory structure
|
2009-06-19 03:42:36 +00:00
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/code \
|
|
|
|
|
-d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/music \
|
|
|
|
|
-d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/source \
|
|
|
|
|
-d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/graphviz \
|
2007-03-20 01:49:21 +00:00
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/asciidoc/docbook-xsl \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/asciidoc/stylesheets \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/asciidoc/javascripts \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons/callouts \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_bindir} \
|
|
|
|
|
$RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
# real conf data goes to sysconfdir, rest goes to datadir
|
2005-08-30 00:31:22 +00:00
|
|
|
|
%{__install} -m 0644 *.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc
|
2009-06-19 03:42:36 +00:00
|
|
|
|
%{__install} -m 0644 filters/code/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/code/
|
|
|
|
|
%{__install} -m 0644 filters/music/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/music/
|
|
|
|
|
%{__install} -m 0644 filters/source/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/source/
|
|
|
|
|
%{__install} -m 0644 filters/graphviz/*.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/graphviz/
|
|
|
|
|
%{__install} filters/code/*.py $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/code/
|
|
|
|
|
%{__install} filters/music/*.py $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/music/
|
|
|
|
|
%{__install} filters/graphviz/*.py $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/graphviz/
|
2007-03-20 01:49:21 +00:00
|
|
|
|
|
|
|
|
|
# symlinks so asciidoc works
|
|
|
|
|
ln -s %{_datadir}/asciidoc/docbook-xsl $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/
|
2005-08-30 16:17:20 +00:00
|
|
|
|
ln -s %{_datadir}/asciidoc/stylesheets $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/
|
2007-03-20 01:49:21 +00:00
|
|
|
|
ln -s %{_datadir}/asciidoc/javascripts $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/
|
|
|
|
|
ln -s %{_datadir}/asciidoc/images $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/
|
|
|
|
|
|
|
|
|
|
# binaries
|
|
|
|
|
%{__install} asciidoc.py $RPM_BUILD_ROOT/%{_bindir}/asciidoc
|
|
|
|
|
%{__install} a2x $RPM_BUILD_ROOT/%{_bindir}/
|
|
|
|
|
|
|
|
|
|
# manpages
|
|
|
|
|
%{__install} -m 0644 doc/*.1 $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
# ancillary data
|
|
|
|
|
%{__install} -m 0644 docbook-xsl/*.xsl $RPM_BUILD_ROOT/%{_datadir}/asciidoc/docbook-xsl
|
|
|
|
|
%{__install} -m 0644 stylesheets/*.css $RPM_BUILD_ROOT/%{_datadir}/asciidoc/stylesheets/
|
|
|
|
|
%{__install} -m 0644 javascripts/*.js $RPM_BUILD_ROOT/%{_datadir}/asciidoc/javascripts
|
|
|
|
|
%{__install} -m 0644 images/icons/callouts/* $RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons/callouts
|
|
|
|
|
%{__install} -m 0644 images/icons/{README,*.png} $RPM_BUILD_ROOT/%{_datadir}/asciidoc/images/icons
|
2005-08-30 00:31:22 +00:00
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/asciidoc
|
2007-03-20 01:49:21 +00:00
|
|
|
|
%{_bindir}/*
|
2005-08-30 00:31:22 +00:00
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_datadir}/asciidoc/
|
2007-12-05 11:29:05 +00:00
|
|
|
|
%doc README BUGS CHANGELOG COPYRIGHT
|
2005-08-30 00:31:22 +00:00
|
|
|
|
|
|
|
|
|
%changelog
|
2009-07-24 17:10:42 +00:00
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.4.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
2009-06-19 03:42:36 +00:00
|
|
|
|
* Fri Jun 19 2009 Dave Airlie <airlied@redhat.com> 8.4.5-1
|
|
|
|
|
- new upstream version 8.4.5 - required by X.org libXi to build
|
|
|
|
|
|
2009-02-24 02:03:01 +00:00
|
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 8.2.5-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
|
2008-05-22 18:00:10 +00:00
|
|
|
|
* Thu May 22 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 8.2.5-3
|
|
|
|
|
- fix license tag
|
|
|
|
|
|
2007-12-05 11:29:05 +00:00
|
|
|
|
* Wed Dec 05 2007 Florian La Roche <laroche@redhat.com> - 8.2.5-2
|
|
|
|
|
- remove doc/examples from filelist due to dangling symlinks
|
|
|
|
|
|
|
|
|
|
* Tue Nov 20 2007 Florian La Roche <laroche@redhat.com> - 8.2.5-1
|
2007-11-20 08:47:11 +00:00
|
|
|
|
- new upstream version 8.2.5
|
|
|
|
|
|
2007-10-22 12:30:16 +00:00
|
|
|
|
* Mon Oct 22 2007 Florian La Roche <laroche@redhat.com> - 8.2.3-1
|
|
|
|
|
- new upstream version 8.2.3
|
|
|
|
|
|
2007-09-01 18:26:15 +00:00
|
|
|
|
* Sat Sep 01 2007 Florian La Roche <laroche@redhat.com> - 8.2.2-1
|
|
|
|
|
- new upstream version 8.2.2
|
|
|
|
|
|
2007-03-20 01:49:21 +00:00
|
|
|
|
* Mon Mar 19 2007 Chris Wright <chrisw@redhat.com> - 8.1.0-1
|
|
|
|
|
- update to asciidoc 8.1.0
|
|
|
|
|
|
2006-09-14 22:53:11 +00:00
|
|
|
|
* Thu Sep 14 2006 Chris Wright <chrisw@redhat.com> - 7.0.2-3
|
|
|
|
|
- rebuild for Fedora Extras 6
|
|
|
|
|
|
2006-02-28 17:40:51 +00:00
|
|
|
|
* Tue Feb 28 2006 Chris Wright <chrisw@redhat.com> - 7.0.2-2
|
|
|
|
|
- rebuild for Fedora Extras 5
|
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
* Mon Aug 29 2005 Chris Wright <chrisw@osdl.org> - 7.0.2-1
|
|
|
|
|
- convert spec file to UTF-8
|
|
|
|
|
- Source should be URL
|
|
|
|
|
- update to 7.0.2
|
2005-08-30 00:31:22 +00:00
|
|
|
|
|
|
|
|
|
* Fri Aug 19 2005 Chris Wright <chrisw@osdl.org> - 7.0.1-3
|
|
|
|
|
- consistent use of RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
* Thu Aug 18 2005 Chris Wright <chrisw@osdl.org> - 7.0.1-2
|
|
|
|
|
- Update BuildRoot
|
|
|
|
|
- use _datadir
|
|
|
|
|
- use config and _sysconfdir
|
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
* Wed Jun 29 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.1-1
|
2005-08-30 00:31:22 +00:00
|
|
|
|
- 7.0.1
|
|
|
|
|
- Drop patch now upstream
|
2005-08-30 16:17:20 +00:00
|
|
|
|
- Build as noarch (Petr KlÃma)
|
2005-08-30 00:31:22 +00:00
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
* Sat Jun 11 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.3
|
2005-08-30 00:31:22 +00:00
|
|
|
|
- Add include patch
|
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
* Fri Jun 10 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.2
|
2005-08-30 00:31:22 +00:00
|
|
|
|
- Fix stylesheets according to Stuart
|
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
* Fri Jun 10 2005 Terje Røsten <terje.rosten@ntnu.no> - 7.0.0-0.1
|
2005-08-30 00:31:22 +00:00
|
|
|
|
- Initial package
|
|
|
|
|
- Based on Debian package, thx!
|
|
|
|
|
|
2005-08-30 16:17:20 +00:00
|
|
|
|
|