libgnomecanvas-vl.spec 7.0 KB

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