magicpoint-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. Summary: an X11 based presentation tool
  2. Summary(ja): X11 ベースのプレゼンテーションツール
  3. Name: magicpoint
  4. Version: 1.13a
  5. Release: 4%{?_dist_release}
  6. License: Copyright (C) 1997 and 1998 WIDE Project. All rights reserved.
  7. Group: Applications/Text
  8. URL: http://www.mew.org/mgp/
  9. Source0: ftp://sh.wide.ad.jp/WIDE/free-ware/mgp/magicpoint-%{version}.tar.gz
  10. Patch0: magicpoint-1.07a-vine.patch
  11. Patch1: magicpoint-1.09a-mgpnet.patch
  12. Patch2: magicpoint-1.09a-mgp2html.patch
  13. #Patch3: magicpoint-1.10a-parse.patch
  14. #Patch4: magicpoint-1.10a-freetype217.patch
  15. Patch5: magicpoint-1.13a-no-libmng.patch
  16. Buildroot: %{_tmppath}/%{name}-%{version}-root
  17. BuildRequires: freetype-devel
  18. BuildRequires: freetype2-devel
  19. BuildRequires: giflib-devel
  20. BuildRequires: expat-devel
  21. BuildRequires: imlib-devel
  22. BuildRequires: imake
  23. BuildRequires: byacc
  24. BuildRequires: flex
  25. BuildRequires: libSM-devel
  26. BuildRequires: libXmu-devel
  27. Requires: sharutils
  28. %description
  29. MagicPoint is an X11 based presentation tool. It is designed to make
  30. simple presentations easy while to make complicated presentations
  31. possible. Its presentation file (whose suffix is typically .mgp) is
  32. just text so that you can create presentation files quickly with your
  33. favorite editor (e.g. Emacs).
  34. %description -l ja
  35. MagincPoint は X11 ベースのプレゼンテーションツールです.複雑なプレゼン
  36. テーションを可能にする一方、簡単なプレゼンテーションを容易に行うことがで
  37. きるようにデザインされています.そのプレゼンテーションファイル(一般に
  38. .mgp という拡張子が使われる)はただのテキストファイルですので、好きなエデ
  39. ィタ(例えば Emacs)ですぐに作成することができます.
  40. %prep
  41. %setup -q
  42. %patch0 -p1
  43. %patch1 -p1
  44. %patch2 -p1
  45. #%patch3 -p1
  46. #%patch4 -p1
  47. %patch5 -p0
  48. %build
  49. autoconf
  50. %configure --disable-vflib --with-x \
  51. --enable-gif --enable-freetype-charset16
  52. xmkmf
  53. make Makefiles CONFIGDIR=%{_datadir}/X11/config
  54. make
  55. %install
  56. rm -rf %{buildroot}
  57. mkdir -p %{buildroot}%{_bindir}
  58. make DESTDIR="%{buildroot}" MANPATH=%{_mandir} install install.man
  59. install -p -m 0755 contrib/mgp2latex.pl %{buildroot}%{_bindir}/mgp2latex
  60. install -p -m 0755 contrib/mgp2html.pl %{buildroot}%{_bindir}/mgp2html
  61. # eliminate executable bit in %doc
  62. find contrib/ -type f -perm +111 | xargs chmod -x
  63. %clean
  64. rm -rf %{buildroot}
  65. %files
  66. %defattr(-,root,root)
  67. %doc COPYRIGHT* FAQ README* RELNOTES SYNTAX TODO* USAGE* sample contrib
  68. %dir %{_prefix}/lib/X11/mgp/
  69. %config %{_prefix}/lib/X11/mgp/default.mgp
  70. %{_prefix}/lib/X11/mgp/*.jpg
  71. %{_bindir}/*
  72. %{_mandir}/man1/*
  73. %changelog
  74. * Fri Nov 07 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.13a-4
  75. - rebuilt with libpng-1.6.12
  76. * Sun May 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13a-3
  77. - rebuilt with current VineSeed
  78. - added BR: byacc, flex, libSM-devel, libXmu-devel
  79. * Sat Oct 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.13a-2
  80. - fixed X11 directories for x86_64
  81. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13a-1
  82. - new upstream release
  83. - applied new versioning policy
  84. - spec in UTF-8
  85. - updated Patch5
  86. - added BuildRequires: imake, imlib-devel
  87. * Wed Dec 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11b-0vl2
  88. - added Requires: sharutils <BTS:426>
  89. * Tue Sep 28 2004 Satoshi MACHINO <machino@vinelinux.org> 1.11b-0vl1
  90. - updated to magicpoint-1.11b
  91. - changed ftp site's URL
  92. * Sat Sep 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.11a-0vl1
  93. - new upstream version
  94. - dropped Patch3 and 4
  95. * Sun Jan 11 2004 Tomoya TAKA <taka@vinelinux.org> 1.10a-0vl7
  96. - fix Patch4
  97. * Sat Nov 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.10a-0vl6
  98. - added Patch5 to force disable using libmng
  99. * Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl5
  100. - rebuilt without libmng-devel
  101. * Thu Nov 13 2003 Tomoya TAKA <taka@vinelinux.org> 1.10a-0vl4
  102. - add freetype2 patch (patch4) to build with freetype2-2.1.7
  103. - add Requires: freetype2 and BuildPreReq: freetype2-devel
  104. * Fri Oct 31 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl3
  105. - added disable-vflib in configure option
  106. * Tue Sep 23 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl2
  107. - Fixed in parse.c (added patch3)
  108. -- magicpoint-1.10a-parse.patch from [mgp-users-jp 01341]
  109. * Sat Aug 09 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl1
  110. - New upstream version
  111. -- dropped some patches
  112. - Added XFree86-libs and glibc in Requires
  113. - Added expat-devel-devel in BuildRequires
  114. * Sun Aug 03 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl6
  115. - fixed spec file
  116. * Sat Aug 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl5
  117. - rebuilt without libmng-devel
  118. * Tue Apr 29 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl4
  119. - added patches
  120. -- magicpoint-1.09a-reread.patch from [mgp-users-jp 00924]
  121. -- magicpoint-1.09a-freetype.patch from [mgp-users-jp 00923]
  122. -- magicpoint-1.09a-mgpembed.patch from [mgp-users-jp 00949]
  123. -- magicpoint-1.09a-mgp2html.patch from [mgp-users-jp 00948]
  124. -- magicpoint-1.09a-mgp2ps.patch from [mgp-users-jp 01171]
  125. -- magicpoint-1.09a-color-ps.patch [mgp-users-jp 01166]
  126. * Sun Apr 27 2003 IWAI Masaharu <iwai@alib.jp> 1.09a-0vl3
  127. - rebuild with new toolchain
  128. - use rpmmacros
  129. - add 'Requires: libungif' and 'BuildPreReq: libungif-devel'
  130. - add magicpoint-1.09a-mgpnet.patch (Patch1) from Debian mgp_1.09a-5
  131. * Sun Sep 30 2001 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl2
  132. - fixed dependency, sorry m(_._)m
  133. * Thu Sep 27 2001 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl1
  134. - updated magicpoint-1.09a
  135. * Wed Sep 05 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.08a-0vl5
  136. - Sorry 0vl4.ppc.rpm was built with libmng. Rebuilt.
  137. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  138. - 1.08a-0vl4: eliminate executable bit in %%doc
  139. * Tue Jul 17 2001 <sagami@vinelinux.org>
  140. - 1.08a-0vl3: corrected PreReq -> Requires and added BuildPreReq
  141. * Fri May 25 2001 <sagami@vinelinux.org>
  142. - 1.08a-0vl2: minor spec fixes
  143. * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 1.08a-0vl1
  144. - updated magicpoint-1.08a
  145. * Fri Aug 04 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  146. - 1.07a-4
  147. - modified vine patch (aliastt -> wadalab again)
  148. - modified %files %doc section to include more doc files
  149. - modified %build section to match recommended installation
  150. * Mon Jul 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  151. - 1.07a-3
  152. - modified %files section to handle compressed man pages
  153. * Mon Jun 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  154. - added vine patch to avalie this with dynafont or TrueType-jpfonts both.
  155. - /usr/X11R6/lib/X11/mgp -> /etc/X11/mgp
  156. * Fri Mar 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  157. - updated to version 1.07a
  158. * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org>
  159. - change group
  160. * Wed Jul 30 1999 Norihito Ohmori <ohmori@flatout.org>
  161. - update to version 1.06a
  162. * Thu Jun 24 1999 Norihito Ohmori <ohmori@flatout.org>
  163. - update to version 1.05a
  164. * Fri Mar 5 1999 MATSUMOTO Shoji <vine@flatout.org>
  165. - use VFlib (for mgp2ps)
  166. - replace freetype&vflib libs dir patch to vine.patch (configure)
  167. * Thu Feb 4 1999 ZUKERAN, shin <shin@ryukyu.ad.jp>
  168. - add patch for freetype & vflib library's directoty (/usr/lib/lib).
  169. * Tue Oct 27 1998 ZUKERAN, shin <zukkun@opus.or.jp>
  170. - change package name to 'magicpoint-<version>.rpm'.