]> git.pld-linux.org Git - packages/grap.git/blob - grap.spec
8089130aa0184c49c46ddaa9ff2a083037ce9433
[packages/grap.git] / grap.spec
1 Summary:        A language for typesetting graphs
2 Summary(pl.UTF-8):      Język do składu grafów
3 Name:           grap
4 Version:        1.41
5 Release:        1
6 License:        BSD
7 Group:          Applications/Publishing
8 Source0:        http://www.lunabase.org/~faber/Vault/software/grap/%{name}-%{version}.tar.gz
9 # Source0-md5:  e5c105a50669016f66bcc1517783ef67
10 URL:            http://www.lunabase.org/~faber/Vault/software/grap/
11 BuildRequires:  autoconf
12 BuildRequires:  bison
13 BuildRequires:  flex
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
21 typeset documents. It is implemented as a preprocessor to Kernighan's
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
25 %description -l pl.UTF-8
26 Grap to język do składu grafów zdefiniowany i po raz pierwszy
27 zaimplementowany przez Briana Kernighana i Jona Bentleya w Bell Labs.
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
32 groff.
33
34 %prep
35 %setup -q
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} \
48         DEFINESDIR=$RPM_BUILD_ROOT%{_datadir}/grap \
49         DOCDIR=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
50         MANDIR=$RPM_BUILD_ROOT%{_mandir}/man1 \
51         EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc CHANGES README
59 %attr(755,root,root) %{_bindir}/*
60 %{_datadir}/grap
61 %{_mandir}/man1/grap*
62 %{_examplesdir}/%{name}-%{version}
This page took 0.172997 seconds and 3 git commands to generate.