]> git.pld-linux.org Git - packages/yodl.git/blob - yodl.spec
- updated to 3.05.01
[packages/yodl.git] / yodl.spec
1 Summary:        Yodl: Yet oneOther Document Language
2 Summary(pl.UTF-8):      Yodl - jeszcze jeden język opisu dokumentów
3 Name:           yodl
4 Version:        3.05.01
5 Release:        1
6 # according to src/yodl/warranty.c (although GPL v3 text is included in LICENSE)
7 License:        GPL v2
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
12 BuildRequires:  bash
13 BuildRequires:  icmake
14 BuildRequires:  libstdc++-devel >= 6:4.7
15 BuildRequires:  python
16 BuildRequires:  sed >= 4.0
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define _udatadir       %{_datadir}/%{name}
20
21 %description
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.
29
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.
39
40 %prep
41 %setup -q
42
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
45
46 %build
47 ./build programs
48 ./build macros
49 ./build man
50 ./build manual
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
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
60
61 rm -rf yodl-doc
62 %{__mv} $RPM_BUILD_ROOT%{_datadir}/doc/yodl-doc .
63 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/yodl
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %files
69 %defattr(644,root,root,755)
70 %doc AUTHORS.txt CHANGES README* changelog yodl-doc
71 %attr(755,root,root) %{_bindir}/yodl*
72 %{_datadir}/yodl
73 %{_mandir}/man1/yodl*.1*
74 %{_mandir}/man7/yodl*.7*
This page took 0.111815 seconds and 4 git commands to generate.