127ea55
Name:           MagicPoint
40af0b0
Version:        1.13a
8a83e2f
Release:        4%{?dist}
127ea55
Summary:        X based presentation software
127ea55
Group:          Applications/Productivity
127ea55
License:        BSD
127ea55
URL:            http://member.wide.ad.jp/wg/mgp/
127ea55
Source0:        ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/magicpoint-%{version}.tar.gz
127ea55
Patch0:         magicpoint-1.11b-debian.patch
127ea55
Patch1:         magicpoint-1.11b-64bit.patch
40af0b0
Patch2:         magicpoint-1.11b-embed.patch
40af0b0
Patch3:         magicpoint-1.13a-gcc-warnings.patch
40af0b0
Patch4:         magicpoint-1.13a-xwintoppm.patch
40af0b0
BuildRequires:  giflib-devel libpng-devel libmng-devel fontconfig-devel imake
1bf8066
BuildRequires:  imlib-devel libXmu-devel libXft-devel bison flex perl sharutils
127ea55
Requires:       sharutils
127ea55
Obsoletes:      mgp < %{version}-%{release}, magicpoint < %{version}-%{release}
127ea55
Provides:       mgp = %{version}-%{release}, magicpoint = %{version}-%{release}
127ea55
127ea55
%description
127ea55
MagicPoint is an X11 based presentation tool. MagicPoint's
127ea55
presentation files (typically .mgp files) are plain text so you can
127ea55
create presentation files quickly with your favorite editor.
127ea55
127ea55
127ea55
%prep
127ea55
%setup -q -n magicpoint-%{version}
127ea55
%patch0 -p1
40af0b0
%patch1 -p1
40af0b0
%patch2 -p1
40af0b0
%patch3 -p1
40af0b0
%patch4 -p1
127ea55
127ea55
127ea55
%build
40af0b0
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -Wno-pointer-sign -Wno-unused-variable -Wno-unused-but-set-variable -Wno-unused-function"
91b16b9
export CFLAGS="$RPM_OPT_FLAGS"
40af0b0
%configure --enable-locale --enable-xft2 --enable-gif --enable-imlib
127ea55
xmkmf -a
127ea55
# LIBDIR is used by the makefile to determine where to install data files
127ea55
make CDEBUGFLAGS="$RPM_OPT_FLAGS" LIBDIR=%{_datadir}
127ea55
127ea55
127ea55
%install
127ea55
make install install.man DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_datadir}
127ea55
install -m 755 contrib/mgp2html.pl $RPM_BUILD_ROOT%{_bindir}/mgp2html
127ea55
install -m 755 contrib/mgp2latex.pl $RPM_BUILD_ROOT%{_bindir}/mgp2latex
40af0b0
# stop these from ending up in %%doc
127ea55
rm sample/.cvsignore sample/*akefile*
127ea55
127ea55
127ea55
%files
127ea55
%doc COPYRIGHT README SYNTAX USAGE sample
127ea55
%{_bindir}/*
127ea55
%{_datadir}/mgp
127ea55
%{_mandir}/*/*
127ea55
127ea55
127ea55
%changelog
8a83e2f
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.13a-4
8a83e2f
- rebuild due to "jpeg8-ABI" feature drop
8a83e2f
ca28ec8
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.13a-3
ca28ec8
- rebuild against new libjpeg
ca28ec8
89e64e8
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13a-2
89e64e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
89e64e8
40af0b0
* Tue May 15 2012 Hans de Goede <hdegoede@redhat.com> 1.13a-1
40af0b0
- New upstream release 1.13a (rhbz#819168)
40af0b0
a3d050d
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-13
a3d050d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
a3d050d
225f2c6
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 1.11b-12
225f2c6
- Rebuild for new libpng
225f2c6
2587b84
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-11
2587b84
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2587b84
18a1fce
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-10
18a1fce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
18a1fce
91b16b9
* Wed May 13 2009 Adam Jackson <ajax@redhat.com> 1.11b-9
91b16b9
- Use freetype, not freetype1, which is old and broken.
91b16b9
0b6c6d6
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-8
0b6c6d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
0b6c6d6
be9315b
* Sun Sep  7 2008 Hans de Goede <hdegoede@redhat.com> 1.11b-7
be9315b
- Fix patch fuzz build failure
be9315b
c85a02f
* Sun Mar 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.11b-6
c85a02f
- Fix missing prototype compiler warnings
c85a02f
3aeb6b9
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.11b-5
3aeb6b9
- Autorebuild for GCC 4.3
3aeb6b9
127ea55
* Sat Oct 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.11b-4
127ea55
- Unorphan
127ea55
- Take some patches from Debian
127ea55
- Actually make ./configure detect and use freetype1, it was testing for it
127ea55
  but the test failed
127ea55
- Package mgp2html and mgp2latex from the contrib dir 
127ea55
127ea55
* Fri Aug 5 2005 Colin Charles <colin@fedoraproject.org> - 1.11b-3
127ea55
- Re-enable debuginfo builds
127ea55
- Ralf Corsepius watchful eyes fixes - cleaning up the spec
127ea55
127ea55
* Thu Aug 4 2005 Colin Charles <colin@fedoraproject.org> - 1.11b-2
127ea55
- Removed Patch12 to fix undefined operation
127ea55
- Bump spec to somewhat match work from Rui Miguel Silva Seabra <rms@1407.org>
127ea55
- Remove requirement on VFlib2, seeing that we disable it in configure
127ea55
127ea55
* Mon Sep 27 2004 Akira TAGOH <tagoh@redhat.com> - 1.11b-1
127ea55
- New upstream release.
127ea55
127ea55
* Wed Sep 15 2004 Akira TAGOH <tagoh@redhat.com> - 1.11a-1
127ea55
- New upstream release.
127ea55
- magicpoint-1.11a-fix-gcc-warnings.patch: updated from 1.10a.
127ea55
- magicpoint-1.10a-fixtypo-opaque.patch: removed, it's no lnger needed.
127ea55
- magicpoint-1.10a-fix-ft2build.patch: removed, it's no longer needed.
127ea55
- magicpoint-1.10a-png.patch: removed, it's no longer needed.
127ea55
- XFree4.0-freetype.patch: removed, freetype1 is no longer available.
127ea55
127ea55
* Mon Jun 21 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-10
127ea55
- magicpoint-1.10a-fix-gcc34.patch: applied to build with gcc 3.4.
127ea55
127ea55
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Wed Feb 18 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-8
127ea55
- fix wrong license description. (#115947: Miloslav Trmac)
127ea55
- included COPYRIGHT file.
127ea55
127ea55
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Mon Feb 09 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-6
127ea55
- magicpoint-1.10a-fix-gcc-warnings2.patch: applied to fix gcc warnings (#115161)
127ea55
- magicpoint-1.10a-fix-ft2build.patch: applied to fix build error for freetype.
127ea55
- magicpoint-1.10a-fix-usleep.patch: applied to fix missing compile options.
127ea55
127ea55
* Fri Nov 28 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-5
127ea55
- magicpoint-1.10a-fix-gcc-warnings.patch: updated for more gcc3 compliant. (#110773)
127ea55
127ea55
* Fri Sep 19 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-4
127ea55
- added some missing BuildRequires.
127ea55
127ea55
* Tue Sep 02 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-3
127ea55
- magicpoint-1.10a-fixtypo-opaque.patch: applied a patch to work the opaque.
127ea55
127ea55
* Wed Aug 20 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-2
127ea55
- magicpoint-1.10a-longline.patch: fixed the freeze if the line is too long. (#100736)
127ea55
127ea55
* Wed Jun 25 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-1
127ea55
- New upstream release.
127ea55
- removed the dependency of watanabe-vf due to the copyright issue.
127ea55
- add fontconfig-devel and XFree86-devel to BuildReqruies.
127ea55
127ea55
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 1.09a-12
127ea55
- gcc 3.3 doesn't implement varargs.h, include stdarg.h instead
127ea55
127ea55
* Fri Apr 18 2003 Akira TAGOH <tagoh@redhat.com> 1.09a-11
127ea55
- rebuild.
127ea55
127ea55
* Fri Apr 18 2003 Akira TAGOH <tagoh@redhat.com> 1.09a-10
127ea55
- magicpoint-1.09a-rpath.patch: don't specify -rpath. (#65966)
127ea55
- magicpoint-1.09a-fix-gcc-warnings.patch: applied to fix gcc warnings. (#79642)
127ea55
127ea55
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.09a-8
127ea55
- add VFlib2-conf-ja >=2.25.6-8 as a requirement to fix bug 74105
127ea55
127ea55
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
127ea55
- rebuild on all arches
127ea55
127ea55
* Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
127ea55
- Remove extraneous ttfonts dependency; VFlib already has that dependency
127ea55
127ea55
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
127ea55
- automated rebuild
127ea55
127ea55
* Mon May 27 2002 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Remove .cvsignore file(#65241)
127ea55
127ea55
* Thu May 23 2002 Tim Powers <timp@redhat.com>
127ea55
- automated rebuild
127ea55
127ea55
* Tue Mar 26 2002 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Update to 1.09a
127ea55
127ea55
* Tue Mar  5 2002 Jeremy Katz <katzj@redhat.com>
127ea55
- Add ttfonts to Requires (#24868)
127ea55
- rebuild in new environment
127ea55
127ea55
* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com>
127ea55
- rebuild in new environment
127ea55
127ea55
* Wed Sep 05 2001 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Add magicpoint to Obsoletes.
127ea55
127ea55
* Tue Sep 04 2001 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Add --enable-gif
127ea55
- Add watanabe-vf to Requires.
127ea55
127ea55
* Wed Jul 18 2001 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Delete require ttfont-ja
127ea55
127ea55
* Mon Jul  9 2001 Yukihiro Nakai <ynakai@redhat.com>
127ea55
- Rebuild against RHL7.2
127ea55
- Rename to MagicPoint
127ea55
- Update to 1.08a
127ea55
- Enable vflib
127ea55
127ea55
* Wed Jan 24 2001 Tim Powers <timp@redhat.com>
127ea55
- fixed bug 24868
127ea55
127ea55
* Mon Aug 7 2000 Tim Powers <timp@redhat.com>
127ea55
- disable vflib to fix bug #15607
127ea55
127ea55
* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
127ea55
- rebuilt against libpng-1.0.8
127ea55
127ea55
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
127ea55
- stop disabling freetype support
127ea55
127ea55
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
127ea55
- rebuilt
127ea55
127ea55
* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
127ea55
- automatic rebuild
127ea55
127ea55
* Wed May 24 2000 Tim Powers <timp@redhat.com>
127ea55
- updated to 1.07a
127ea55
- cleaned up files list
127ea55
- using %%configure
127ea55
- fixed to use XFree86 4.0
127ea55
127ea55
* Mon Jul 19 1999 Tim Powers <timp@redhat.com>
127ea55
- updated source to 1.05a 
127ea55
- built for 6.1
127ea55
127ea55
* Thu Apr 15 1999 Michael Maher <mike@redhat.com>
127ea55
- built package for 6.0
127ea55
127ea55
* Fri Oct 08 1998 Michael Maher <mike@redhat.com> 
127ea55
- updated source to 1.04a
127ea55
- built for 5.2
127ea55
127ea55
* Fri May 22 1998 Cristian Gafton <gafton@redhat.com>
127ea55
- built for PowerTools