]> git.pld-linux.org Git - packages/asciidoc.git/commitdiff
- initial PLD release
authorwitekfl <witekfl@pld-linux.org>
Sun, 29 May 2005 21:03:27 +0000 (21:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    asciidoc.spec -> 1.1

asciidoc.spec [new file with mode: 0644]

diff --git a/asciidoc.spec b/asciidoc.spec
new file mode 100644 (file)
index 0000000..3547f18
--- /dev/null
@@ -0,0 +1,60 @@
+#
+Summary:       A tool for converting text files to various formats
+Summary(pl):   Narzêdzie do konwersji plików tekstowych do ró¿nych formatów
+Name:          asciidoc
+Version:       6.0.3
+Release:       1
+License:       GPL v2
+Group:         Applications/System
+Source0:       http://www.methods.co.nz/asciidoc/%{name}-%{version}.tar.gz
+# Source0-md5: 7b8d918f68a24c1d13be6999248788f8
+URL:           http://www.methods.co.nz/asciidoc/index.html
+Requires:      python >= 2.3
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _sysconfdir     /etc/asciidoc
+
+%description
+AsciiDoc is a text document format for writing short documents, articles,
+books and UNIX man pages. AsciiDoc files can be translated to HTML (with
+or without stylesheets), DocBook and LinuxDoc markup using the asciidoc(1)
+command. AsciiDoc is highly configurable: both the AsciiDoc source file
+syntax and the backend output markups (which can be almost any type
+of SGML/XML markup) can be customized and extended by the user.
+
+%description -l pl
+AsciiDoc jest formatem dokumentów tekstowych do pisania krótkich dokumentów,
+artyku³ów, ksi±¿ek i podrêczników systemu UNIX. Pliki AsciiDoc mog± byæ
+t³umaczone do HTML-u (z lub bez CSS), DocBook-a i LinuxDoc-a u¿ywaj±c
+polecenia asciidoc(1). AsciiDoc jest wysoce konfigurowalny: zarówno sk³adnia
+plików ¼ród³owych, jak i znaczniki backendów (które mog± byæ dowolnego typu
+SGML/XML) mog± byæ dostosowywane i rozszerzane przez u¿ytkownika.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/asciidoc/{filters,stylesheets},%{_mandir}/man1,%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT%{_datadir}/asciidoc/images/{callouts,jimmac,plain}
+
+install *.conf $RPM_BUILD_ROOT%{_sysconfdir}
+install asciidoc.py $RPM_BUILD_ROOT%{_datadir}/%{name}
+find filters -type f -exec install {} $RPM_BUILD_ROOT%{_datadir}/%{name}/{} \;;
+find images -type f -exec install {} $RPM_BUILD_ROOT%{_datadir}/%{name}/{} \;;
+install doc/asciidoc.1 $RPM_BUILD_ROOT%{_mandir}/man1
+ln -sf %{_datadir}/asciidoc/asciidoc.py $RPM_BUILD_ROOT%{_bindir}/asciidoc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc BUGS README
+%dir %{_sysconfdir}
+%config %{_sysconfdir}/*
+%{_datadir}/%{name}
+%attr(755,root,root) %{_datadir}/%{name}/asciidoc.py
+%{_bindir}/%{name}
+%{_mandir}/man1/*
This page took 0.101401 seconds and 4 git commands to generate.