]> git.pld-linux.org Git - packages/asciidoc.git/blame - asciidoc.spec
- converted to UTF-8
[packages/asciidoc.git] / asciidoc.spec
CommitLineData
86d6172c 1Summary: A tool for converting text files to various formats
3dc03438 2Summary(pl.UTF-8): Narzędzie do konwersji plików tekstowych do różnych formatów
86d6172c 3Name: asciidoc
c42e3e04 4Version: 7.1.2
5Release: 1
86d6172c 6License: GPL v2
7Group: Applications/System
8Source0: http://www.methods.co.nz/asciidoc/%{name}-%{version}.tar.gz
c42e3e04 9# Source0-md5: 554af81fb0e578a77ede4359ef79db69
86d6172c 10URL: http://www.methods.co.nz/asciidoc/index.html
11Requires: python >= 2.3
5809aeb6 12Requires: python-modules >= 2.3
29d5dcd1 13Requires: xmlto
86d6172c 14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define _sysconfdir /etc/asciidoc
18
19%description
fd5d72cd
JB
20AsciiDoc is a text document format for writing short documents,
21articles, books and UNIX man pages. AsciiDoc files can be translated
22to HTML (with or without stylesheets), DocBook and LinuxDoc markup
23using the asciidoc(1) command. AsciiDoc is highly configurable: both
24the AsciiDoc source file syntax and the backend output markups (which
25can be almost any type of SGML/XML markup) can be customized and
26extended by the user.
86d6172c 27
3dc03438
JR
28%description -l pl.UTF-8
29AsciiDoc jest formatem dokumentów tekstowych do pisania krótkich
30dokumentów, artykułów, książek i podręczników systemu UNIX. Pliki
31AsciiDoc mogą być tłumaczone do HTML-a (z lub bez CSS), DocBooka i
32LinuxDoca używając polecenia asciidoc(1). AsciiDoc jest wysoce
33konfigurowalny: zarówno składnia plików źródłowych, jak i znaczniki
34backendów (które mogą być dowolnego typu SGML/XML) mogą być
35dostosowywane i rozszerzane przez użytkownika.
86d6172c 36
37%prep
38%setup -q
39
40%install
41rm -rf $RPM_BUILD_ROOT
c42e3e04 42install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1,%{_sysconfdir}}
43install -d $RPM_BUILD_ROOT%{_datadir}/asciidoc/{docbook-xsl,javascripts,filters,stylesheets}
44install -d $RPM_BUILD_ROOT%{_datadir}/asciidoc/images/icons/callouts
86d6172c 45
46install *.conf $RPM_BUILD_ROOT%{_sysconfdir}
47install asciidoc.py $RPM_BUILD_ROOT%{_datadir}/%{name}
c42e3e04 48for i in docbook-xsl filters images javascripts stylesheets
49do
50 find $i -type f -exec install {} $RPM_BUILD_ROOT%{_datadir}/%{name}/{} \;;
51done
86d6172c 52install doc/asciidoc.1 $RPM_BUILD_ROOT%{_mandir}/man1
53ln -sf %{_datadir}/asciidoc/asciidoc.py $RPM_BUILD_ROOT%{_bindir}/asciidoc
29d5dcd1 54ln -sf %{_datadir}/%{name}/stylesheets $RPM_BUILD_ROOT%{_sysconfdir}/stylesheets
86d6172c 55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
c42e3e04 61%doc BUGS CHANGELOG README doc/asciidoc.html examples
fd5d72cd 62%attr(755,root,root) %{_bindir}/%{name}
86d6172c 63%dir %{_sysconfdir}
fd5d72cd 64%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/*
e40d22cf 65%dir %{_datadir}/%{name}
86d6172c 66%attr(755,root,root) %{_datadir}/%{name}/asciidoc.py
c42e3e04 67%{_datadir}/%{name}/docbook-xsl
e40d22cf
JB
68%{_datadir}/%{name}/filters
69%{_datadir}/%{name}/images
c42e3e04 70%{_datadir}/%{name}/javascripts
e40d22cf 71%{_datadir}/%{name}/stylesheets
86d6172c 72%{_mandir}/man1/*
This page took 0.061363 seconds and 4 git commands to generate.