magicpoint-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212
  1. Summary: an X11 based presentation tool
  2. Summary(ja): X11 ベースのプレゼンテーションツール
  3. Name: magicpoint
  4. Version: 1.13a
  5. Release: 3%{?_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. * Sun May 21 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13a-3
  75. - rebuilt with current VineSeed
  76. - added BR: byacc, flex, libSM-devel, libXmu-devel
  77. * Sat Oct 18 2008 Shu KONNO <owa@bg.wakwak.com> 1.13a-2
  78. - fixed X11 directories for x86_64
  79. * Sat Oct 18 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.13a-1
  80. - new upstream release
  81. - applied new versioning policy
  82. - spec in UTF-8
  83. - updated Patch5
  84. - added BuildRequires: imake, imlib-devel
  85. * Wed Dec 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.11b-0vl2
  86. - added Requires: sharutils <BTS:426>
  87. * Tue Sep 28 2004 Satoshi MACHINO <machino@vinelinux.org> 1.11b-0vl1
  88. - updated to magicpoint-1.11b
  89. - changed ftp site's URL
  90. * Sat Sep 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.11a-0vl1
  91. - new upstream version
  92. - dropped Patch3 and 4
  93. * Sun Jan 11 2004 Tomoya TAKA <taka@vinelinux.org> 1.10a-0vl7
  94. - fix Patch4
  95. * Sat Nov 15 2003 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.10a-0vl6
  96. - added Patch5 to force disable using libmng
  97. * Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl5
  98. - rebuilt without libmng-devel
  99. * Thu Nov 13 2003 Tomoya TAKA <taka@vinelinux.org> 1.10a-0vl4
  100. - add freetype2 patch (patch4) to build with freetype2-2.1.7
  101. - add Requires: freetype2 and BuildPreReq: freetype2-devel
  102. * Fri Oct 31 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl3
  103. - added disable-vflib in configure option
  104. * Tue Sep 23 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl2
  105. - Fixed in parse.c (added patch3)
  106. -- magicpoint-1.10a-parse.patch from [mgp-users-jp 01341]
  107. * Sat Aug 09 2003 Satoshi MACHINO <machino@vinelinux.org> 1.10a-0vl1
  108. - New upstream version
  109. -- dropped some patches
  110. - Added XFree86-libs and glibc in Requires
  111. - Added expat-devel-devel in BuildRequires
  112. * Sun Aug 03 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl6
  113. - fixed spec file
  114. * Sat Aug 02 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl5
  115. - rebuilt without libmng-devel
  116. * Tue Apr 29 2003 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl4
  117. - added patches
  118. -- magicpoint-1.09a-reread.patch from [mgp-users-jp 00924]
  119. -- magicpoint-1.09a-freetype.patch from [mgp-users-jp 00923]
  120. -- magicpoint-1.09a-mgpembed.patch from [mgp-users-jp 00949]
  121. -- magicpoint-1.09a-mgp2html.patch from [mgp-users-jp 00948]
  122. -- magicpoint-1.09a-mgp2ps.patch from [mgp-users-jp 01171]
  123. -- magicpoint-1.09a-color-ps.patch [mgp-users-jp 01166]
  124. * Sun Apr 27 2003 IWAI Masaharu <iwai@alib.jp> 1.09a-0vl3
  125. - rebuild with new toolchain
  126. - use rpmmacros
  127. - add 'Requires: libungif' and 'BuildPreReq: libungif-devel'
  128. - add magicpoint-1.09a-mgpnet.patch (Patch1) from Debian mgp_1.09a-5
  129. * Sun Sep 30 2001 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl2
  130. - fixed dependency, sorry m(_._)m
  131. * Thu Sep 27 2001 Satoshi MACHINO <machino@vinelinux.org> 1.09a-0vl1
  132. - updated magicpoint-1.09a
  133. * Wed Sep 05 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.08a-0vl5
  134. - Sorry 0vl4.ppc.rpm was built with libmng. Rebuilt.
  135. * Mon Sep 03 2001 Toru Sagami <sagami@vinelinux.org>
  136. - 1.08a-0vl4: eliminate executable bit in %%doc
  137. * Tue Jul 17 2001 <sagami@vinelinux.org>
  138. - 1.08a-0vl3: corrected PreReq -> Requires and added BuildPreReq
  139. * Fri May 25 2001 <sagami@vinelinux.org>
  140. - 1.08a-0vl2: minor spec fixes
  141. * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 1.08a-0vl1
  142. - updated magicpoint-1.08a
  143. * Fri Aug 04 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  144. - 1.07a-4
  145. - modified vine patch (aliastt -> wadalab again)
  146. - modified %files %doc section to include more doc files
  147. - modified %build section to match recommended installation
  148. * Mon Jul 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  149. - 1.07a-3
  150. - modified %files section to handle compressed man pages
  151. * Mon Jun 12 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  152. - added vine patch to avalie this with dynafont or TrueType-jpfonts both.
  153. - /usr/X11R6/lib/X11/mgp -> /etc/X11/mgp
  154. * Fri Mar 10 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org>
  155. - updated to version 1.07a
  156. * Wed Jan 5 2000 Jun Nishii <jun@vinelinux.org>
  157. - change group
  158. * Wed Jul 30 1999 Norihito Ohmori <ohmori@flatout.org>
  159. - update to version 1.06a
  160. * Thu Jun 24 1999 Norihito Ohmori <ohmori@flatout.org>
  161. - update to version 1.05a
  162. * Fri Mar 5 1999 MATSUMOTO Shoji <vine@flatout.org>
  163. - use VFlib (for mgp2ps)
  164. - replace freetype&vflib libs dir patch to vine.patch (configure)
  165. * Thu Feb 4 1999 ZUKERAN, shin <shin@ryukyu.ad.jp>
  166. - add patch for freetype & vflib library's directoty (/usr/lib/lib).
  167. * Tue Oct 27 1998 ZUKERAN, shin <zukkun@opus.or.jp>
  168. - change package name to 'magicpoint-<version>.rpm'.