]>
Commit | Line | Data |
---|---|---|
c0a76042 | 1 | Summary: A language for typesetting graphs |
07ae7949 | 2 | Summary(pl.UTF-8): Język do składu grafów |
c0a76042 | 3 | Name: grap |
07e7bd4a | 4 | Version: 1.39 |
c0a76042 AM |
5 | Release: 1 |
6 | License: BSD | |
7 | Group: Applications/Publishing | |
8 | Source0: http://www.lunabase.org/~faber/Vault/software/grap/%{name}-%{version}.tar.gz | |
07e7bd4a | 9 | # Source0-md5: af9ad4aec173b15ec749b0d1de416935 |
c0a76042 | 10 | URL: http://www.lunabase.org/~faber/Vault/software/grap/ |
305e8566 | 11 | BuildRequires: autoconf |
c0a76042 | 12 | BuildRequires: bison |
b97e10e0 | 13 | BuildRequires: flex |
c0a76042 AM |
14 | BuildRequires: libstdc++-devel |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
16 | ||
17 | %description | |
18 | Grap is a language for typesetting graphs specified and first | |
19 | implemented by Brian Kernighan and Jon Bentley at Bell Labs. It is an | |
20 | expressive language for describing graphs and incorporating them in | |
b97e10e0 | 21 | typeset documents. It is implemented as a preprocessor to Kernighan's |
c0a76042 AM |
22 | pic language for describing languages, so any system that can use pic |
23 | can use grap. For sure, TeX and groff can use it. | |
24 | ||
07ae7949 JR |
25 | %description -l pl.UTF-8 |
26 | Grap to język do składu grafów zdefiniowany i po raz pierwszy | |
b97e10e0 | 27 | zaimplementowany przez Briana Kernighana i Jona Bentleya w Bell Labs. |
07ae7949 JR |
28 | Jest to język wyrażeń do opisu grafów i włączania ich do składanych |
29 | dokumentów. Jest zaimplementowany jako preprocesor dla języka pic | |
30 | Kernighana służącego do opisu języków, więc dowolny system używający | |
31 | języka pic może używać języka grap. Na pewno mogą go używać TeX i | |
b97e10e0 JB |
32 | groff. |
33 | ||
c0a76042 AM |
34 | %prep |
35 | %setup -q | |
c0a76042 AM |
36 | |
37 | %build | |
38 | %{__autoconf} | |
39 | CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | BINDIR=$RPM_BUILD_ROOT%{_bindir} \ | |
5eb866a6 | 48 | DEFINESDIR=$RPM_BUILD_ROOT%{_datadir}/grap \ |
c0a76042 | 49 | DOCDIR=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \ |
5eb866a6 | 50 | MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \ |
d7f41fd0 | 51 | EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} |
c0a76042 AM |
52 | |
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
c0a76042 AM |
56 | %files |
57 | %defattr(644,root,root,755) | |
58 | %doc CHANGES README | |
59 | %attr(755,root,root) %{_bindir}/* | |
5eb866a6 | 60 | %{_datadir}/grap |
61 | %{_mandir}/man1/grap* | |
d7f41fd0 | 62 | %{_examplesdir}/%{name}-%{version} |