libgnomecanvas-vl.spec 6.8 KB

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