magicpoint-vl.spec 6.8 KB

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