| 1 |
Name: MagicPoint
|
| 2 |
Version: 1.11b
|
| 3 |
Release: 10%{?dist}
|
| 4 |
Summary: X based presentation software
|
| 5 |
Group: Applications/Productivity
|
| 6 |
License: BSD
|
| 7 |
URL: http://member.wide.ad.jp/wg/mgp/
|
| 8 |
Source0: ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/magicpoint-%{version}.tar.gz
|
| 9 |
Patch0: magicpoint-1.11b-debian.patch
|
| 10 |
Patch1: magicpoint-1.11b-64bit.patch
|
| 11 |
Patch2: magicpoint-1.09a-rpath.patch
|
| 12 |
Patch3: magicpoint-1.11a-fix-gcc-warnings.patch
|
| 13 |
Patch4: magicpoint-1.11b-embed.patch
|
| 14 |
Patch6: magicpoint-1.10a-longline.patch
|
| 15 |
Patch10: magicpoint-1.10a-fix-usleep.patch
|
| 16 |
Patch11: magicpoint-1.10a-fix-gcc34.patch
|
| 17 |
Patch12: magicpoint-1.11b-missing-protos.patch
|
| 18 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 19 |
BuildRequires: freetype-devel libungif-devel libpng-devel libmng-devel imake
|
| 20 |
BuildRequires: imlib-devel libXmu-devel libXft-devel bison flex perl sharutils
|
| 21 |
Requires: sharutils
|
| 22 |
Obsoletes: mgp < %{version}-%{release}, magicpoint < %{version}-%{release}
|
| 23 |
Provides: mgp = %{version}-%{release}, magicpoint = %{version}-%{release}
|
| 24 |
|
| 25 |
%description
|
| 26 |
MagicPoint is an X11 based presentation tool. MagicPoint's
|
| 27 |
presentation files (typically .mgp files) are plain text so you can
|
| 28 |
create presentation files quickly with your favorite editor.
|
| 29 |
|
| 30 |
|
| 31 |
%prep
|
| 32 |
%setup -q -n magicpoint-%{version}
|
| 33 |
%patch0 -p1
|
| 34 |
%patch1 -p1 -z .64bit
|
| 35 |
%patch2 -p1 -z .rpath
|
| 36 |
%patch3 -p1 -z .warnings
|
| 37 |
%patch4 -p1 -z .embed
|
| 38 |
%patch6 -p1 -z .longline
|
| 39 |
%patch10 -p1 -z .usleep
|
| 40 |
%patch11 -p1 -z .gcc34
|
| 41 |
%patch12 -p1
|
| 42 |
# fix hopelessly broken way configure searches for libttf
|
| 43 |
sed -i 's:$dir/lib:%{_libdir}:g' configure
|
| 44 |
|
| 45 |
|
| 46 |
%build
|
| 47 |
export CFLAGS="$RPM_OPT_FLAGS"
|
| 48 |
# the --x-*= because this configure's X detection is broken beyond repair
|
| 49 |
%configure --enable-locale --enable-freetype --enable-freetype-charset16 \
|
| 50 |
--enable-xft2 --disable-vflib --enable-gif --enable-imlib \
|
| 51 |
--x-includes=%{_includedir} --x-libraries=%{_libdir}
|
| 52 |
xmkmf -a
|
| 53 |
# LIBDIR is used by the makefile to determine where to install data files
|
| 54 |
make CDEBUGFLAGS="$RPM_OPT_FLAGS" LIBDIR=%{_datadir}
|
| 55 |
|
| 56 |
|
| 57 |
%install
|
| 58 |
rm -rf $RPM_BUILD_ROOT
|
| 59 |
make install install.man DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_datadir}
|
| 60 |
install -m 755 contrib/mgp2html.pl $RPM_BUILD_ROOT%{_bindir}/mgp2html
|
| 61 |
install -m 755 contrib/mgp2latex.pl $RPM_BUILD_ROOT%{_bindir}/mgp2latex
|
| 62 |
# stop these from ending up in %doc
|
| 63 |
rm sample/.cvsignore sample/*akefile*
|
| 64 |
|
| 65 |
|
| 66 |
%clean
|
| 67 |
rm -rf $RPM_BUILD_ROOT
|
| 68 |
|
| 69 |
|
| 70 |
%files
|
| 71 |
%defattr(-,root,root,-)
|
| 72 |
%doc COPYRIGHT README SYNTAX USAGE sample
|
| 73 |
%{_bindir}/*
|
| 74 |
%{_datadir}/mgp
|
| 75 |
%{_mandir}/*/*
|
| 76 |
|
| 77 |
|
| 78 |
%changelog
|
| 79 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-10
|
| 80 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 81 |
|
| 82 |
* Wed May 13 2009 Adam Jackson <ajax@redhat.com> 1.11b-9
|
| 83 |
- Use freetype, not freetype1, which is old and broken.
|
| 84 |
|
| 85 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.11b-8
|
| 86 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
| 87 |
|
| 88 |
* Sun Sep 7 2008 Hans de Goede <hdegoede@redhat.com> 1.11b-7
|
| 89 |
- Fix patch fuzz build failure
|
| 90 |
|
| 91 |
* Sun Mar 30 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.11b-6
|
| 92 |
- Fix missing prototype compiler warnings
|
| 93 |
|
| 94 |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.11b-5
|
| 95 |
- Autorebuild for GCC 4.3
|
| 96 |
|
| 97 |
* Sat Oct 21 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 1.11b-4
|
| 98 |
- Unorphan
|
| 99 |
- Take some patches from Debian
|
| 100 |
- Actually make ./configure detect and use freetype1, it was testing for it
|
| 101 |
but the test failed
|
| 102 |
- Package mgp2html and mgp2latex from the contrib dir
|
| 103 |
|
| 104 |
* Fri Aug 5 2005 Colin Charles <colin@fedoraproject.org> - 1.11b-3
|
| 105 |
- Re-enable debuginfo builds
|
| 106 |
- Ralf Corsepius watchful eyes fixes - cleaning up the spec
|
| 107 |
|
| 108 |
* Thu Aug 4 2005 Colin Charles <colin@fedoraproject.org> - 1.11b-2
|
| 109 |
- Removed Patch12 to fix undefined operation
|
| 110 |
- Bump spec to somewhat match work from Rui Miguel Silva Seabra <rms@1407.org>
|
| 111 |
- Remove requirement on VFlib2, seeing that we disable it in configure
|
| 112 |
|
| 113 |
* Mon Sep 27 2004 Akira TAGOH <tagoh@redhat.com> - 1.11b-1
|
| 114 |
- New upstream release.
|
| 115 |
|
| 116 |
* Wed Sep 15 2004 Akira TAGOH <tagoh@redhat.com> - 1.11a-1
|
| 117 |
- New upstream release.
|
| 118 |
- magicpoint-1.11a-fix-gcc-warnings.patch: updated from 1.10a.
|
| 119 |
- magicpoint-1.10a-fixtypo-opaque.patch: removed, it's no lnger needed.
|
| 120 |
- magicpoint-1.10a-fix-ft2build.patch: removed, it's no longer needed.
|
| 121 |
- magicpoint-1.10a-png.patch: removed, it's no longer needed.
|
| 122 |
- XFree4.0-freetype.patch: removed, freetype1 is no longer available.
|
| 123 |
|
| 124 |
* Mon Jun 21 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-10
|
| 125 |
- magicpoint-1.10a-fix-gcc34.patch: applied to build with gcc 3.4.
|
| 126 |
|
| 127 |
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
| 128 |
- rebuilt
|
| 129 |
|
| 130 |
* Wed Feb 18 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-8
|
| 131 |
- fix wrong license description. (#115947: Miloslav Trmac)
|
| 132 |
- included COPYRIGHT file.
|
| 133 |
|
| 134 |
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
| 135 |
- rebuilt
|
| 136 |
|
| 137 |
* Mon Feb 09 2004 Akira TAGOH <tagoh@redhat.com> 1.10a-6
|
| 138 |
- magicpoint-1.10a-fix-gcc-warnings2.patch: applied to fix gcc warnings (#115161)
|
| 139 |
- magicpoint-1.10a-fix-ft2build.patch: applied to fix build error for freetype.
|
| 140 |
- magicpoint-1.10a-fix-usleep.patch: applied to fix missing compile options.
|
| 141 |
|
| 142 |
* Fri Nov 28 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-5
|
| 143 |
- magicpoint-1.10a-fix-gcc-warnings.patch: updated for more gcc3 compliant. (#110773)
|
| 144 |
|
| 145 |
* Fri Sep 19 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-4
|
| 146 |
- added some missing BuildRequires.
|
| 147 |
|
| 148 |
* Tue Sep 02 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-3
|
| 149 |
- magicpoint-1.10a-fixtypo-opaque.patch: applied a patch to work the opaque.
|
| 150 |
|
| 151 |
* Wed Aug 20 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-2
|
| 152 |
- magicpoint-1.10a-longline.patch: fixed the freeze if the line is too long. (#100736)
|
| 153 |
|
| 154 |
* Wed Jun 25 2003 Akira TAGOH <tagoh@redhat.com> 1.10a-1
|
| 155 |
- New upstream release.
|
| 156 |
- removed the dependency of watanabe-vf due to the copyright issue.
|
| 157 |
- add fontconfig-devel and XFree86-devel to BuildReqruies.
|
| 158 |
|
| 159 |
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
| 160 |
- rebuilt
|
| 161 |
|
| 162 |
* Thu May 22 2003 Jeremy Katz <katzj@redhat.com> 1.09a-12
|
| 163 |
- gcc 3.3 doesn't implement varargs.h, include stdarg.h instead
|
| 164 |
|
| 165 |
* Fri Apr 18 2003 Akira TAGOH <tagoh@redhat.com> 1.09a-11
|
| 166 |
- rebuild.
|
| 167 |
|
| 168 |
* Fri Apr 18 2003 Akira TAGOH <tagoh@redhat.com> 1.09a-10
|
| 169 |
- magicpoint-1.09a-rpath.patch: don't specify -rpath. (#65966)
|
| 170 |
- magicpoint-1.09a-fix-gcc-warnings.patch: applied to fix gcc warnings. (#79642)
|
| 171 |
|
| 172 |
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
| 173 |
- rebuilt
|
| 174 |
|
| 175 |
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 1.09a-8
|
| 176 |
- add VFlib2-conf-ja >=2.25.6-8 as a requirement to fix bug 74105
|
| 177 |
|
| 178 |
* Wed Nov 20 2002 Tim Powers <timp@redhat.com>
|
| 179 |
- rebuild on all arches
|
| 180 |
|
| 181 |
* Tue Jun 25 2002 Owen Taylor <otaylor@redhat.com>
|
| 182 |
- Remove extraneous ttfonts dependency; VFlib already has that dependency
|
| 183 |
|
| 184 |
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
| 185 |
- automated rebuild
|
| 186 |
|
| 187 |
* Mon May 27 2002 Yukihiro Nakai <ynakai@redhat.com>
|
| 188 |
- Remove .cvsignore file(#65241)
|
| 189 |
|
| 190 |
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
| 191 |
- automated rebuild
|
| 192 |
|
| 193 |
* Tue Mar 26 2002 Yukihiro Nakai <ynakai@redhat.com>
|
| 194 |
- Update to 1.09a
|
| 195 |
|
| 196 |
* Tue Mar 5 2002 Jeremy Katz <katzj@redhat.com>
|
| 197 |
- Add ttfonts to Requires (#24868)
|
| 198 |
- rebuild in new environment
|
| 199 |
|
| 200 |
* Thu Jan 31 2002 Bill Nottingham <notting@redhat.com>
|
| 201 |
- rebuild in new environment
|
| 202 |
|
| 203 |
* Wed Sep 05 2001 Yukihiro Nakai <ynakai@redhat.com>
|
| 204 |
- Add magicpoint to Obsoletes.
|
| 205 |
|
| 206 |
* Tue Sep 04 2001 Yukihiro Nakai <ynakai@redhat.com>
|
| 207 |
- Add --enable-gif
|
| 208 |
- Add watanabe-vf to Requires.
|
| 209 |
|
| 210 |
* Wed Jul 18 2001 Yukihiro Nakai <ynakai@redhat.com>
|
| 211 |
- Delete require ttfont-ja
|
| 212 |
|
| 213 |
* Mon Jul 9 2001 Yukihiro Nakai <ynakai@redhat.com>
|
| 214 |
- Rebuild against RHL7.2
|
| 215 |
- Rename to MagicPoint
|
| 216 |
- Update to 1.08a
|
| 217 |
- Enable vflib
|
| 218 |
|
| 219 |
* Wed Jan 24 2001 Tim Powers <timp@redhat.com>
|
| 220 |
- fixed bug 24868
|
| 221 |
|
| 222 |
* Mon Aug 7 2000 Tim Powers <timp@redhat.com>
|
| 223 |
- disable vflib to fix bug #15607
|
| 224 |
|
| 225 |
* Wed Aug 2 2000 Tim Powers <timp@redhat.com>
|
| 226 |
- rebuilt against libpng-1.0.8
|
| 227 |
|
| 228 |
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
|
| 229 |
- rebuilt
|
| 230 |
|
| 231 |
* Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
|
| 232 |
- stop disabling freetype support
|
| 233 |
|
| 234 |
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
|
| 235 |
- rebuilt
|
| 236 |
|
| 237 |
* Mon Jul 03 2000 Prospector <bugzilla@redhat.com>
|
| 238 |
- automatic rebuild
|
| 239 |
|
| 240 |
* Wed May 24 2000 Tim Powers <timp@redhat.com>
|
| 241 |
- updated to 1.07a
|
| 242 |
- cleaned up files list
|
| 243 |
- using %%configure
|
| 244 |
- fixed to use XFree86 4.0
|
| 245 |
|
| 246 |
* Mon Jul 19 1999 Tim Powers <timp@redhat.com>
|
| 247 |
- updated source to 1.05a
|
| 248 |
- built for 6.1
|
| 249 |
|
| 250 |
* Thu Apr 15 1999 Michael Maher <mike@redhat.com>
|
| 251 |
- built package for 6.0
|
| 252 |
|
| 253 |
* Fri Oct 08 1998 Michael Maher <mike@redhat.com>
|
| 254 |
- updated source to 1.04a
|
| 255 |
- built for 5.2
|
| 256 |
|
| 257 |
* Fri May 22 1998 Cristian Gafton <gafton@redhat.com>
|
| 258 |
- built for PowerTools
|