]> git.pld-linux.org Git - packages/grap.git/blame - grap.spec
BR: autoconf
[packages/grap.git] / grap.spec
CommitLineData
c0a76042
AM
1#
2Summary: A language for typesetting graphs
3Name: grap
4Version: 1.30
5Release: 1
6License: BSD
7Group: Applications/Publishing
8Source0: http://www.lunabase.org/~faber/Vault/software/grap/%{name}-%{version}.tar.gz
9# Source0-md5: f84c99b1746a963328f38d050529b778
10Patch0: %{name}-debian.patch
11URL: http://www.lunabase.org/~faber/Vault/software/grap/
305e8566 12BuildRequires: autoconf
c0a76042
AM
13BuildRequires: flex
14BuildRequires: bison
15BuildRequires: libstdc++-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Grap is a language for typesetting graphs specified and first
20implemented by Brian Kernighan and Jon Bentley at Bell Labs. It is an
21expressive language for describing graphs and incorporating them in
22typeset documents. It is implemented as a preprocessor to Kernigan's
23pic language for describing languages, so any system that can use pic
24can use grap. For sure, TeX and groff can use it.
25
26%prep
27%setup -q
28%patch0 -p1
29
30%build
31%{__autoconf}
32CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
33%configure
34%{__make}
35
36%install
37rm -rf $RPM_BUILD_ROOT
38
39%{__make} install \
40 BINDIR=$RPM_BUILD_ROOT%{_bindir} \
41 DEFINESDIR=$RPM_BUILD_ROOT%{_datadir}/misc \
42 DOCDIR=$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} \
43 MANDIR=RPM_BUILD_ROOT%{_mandir}/man1 \
44 EXAMPLEDIR=RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
45
46%clean
47rm -rf $RPM_BUILD_ROOT
48
c0a76042
AM
49%files
50%defattr(644,root,root,755)
51%doc CHANGES README
52%attr(755,root,root) %{_bindir}/*
53%{_datadir}/misc/*
This page took 0.053625 seconds and 4 git commands to generate.