dia-vl.spec 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. # %%define extraver 1
  2. %define _gtk_ver 2.10.0
  3. %define _glib_ver 2.12.0
  4. %define _pango_ver 1.16.0
  5. %define _freetype_ver 2.3.0
  6. %define _libxml_ver 2.6.27
  7. %define _cairo_ver 1.4.6
  8. Summary: A gtk+ based diagram creation program.
  9. Summary(ja): Gtk+ ベースのダイアグラム作成プログラム
  10. Name: dia
  11. Version: 0.97.2
  12. Release: 1%{?_dist_release}
  13. License: GPL
  14. Group: Applications/Graphics
  15. Source: http://ftp.gnome.org/pub/GNOME/sources/dia/%{version}/dia-%{version}%{?extraver:-%extraver}.tar.xz
  16. URL: http://www.gnome.org/projects/dia/
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Requires(post): desktop-file-utils, scrollkeeper
  19. Requires(postun): desktop-file-utils, scrollkeeper
  20. BuildRequires: gtk2-devel >= %{_gtk_ver}, glib2-devel >= %{_glib_ver}
  21. BuildRequires: pango-devel >= %{_pango_ver}
  22. BuildRequires: libgnome-devel, libgnomeui-devel
  23. BuildRequires: libxml2-devel >= %{_libxml_ver}, libxslt-devel
  24. BuildRequires: libpng-devel, libart_lgpl-devel
  25. BuildRequires: freetype2-devel >= %{_freetype_ver}
  26. BuildRequires: cairo-devel >= %{_cairo_ver}
  27. BuildRequires: libSM-devel
  28. BuildRequires: perl
  29. BuildConflicts: glitz-devel
  30. Vendor: Project Vine
  31. Distribution: Vine Linux
  32. %description
  33. Dia is a program designed to be much like the Windows
  34. program 'Visio'. It can be used to draw different kind of diagrams. In
  35. this first version there is support for UML static structure diagrams
  36. (class diagrams) and Network diagrams. It can currently load and save
  37. diagrams to a custom fileformat and export to postscript.
  38. %description -l ja
  39. Dia は Windows にある 'Visio' に似せて設計されたプログラムです。
  40. 種々のダイアグラムを描写、編集することが可能です。
  41. この最初のバージョンでは、UML の静的構造ダイアグラム (クラス・ダイア
  42. グラム) とネットワーク・ダイアグラムがサポートされています。
  43. 現在では, カスタムのファイル形式でダイアグラムを読み込みや保存した
  44. り、PostScript へ保存することができます。
  45. %prep
  46. %setup -q -n %{name}-%{version}%{?extraver:-%extraver}
  47. %build
  48. %configure --enable-gnome --enable-db2html --with-cairo
  49. %__make
  50. %install
  51. %__rm -rf %{buildroot}
  52. %makeinstall
  53. # remove unneeded files
  54. %__rm -rf %{buildroot}%{_localstatedir}/scrollkeeper
  55. %__rm -f %{buildroot}%{_datadir}/icons/hicolor/icon-theme.cache
  56. %__rm -rf %{buildroot}%{_datadir}/doc/dia
  57. %find_lang %{name}
  58. %clean
  59. %__rm -rf %{buildroot}
  60. %post
  61. %{_bindir}/update-desktop-database ||:
  62. %{_bindir}/scrollkeeper-update > /dev/null 2>&1 ||:
  63. touch --no-create %{_datadir}/icons/hicolor
  64. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  65. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  66. fi
  67. %postun
  68. %{_bindir}/update-desktop-database ||:
  69. %{_bindir}/scrollkeeper-update > /dev/null 2>&1 ||:
  70. touch --no-create %{_datadir}/icons/hicolor
  71. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  72. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  73. fi
  74. %files -f %{name}.lang
  75. %defattr(-,root,root)
  76. %doc README TODO NEWS INSTALL COPYING ChangeLog AUTHORS doc
  77. %{_bindir}/dia
  78. %{_libdir}/dia
  79. %{_mandir}/man1/dia.1*
  80. %{_datadir}/dia
  81. %{_datadir}/applications/*
  82. %{_datadir}/mime-info/*
  83. %{_datadir}/icons/hicolor/*
  84. %dir %{_datadir}/omf/dia
  85. %{_datadir}/omf/dia/*
  86. %{_datadir}/gnome/help/dia
  87. %changelog
  88. * Fri Dec 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.97.2-1
  89. - new upstream release
  90. * Sun Apr 17 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.97.1-2
  91. - rebuilt with current VineSeed
  92. * Thu Mar 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.97.1-1
  93. - new upstream release
  94. * Sun Nov 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-2
  95. - add BR: libSM-devel (<BTS:828>)
  96. * Mon Nov 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.97-1
  97. - new upstream release
  98. * Tue Jul 29 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.96.1-1
  99. - applied new versioning policy
  100. - spec in UTF-8
  101. * Thu May 24 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 0.96.1-0vl1
  102. - new upstream release
  103. * Sat Oct 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl4
  104. - [SECURITY] update to 0.95-1
  105. * Tue Sep 12 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl3
  106. - add BuildConflicts: glitz-devel not to depend on glitz
  107. * Sun Sep 10 2006 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 0.95-0vl2
  108. - change Group to Applications/Graphics. <BTS:VineLinux:163>
  109. * Thu Apr 20 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl1
  110. - upstream release
  111. - update source-URL
  112. - drop BuildRequires: automake17
  113. * Sat Apr 15 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre9
  114. - 0.95-pre9
  115. * Thu Apr 06 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre8
  116. - 0.95-pre8
  117. - enable cairo plugin
  118. - add BuildRequires: cairo-devel, Requires: cairo
  119. * Thu Mar 30 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre7
  120. - 0.95-pre7
  121. * Sat Mar 25 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre6
  122. - 0.95-pre6
  123. * Tue Mar 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre5
  124. - 0.95-pre5
  125. * Tue Feb 14 2006 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.95-0vl0.0pre1
  126. - 0.95-pre1
  127. - drop obsolete patch1
  128. - run scrollkeeper-update at %%post,postun
  129. - add PreReq: scrollkeeper
  130. * Sat Jul 16 2005 KAZUKI SHIMURA <kazuki@ma.ccnw.ne.jp> 0.94-0vl1
  131. - upstream release
  132. - drop BuildPrereq: desktop-file-utils (not used)
  133. - run update-desktop-database at %%post,postun
  134. - add PreReq: desktop-file-utils
  135. - drop obsolete patch0
  136. * Thu Aug 12 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.93-0vl3
  137. - use defalut ja.po file
  138. - fixed encoding of sheet/Cybernetics.in (patch1)
  139. * Sat Jul 31 2004 Tomoya TAKA <taka@vinelinux.org> 0.93-0vl2
  140. - use GtkType rather than guint (patch0)
  141. - update URL:
  142. * Wed Jul 28 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 0.93-0vl1
  143. - new upstream release
  144. * Mon Nov 3 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.92.2-0vl1
  145. - new upstream release
  146. - updated ja.po
  147. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl2
  148. - applyed dia-0.91-help.patch and dia-0.91-css.patch from Redhat Rawhide
  149. - fixed Requires, BuildRequires and BuildPreReq
  150. - fixed gnome-dia.desktop
  151. - merged newly ja.po
  152. * Sun Jun 22 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 0.91-0vl1
  153. - rebuild with new toolchains and Gnome2
  154. - modified specfile based on Redhat Rawhide 0.90-11
  155. * Tue Sep 25 2001 Satoshi MACHINO <machino@vinelinux.org> dia-0.88.1-0vl1
  156. - updated 0.88.1
  157. - added Requires: gtk+ imlib
  158. - updated patch1
  159. * Fri Apr 20 2001 Daisuke SUZUKI <daisuke@linux.or.jp> dia-0.86-0vl3
  160. - brush up this spec files
  161. * Fri Apr 20 2001 Daisuke SUZUKI <daisuke@linux.or.jp> dia-0.86-0vl2
  162. - changed to use TrueType Fonts for screen.
  163. * Tue Aug 29 2000 MACHINO, Satoshi <mac@netfort.gr.jp>
  164. - updated dia-0.86 and ja patch's
  165. - removed vfont.patch
  166. - fixed %files section to handle compressed man page
  167. * Fri Aug 11 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  168. - updated ja patch to rel 8.
  169. - added vfont patch
  170. * Fri Mar 31 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  171. - updated to 0.84
  172. * Fri Feb 21 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  173. - updated Japanese patch
  174. * Fri Feb 18 2000 Yasuyuki Furukawa <furukawa@vinelinux.org>
  175. - added Japanese patch and some bug fix patches from http://www.u-aizu.ac.jp/%7Em5031201/dia/
  176. * Sun Sep 5 1999 James Henstridge <james@daa.com.au>
  177. - added $(prefix)/share/dia to files list.
  178. * Thu Apr 29 1999 Enrico Scholz <enrico.scholz@wirtschaft.tu-chemnitz.de>
  179. - Made %setup quiet
  180. - Enabled build from cvs
  181. - Removed superfluous mkdir's
  182. - using DESTDIR and install-strip
  183. * Fri Aug 28 1998 Francis J. Lacoste <francis@Contre.COM>
  184. - First RPM release.