File: mgp.spec

package info (click to toggle)
mgp 1.13a+upstream20090219-11
  • links: PTS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 4,128 kB
  • sloc: ansic: 32,387; sh: 4,295; lisp: 1,405; yacc: 945; lex: 264; makefile: 158; perl: 117; awk: 9
file content (76 lines) | stat: -rw-r--r-- 1,837 bytes parent folder | download | duplicates (4)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%define name	magicpoint
%define version	1.12b
%define release	1
%define serial	1
%define prefix	/usr/X11R6

Summary:	X based presentation software.
Name:		%{name}
Version:	%{version}
Release:	%{release}
Serial:		%{serial}
Copyright:	BSD
Group:		Applications/Productivity
URL:		http://member.wide.ad.jp/wg/mgp/
Source:		magicpoint-%{version}.tar.gz
BuildRoot:	/var/tmp/magicpoint-%{version}-root

%description
MagicPoint is an X11 based presentation tool.  MagicPoint's
presentation files (typically .mgp files) are plain text so you can
create presentation files quickly with your favorite editor.

%prep
%setup -q -n magicpoint-%{version}

%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --enable-gif --prefix=%{prefix}
xmkmf -a
CFLAGS="$RPM_OPT_FLAGS" \
make

%install
rm -rf $RPM_BUILD_ROOT
make install install.man DESTDIR=$RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README SYNTAX USAGE 
%doc sample
%{prefix}/bin/mgp
%{prefix}/bin/mgp2ps
%{prefix}/bin/mgpembed
%{prefix}/bin/mgpnet
%{prefix}/bin/xwintoppm
%{prefix}/lib/X11/mgp/default.mgp
%{prefix}/lib/X11/mgp/mgp1.jpg
%{prefix}/lib/X11/mgp/mgp2.jpg
%{prefix}/lib/X11/mgp/mgp3.jpg
%dir %{prefix}/lib/X11/mgp
%{prefix}/man/man1/mgp.1x.gz
%{prefix}/man/man1/mgp2ps.1x.gz
%{prefix}/man/man1/mgpembed.1x.gz
%{prefix}/man/man1/mgpnet.1x.gz
%{prefix}/man/man1/xwintoppm.1x.gz

%changelog
* Thu Nov 18 1999 Carlos Puchol <cpg@puchol.com>
- added CFLAGS compilation to pick up from rpm configs
- cleaned up spec file

* Mon Jul 19 1999 Tim Powers <timp@redhat.com>
- updated source to 1.05a 
- built for 6.1

* Thu Apr 15 1999 Michael Maher <mike@redhat.com>
- built package for 6.0

* Fri Oct 08 1998 Michael Maher <mike@redhat.com> 
- updated source to 1.04a
- built for 5.2

* Fri May 22 1998 Cristian Gafton <gafton@redhat.com>
- built for PowerTools