%define x11dir %{_prefix}/X11R6 %define x11bindir %{x11dir}/bin %define x11datadir %{x11dir}/lib %define x11mandir %{x11dir}/man Name: MagicPoint Version: 1.11b Release: 3%{?dist} Summary: X based presentation software Group: Applications/Productivity License: BSD URL: http://www.mew.org/mgp Source0: ftp://ftp.mew.org/pub/MagicPoint/magicpoint-%{version}.tar.gz Patch1: magicpoint-1.08a-redhat.patch Patch2: magicpoint-1.09a-rpath.patch Patch3: magicpoint-1.11a-fix-gcc-warnings.patch Patch6: magicpoint-1.10a-longline.patch Patch10: magicpoint-1.10a-fix-usleep.patch Patch11: magicpoint-1.10a-fix-gcc34.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: freetype-devel fontconfig-devel xorg-x11-devel libungif-devel libpng-devel libmng-devel imlib-devel autoconf automake libtool byacc flex Requires: imlib Obsoletes: mgp,magicpoint Provides: mgp,magicpoint %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} %patch1 -p1 -b .rh %patch2 -p1 -b .rpath %patch3 -p1 -b .warnings %patch6 -p1 -b .longline %patch10 -p1 -b .usleep %patch11 -p1 -b .gcc34 %build CPPFLAGS=-I/usr/include/freetype1/freetype autoconf cp /usr/share/libtool/config.{sub,guess} . %configure --prefix=/usr/X11R6 --enable-gif --disable-vflib --enable-imlib xmkmf -a make rm -rf $RPM_BUILD_DIR/magicpoint-%{version}/sample/.cvsignore %install rm -rf $RPM_BUILD_ROOT make install install.man DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(755,root,root,755) %{x11bindir}/* %defattr(644,root,root,755) %doc COPYRIGHT README SYNTAX USAGE sample %{x11datadir}/X11/mgp %{x11mandir}/*/* %changelog * Fri Aug 5 2005 Colin Charles - 1.11b-3 - Re-enable debuginfo builds - Ralf Corsepius watchful eyes fixes * Thu Aug 4 2005 Colin Charles - 1.11b-2 - Removed Patch12 to fix undefined operation - Bump spec to somewhat match work from Rui Miguel Silva Seabra - Remove requirement on VFlib2, seeing that we disable it in configure * Mon Sep 27 2004 Akira TAGOH - 1.11b-1 - New upstream release. * Wed Sep 15 2004 Akira TAGOH - 1.11a-1 - New upstream release. - magicpoint-1.11a-fix-gcc-warnings.patch: updated from 1.10a. - magicpoint-1.10a-fixtypo-opaque.patch: removed, it's no lnger needed. - magicpoint-1.10a-fix-ft2build.patch: removed, it's no longer needed. - magicpoint-1.10a-png.patch: removed, it's no longer needed. - XFree4.0-freetype.patch: removed, freetype1 is no longer available. * Mon Jun 21 2004 Akira TAGOH 1.10a-10 - magicpoint-1.10a-fix-gcc34.patch: applied to build with gcc 3.4. * Tue Jun 15 2004 Elliot Lee - rebuilt * Wed Feb 18 2004 Akira TAGOH 1.10a-8 - fix wrong license description. (#115947: Miloslav Trmac) - included COPYRIGHT file. * Fri Feb 13 2004 Elliot Lee - rebuilt * Mon Feb 09 2004 Akira TAGOH 1.10a-6 - magicpoint-1.10a-fix-gcc-warnings2.patch: applied to fix gcc warnings (#115161) - magicpoint-1.10a-fix-ft2build.patch: applied to fix build error for freetype. - magicpoint-1.10a-fix-usleep.patch: applied to fix missing compile options. * Fri Nov 28 2003 Akira TAGOH 1.10a-5 - magicpoint-1.10a-fix-gcc-warnings.patch: updated for more gcc3 compliant. (#110773) * Fri Sep 19 2003 Akira TAGOH 1.10a-4 - added some missing BuildRequires. * Tue Sep 02 2003 Akira TAGOH 1.10a-3 - magicpoint-1.10a-fixtypo-opaque.patch: applied a patch to work the opaque. * Wed Aug 20 2003 Akira TAGOH 1.10a-2 - magicpoint-1.10a-longline.patch: fixed the freeze if the line is too long. (#100736) * Wed Jun 25 2003 Akira TAGOH 1.10a-1 - New upstream release. - removed the dependency of watanabe-vf due to the copyright issue. - add fontconfig-devel and XFree86-devel to BuildReqruies. * Wed Jun 04 2003 Elliot Lee - rebuilt * Thu May 22 2003 Jeremy Katz 1.09a-12 - gcc 3.3 doesn't implement varargs.h, include stdarg.h instead * Fri Apr 18 2003 Akira TAGOH 1.09a-11 - rebuild. * Fri Apr 18 2003 Akira TAGOH 1.09a-10 - magicpoint-1.09a-rpath.patch: don't specify -rpath. (#65966) - magicpoint-1.09a-fix-gcc-warnings.patch: applied to fix gcc warnings. (#79642) * Wed Jan 22 2003 Tim Powers - rebuilt * Wed Dec 11 2002 Tim Powers 1.09a-8 - add VFlib2-conf-ja >=2.25.6-8 as a requirement to fix bug 74105 * Wed Nov 20 2002 Tim Powers - rebuild on all arches * Tue Jun 25 2002 Owen Taylor - Remove extraneous ttfonts dependency; VFlib already has that dependency * Fri Jun 21 2002 Tim Powers - automated rebuild * Mon May 27 2002 Yukihiro Nakai - Remove .cvsignore file(#65241) * Thu May 23 2002 Tim Powers - automated rebuild * Tue Mar 26 2002 Yukihiro Nakai - Update to 1.09a * Tue Mar 5 2002 Jeremy Katz - Add ttfonts to Requires (#24868) - rebuild in new environment * Thu Jan 31 2002 Bill Nottingham - rebuild in new environment * Wed Sep 05 2001 Yukihiro Nakai - Add magicpoint to Obsoletes. * Tue Sep 04 2001 Yukihiro Nakai - Add --enable-gif - Add watanabe-vf to Requires. * Wed Jul 18 2001 Yukihiro Nakai - Delete require ttfont-ja * Mon Jul 9 2001 Yukihiro Nakai - Rebuild against RHL7.2 - Rename to MagicPoint - Update to 1.08a - Enable vflib * Wed Jan 24 2001 Tim Powers - fixed bug 24868 * Mon Aug 7 2000 Tim Powers - disable vflib to fix bug #15607 * Wed Aug 2 2000 Tim Powers - rebuilt against libpng-1.0.8 * Mon Jul 24 2000 Prospector - rebuilt * Thu Jul 13 2000 Nalin Dahyabhai - stop disabling freetype support * Mon Jul 10 2000 Tim Powers - rebuilt * Mon Jul 03 2000 Prospector - automatic rebuild * Wed May 24 2000 Tim Powers - updated to 1.07a - cleaned up files list - using %configure - fixed to use XFree86 4.0 * 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