1 Summary: Yodl: Yet oneOther Document Language
2 Summary(pl.UTF-8): Yodl - jeszcze jeden język opisu dokumentów
6 # according to src/yodl/warranty.c (although GPL v3 text is included in LICENSE)
8 Group: Applications/Text
9 Source0: http://downloads.sourceforge.net/yodl/%{name}_%{version}.orig.tar.gz
10 # Source0-md5: 68bdd1de6da7f49e510da69a99dc26f2
11 URL: https://gitlab.com/fbb-git/yodl
14 BuildRequires: libstdc++-devel >= 6:4.7
16 BuildRequires: sed >= 4.0
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _udatadir %{_datadir}/%{name}
22 Yodl is a package that implements a pre-document language and tools to
23 process it. The idea of Yodl is that you write up a document in a
24 pre-language, then use the tools (e.g. yodl2html) to convert it to
25 some final document language. Current converters are for HTML, ms,
26 man, LaTeX SGML and texinfo, plus a poor-man's text converter. Main
27 document types are "article", "report", "book" and "manpage". The Yodl
28 document language is designed to be easy to use and extensible.
30 %description -l pl.UTF-8
31 Yodl to pakiet z implementacją języka pre-dokumentu i narzędzi do jego
32 przetwarzania. Idea Yodla jest taka, że pisze się dokument w
33 pre-języku, następnie używa narzędzi (np. yodl2html) by
34 przekonwertować go do jakiegoś docelowego języka dokumentu. Aktualnie
35 yodl zawiera konwertery do: HTML, ms, man, LaTeX, SGML i texinfo, oraz
36 text. Główne typy dokumentów to "artykuł", "raport", "książka" i
37 "strona podręcznika man". Język Yodl był projektowany tak, by być
38 łatwy w użyciu i rozszerzalny.
43 %{__sed} -i -e 's#-O2#%{rpmcflags} %{rpmcppflags}#g' build
44 %{__sed} -i -e '/COMPILER/ s#gcc#%{__cc}#' -e '/CXX/ s#g++#%{__cxx}#' INSTALL.im
53 rm -rf $RPM_BUILD_ROOT
55 ./build install programs $RPM_BUILD_ROOT
56 ./build install macros $RPM_BUILD_ROOT
57 ./build install man $RPM_BUILD_ROOT
58 ./build install manual $RPM_BUILD_ROOT
59 ./build install docs $RPM_BUILD_ROOT
62 %{__mv} $RPM_BUILD_ROOT%{_datadir}/doc/yodl-doc .
63 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/yodl
66 rm -rf $RPM_BUILD_ROOT
69 %defattr(644,root,root,755)
70 %doc AUTHORS.txt CHANGES README* changelog yodl-doc
71 %attr(755,root,root) %{_bindir}/yodl*
73 %{_mandir}/man1/yodl*.1*
74 %{_mandir}/man7/yodl*.7*