Name: MagicPoint Version: 1.13a Release: 11%{?dist} Summary: X based presentation software Group: Applications/Productivity License: BSD URL: http://member.wide.ad.jp/wg/mgp/ Source0: ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/magicpoint-%{version}.tar.gz Patch0: magicpoint-1.11b-debian.patch Patch1: magicpoint-1.11b-64bit.patch Patch2: magicpoint-1.11b-embed.patch Patch3: magicpoint-1.13a-gcc-warnings.patch Patch4: magicpoint-1.13a-xwintoppm.patch Patch5: magicpoint-1.13a-m17n.patch Patch6: magicpoint-1.13a-mng.patch BuildRequires: giflib-devel libpng-devel libmng-devel fontconfig-devel BuildRequires: imlib-devel libXmu-devel libXft-devel m17n-lib-devel BuildRequires: imake bison flex perl sharutils Requires: sharutils Obsoletes: mgp < %{version}-%{release}, magicpoint < %{version}-%{release} Provides: mgp = %{version}-%{release}, magicpoint = %{version}-%{release} %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} %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %build RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function" export CFLAGS="$RPM_OPT_FLAGS" %configure --enable-locale --enable-xft2 --enable-gif --enable-imlib --with-m17n-lib xmkmf -a # LIBDIR is used by the makefile to determine where to install data files make CDEBUGFLAGS="$RPM_OPT_FLAGS" LIBDIR=%{_datadir} %install make install install.man DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_datadir} install -m 755 contrib/mgp2html.pl $RPM_BUILD_ROOT%{_bindir}/mgp2html install -m 755 contrib/mgp2latex.pl $RPM_BUILD_ROOT%{_bindir}/mgp2latex # stop these from ending up in %%doc rm sample/.cvsignore sample/*akefile* %files %doc COPYRIGHT README SYNTAX USAGE sample %{_bindir}/* %{_datadir}/mgp %{_mandir}/*/* %changelog * Fri Jun 06 2014 Fedora Release Engineering - 1.13a-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Tue Aug 27 2013 Hans de Goede - 1.13a-10 - Fix FTBFS (rhbz#1001694) * Tue Aug 27 2013 Jon Ciesla - 1.13a-9 - libmng rebuild. * Fri Aug 02 2013 Fedora Release Engineering - 1.13a-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jul 17 2013 Petr Pisar - 1.13a-7 - Perl 5.18 rebuild * Mon Mar 11 2013 Hans de Goede - 1.13a-6 - Enable m17n-lib support (rhbz#920308) * Wed Feb 13 2013 Fedora Release Engineering - 1.13a-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Fri Jan 18 2013 Adam Tkac - 1.13a-4 - rebuild due to "jpeg8-ABI" feature drop * Fri Dec 21 2012 Adam Tkac - 1.13a-3 - rebuild against new libjpeg * Wed Jul 18 2012 Fedora Release Engineering - 1.13a-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Tue May 15 2012 Hans de Goede 1.13a-1 - New upstream release 1.13a (rhbz#819168) * Thu Jan 12 2012 Fedora Release Engineering - 1.11b-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 1.11b-12 - Rebuild for new libpng * Mon Feb 07 2011 Fedora Release Engineering - 1.11b-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 1.11b-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Wed May 13 2009 Adam Jackson 1.11b-9 - Use freetype, not freetype1, which is old and broken. * Mon Feb 23 2009 Fedora Release Engineering - 1.11b-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Sun Sep 7 2008 Hans de Goede 1.11b-7 - Fix patch fuzz build failure * Sun Mar 30 2008 Hans de Goede 1.11b-6 - Fix missing prototype compiler warnings * Tue Feb 19 2008 Fedora Release Engineering - 1.11b-5 - Autorebuild for GCC 4.3 * Sat Oct 21 2006 Hans de Goede 1.11b-4 - Unorphan - Take some patches from Debian - Actually make ./configure detect and use freetype1, it was testing for it but the test failed - Package mgp2html and mgp2latex from the contrib dir * Fri Aug 5 2005 Colin Charles - 1.11b-3 - Re-enable debuginfo builds - Ralf Corsepius watchful eyes fixes - cleaning up the spec * 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 * Thu Oct 08 1998 Michael Maher - updated source to 1.04a - built for 5.2 * Fri May 22 1998 Cristian Gafton - built for PowerTools