2005-08-30 00:31:22 +00:00
|
|
|
|
Summary: Text based document generation
|
|
|
|
|
Name: asciidoc
|
|
|
|
|
Version: 7.0.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
License: GPL
|
|
|
|
|
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
|
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters
|
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT/%{_datadir}/asciidoc
|
|
|
|
|
%{__install} -d $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
|
|
|
|
|
|
%{__install} -m 0644 *.conf $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc
|
2005-08-30 16:17:20 +00:00
|
|
|
|
ln -s %{_datadir}/asciidoc/stylesheets $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/
|
2005-08-30 00:31:22 +00:00
|
|
|
|
%{__install} -m 0644 filters/{code-filter.conf,code-filter.py} $RPM_BUILD_ROOT/%{_sysconfdir}/asciidoc/filters/
|
|
|
|
|
%{__install} -D -m 0755 asciidoc.py $RPM_BUILD_ROOT/%{_bindir}/asciidoc
|
|
|
|
|
%{__install} -m 0644 doc/asciidoc.1 $RPM_BUILD_ROOT/%{_mandir}/man1
|
|
|
|
|
%{__cp} -av images/ stylesheets/ $RPM_BUILD_ROOT/%{_datadir}/asciidoc/
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/asciidoc
|
|
|
|
|
%{_bindir}/asciidoc
|
|
|
|
|
%{_mandir}/man1/*
|
|
|
|
|
%{_datadir}/asciidoc/
|
|
|
|
|
%doc README BUGS CHANGELOG COPYRIGHT doc examples
|
|
|
|
|
|
|
|
|
|
%changelog
|
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
|
|
|
|
|