libgnomecanvas-vl.spec 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  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: 1%{?_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. %{_libdir}/pkgconfig/*
  97. %endif
  98. %changelog
  99. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  100. - new upstream release
  101. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.1-2
  102. - build with rpm-4.8.1-1 for pkg-config file
  103. * Tue May 04 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 2.30.1-1
  104. - new upstream release
  105. - add --enable-glade configure option
  106. - re-add libcanvas.so to %%files
  107. * Wed Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  108. - new upstream release
  109. * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.26.0-2
  110. - added compat32 package for x86_64 arch support
  111. * Sun Mar 22 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  112. - new upstream release
  113. - remove BR: gail-devel
  114. - remove static libs
  115. * Sat Mar 22 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-1vl5
  116. - rebuilt with gtk-2.12.9, gail-1.22.0
  117. - used %%{?_dist_release} macro
  118. * Sun Jan 20 2008 NAKAMURA Kenta <kenta@vinelinux.org> 2.20.1.1-0vl2
  119. - added BuildRequires: gail-devel
  120. * Tue Dec 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.20.1.1-0vl1
  121. - new upstream release
  122. * Tue Mar 14 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.14.0-0vl1
  123. - new upstream release
  124. * Mon Mar 06 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.0-0vl1
  125. - new upstream release
  126. * Sun Sep 18 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  127. - new upstream release
  128. * Tue Aug 02 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.1-0vl1
  129. - new upstream release
  130. * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  131. - new upstream version
  132. * Sun Nov 07 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.0-0vl1
  133. - new upstream release
  134. * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1
  135. - new upstream release
  136. * Tue Jun 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.1-0vl1
  137. - new upstream release
  138. * Fri Jan 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0.1-0vl1
  139. - new upstream release
  140. * Wed Jan 22 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1
  141. - new upstream release
  142. * Fri Jan 10 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.90-0vl1
  143. - new upstream release
  144. * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.5-0vl1
  145. - new upstream release
  146. * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1
  147. - build for Vine Linux
  148. * Mon Aug 12 2002 Havoc Pennington <hp@redhat.com>
  149. - 2.0.2
  150. * Fri Jul 12 2002 Havoc Pennington <hp@redhat.com>
  151. - fix gettext package name
  152. * Mon Jun 17 2002 Havoc Pennington <hp@redhat.com>
  153. - remove empty AUTHORS/README
  154. * Sat Jun 15 2002 Havoc Pennington <hp@redhat.com>
  155. - 2.0.1
  156. - check file list, add glade module and gtk-doc docs
  157. * Sun May 26 2002 Tim Powers <timp@redhat.com>
  158. - automated rebuild
  159. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  160. - rebuild in different environment
  161. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  162. - rebuild in different environment
  163. * Fri May 17 2002 Havoc Pennington <hp@redhat.com>
  164. - 1.117.0
  165. * Thu May 2 2002 Havoc Pennington <hp@redhat.com>
  166. - rebuild for new libglade
  167. - 1.116.0
  168. * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com>
  169. - 1.114.0
  170. * Tue Feb 19 2002 Alex Larsson <alexl@redhat.com>
  171. - Add nasty version check stuff.
  172. * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com>
  173. - 1.111.0
  174. * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com>
  175. - Version 1.110.0
  176. * Fri Jan 25 2002 Havoc Pennington <hp@redhat.com>
  177. - rebuild in rawhide
  178. * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com>
  179. - 1.108.0.90 cvs snap
  180. * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com>
  181. - cvs snap 1.105.0.90, gtk 1.3.11
  182. * Fri Oct 26 2001 Havoc Pennington <hp@redhat.com>
  183. - new cvs snap, rebuild for gtk 1.3.10,
  184. add libglade dep, fix libart dep
  185. * Fri Oct 5 2001 Havoc Pennington <hp@redhat.com>
  186. - rebuild cvs snap for new glib/gtk
  187. * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com>
  188. - new cvs snap with upstream changes
  189. * Thu Sep 13 2001 Havoc Pennington <hp@redhat.com>
  190. - Initial build.