libgnomecanvas-vl.spec 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. %define gettext_package libgnomecanvas-2.0
  2. %define gtk2_version 2.24.4
  3. %define libart_lgpl_version 2.3.21
  4. %define libglade2_version 2.6.0
  5. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  6. Summary: GnomeCanvas widget
  7. Name: libgnomecanvas
  8. Version: 2.30.3
  9. Release: 2%{?_dist_release}
  10. URL: http://www.gnome.org/
  11. Source0: %{name}-%{version}.tar.bz2
  12. License: LGPL
  13. Group: System Environment/Libraries
  14. BuildRoot: %{_tmppath}/%{name}-root
  15. Requires: gtk2 >= %{gtk2_version}
  16. BuildRequires: gtk2-devel >= %{gtk2_version}
  17. BuildRequires: libart_lgpl-devel >= %{libart_lgpl_version}
  18. BuildRequires: libglade2-devel >= %{libglade2_version}
  19. Vendor: Project Vine
  20. Distribution: Vine Linux
  21. Packager: daisuke, Takemikaduchi
  22. %description
  23. The canvas widget allows you to create custom displays using stock items
  24. such as circles, lines, text, and so on. It was originally a port of the
  25. Tk canvas widget but has evolved quite a bit over time.
  26. %package devel
  27. Summary: Libraries and headers for libgnomecanvas.
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Conflicts: gnome-libs-devel < 1.4.1.2
  31. Requires: gtk2-devel >= %{gtk2_version}
  32. Requires: libart_lgpl-devel >= %{libart_lgpl_version}
  33. Requires: libglade2-devel >= %{libglade2_version}
  34. %description devel
  35. The canvas widget allows you to create custom displays using stock items
  36. such as circles, lines, text, and so on. It was originally a port of the
  37. Tk canvas widget but has evolved quite a bit over time.
  38. # compat32
  39. %package -n compat32-%{name}
  40. Summary: GnomeCanvas widget
  41. Group: System Environment/Libraries
  42. Requires: %{name} = %{version}-%{release}
  43. %description -n compat32-%{name}
  44. The canvas widget allows you to create custom displays using stock items
  45. such as circles, lines, text, and so on. It was originally a port of the
  46. Tk canvas widget but has evolved quite a bit over time.
  47. %package -n compat32-%{name}-devel
  48. Summary: Libraries and headers for libgnomecanvas.
  49. Group: Development/Libraries
  50. Requires: %{name}-devel = %{version}-%{release}
  51. Requires: compat32-%{name} = %{version}-%{release}
  52. Requires: compat32-gtk2-devel >= %{gtk2_version}
  53. Requires: compat32-libart_lgpl-devel >= %{libart_lgpl_version}
  54. Requires: compat32-libglade2-devel >= %{libglade2_version}
  55. %description -n compat32-%{name}-devel
  56. The canvas widget allows you to create custom displays using stock items
  57. such as circles, lines, text, and so on. It was originally a port of the
  58. Tk canvas widget but has evolved quite a bit over time.
  59. %prep
  60. %setup -q
  61. %build
  62. %configure --enable-glade
  63. make %{?_smp_mflags}
  64. %install
  65. rm -rf %{buildroot}
  66. make install DESTDIR=$RPM_BUILD_ROOT
  67. rm -f $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
  68. rm -f $RPM_BUILD_ROOT%{_libdir}/libglade/2.0/*.{a,la}
  69. %find_lang %{gettext_package}
  70. %clean
  71. rm -rf %{buildroot}
  72. %post -p /sbin/ldconfig
  73. %postun -p /sbin/ldconfig
  74. %post -n compat32-%{name} -p /sbin/ldconfig
  75. %postun -n compat32-%{name} -p /sbin/ldconfig
  76. %files -f %{gettext_package}.lang
  77. %defattr(-,root,root)
  78. %doc ChangeLog NEWS
  79. %{_libdir}/lib*.so.*
  80. %{_libdir}/libglade/2.0/libcanvas.so
  81. %files devel
  82. %defattr(-,root,root)
  83. %{_libdir}/lib*.so
  84. %{_libdir}/pkgconfig/*
  85. %{_includedir}/*
  86. %{_datadir}/gtk-doc
  87. # compat32
  88. %if %{build_compat32}
  89. %files -n compat32-%{name}
  90. %defattr(-,root,root)
  91. %{_libdir}/lib*.so.*
  92. %{_libdir}/libglade/2.0/libcanvas.so
  93. %files -n compat32-%{name}-devel
  94. %defattr(-,root,root)
  95. %{_libdir}/lib*.so
  96. %endif
  97. %changelog
  98. * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-2
  99. - rebuild with VineSeed environment
  100. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  101. - new upstream release
  102. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2
  103. - build with rpm-4.8.1-1 for pkg-config file
  104. * Tue May 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.1-1
  105. - new upstream release
  106. - add --enable-glade configure option
  107. - re-add libcanvas.so to %%files
  108. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  109. - new upstream release
  110. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-2
  111. - added compat32 package for x86_64 arch support
  112. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  113. - new upstream release
  114. - remove BR: gail-devel
  115. - remove static libs
  116. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-1vl5
  117. - rebuilt with gtk-2.12.9, gail-1.22.0
  118. - used %%{?_dist_release} macro
  119. * Sun Jan 20 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.20.1.1-0vl2
  120. - added BuildRequires: gail-devel
  121. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
  122. - new upstream release
  123. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  124. - new upstream release
  125. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.0-0vl1
  126. - new upstream release
  127. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  128. - new upstream release
  129. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  130. - new upstream release
  131. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  132. - new upstream version
  133. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  134. - new upstream release
  135. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  136. - new upstream release
  137. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  138. - new upstream release
  139. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
  140. - new upstream release
  141. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  142. - new upstream release
  143. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  144. - new upstream release
  145. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  146. - new upstream release
  147. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  148. - build for Vine Linux
  149. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  150. - 2.0.2
  151. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  152. - fix gettext package name
  153. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  154. - remove empty AUTHORS/README
  155. * Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
  156. - 2.0.1
  157. - check file list, add glade module and gtk-doc docs
  158. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  159. - automated rebuild
  160. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  161. - rebuild in different environment
  162. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  163. - rebuild in different environment
  164. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  165. - 1.117.0
  166. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  167. - rebuild for new libglade
  168. - 1.116.0
  169. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  170. - 1.114.0
  171. * Tue Feb 19 2002 Alex Larsson <alexl@redhat.com>
  172. - Add nasty version check stuff.
  173. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  174. - 1.111.0
  175. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  176. - Version 1.110.0
  177. * Fri Jan 25 2002 Havoc Pennington <hp@redhat.com>
  178. - rebuild in rawhide
  179. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  180. - 1.108.0.90 cvs snap
  181. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  182. - cvs snap 1.105.0.90, gtk 1.3.11
  183. * Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
  184. - new cvs snap, rebuild for gtk 1.3.10,
  185. add libglade dep, fix libart dep
  186. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  187. - rebuild cvs snap for new glib/gtk
  188. * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
  189. - new cvs snap with upstream changes
  190. * Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
  191. - Initial build.