%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 - added CFLAGS compilation to pick up from rpm configs - cleaned up spec file * Mon Jul 19 1999 Tim Powers - updated source to 1.05a - built for 6.1 * Thu Apr 15 1999 Michael Maher - built package for 6.0 * Fri Oct 08 1998 Michael Maher - updated source to 1.04a - built for 5.2 * Fri May 22 1998 Cristian Gafton - built for PowerTools