File: grap.spec

package info (click to toggle)
grap 1.41-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 832 kB
  • ctags: 601
  • sloc: cpp: 3,064; yacc: 1,063; lex: 1,046; makefile: 163; sh: 153; awk: 5
file content (44 lines) | stat: -rw-r--r-- 905 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# -*-rpm-spec-*-
%define	prefix   %{_prefix}
%define version 1.41

Summary: grap, typesets graphs for groff
Name: grap
Version: %{version}
Release: 1
License: BSD
Group: Applications/Publishing
Source: http://www.lunabase.org/~faber/Vault/software/grap/grap-%{version}.tar.gz
BuildRoot: /var/tmp/grap-%{version}

%description
This is grap, an implementation of Kernighan and Bentley\'s grap
language for typesetting graphs. 


%prep
%setup

%build
./configure --prefix=%{prefix} --mandir=%{prefix}/share/man
make prefix=$RPM_BUILD_ROOT%{prefix} MANDIR=$RPM_BUILD_ROOT%{prefix}/share/man/man1

%install
make prefix=$RPM_BUILD_ROOT%{prefix} MANDIR=$RPM_BUILD_ROOT%{prefix}/share/man/man1 install


%files
%defattr(-, root, root)

%doc README
%doc COPYRIGHT
%doc CHANGES

%{prefix}/bin/grap
%{prefix}/share/man/man1/grap.1.gz
%{prefix}/share/grap/
%{prefix}/share/examples/grap/
%{prefix}/share/doc/grap/