libgnomecanvasmm-vl.spec 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. Summary: A C++ interface for libgnomecanvas
  2. Name: libgnomecanvasmm
  3. Version: 2.26.0
  4. Release: 2%{?_dist_release}
  5. License: LGPL
  6. Group: System Environment/Libraries
  7. Source: ftp://download.sourceforge.net/gtkmm/%{name}-%{version}.tar.bz2
  8. URL: http://gtkmm.sourceforge.net/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. Requires: gtkmm2 >= 2.4.0
  11. Requires: libgnomecanvas >= 2.6.0
  12. BuildRequires: gtkmm2-devel >= 2.4.0
  13. BuildRequires: libgnomecanvas-devel >= 2.6.0
  14. %description
  15. This package provides a C++ interface for GnomeUI. It is a subpackage
  16. of the gnomemm project. The interface provides a convenient interface for C++
  17. programmers to create Gnome GUIs with GTK+'s flexible object-oriented
  18. framework.
  19. %package devel
  20. Summary: Headers for developing programs that will use libgnomecanvasmm.
  21. Group: Development/Libraries
  22. Requires: %{name} = %{version}
  23. Requires: gtkmm2-devel >= 2.4.0
  24. Requires: libgnomecanvas-devel >= 2.6.0
  25. %description devel
  26. This package contains the headers that programmers will need to develop
  27. applications which will use libgnomecanvasmm, part of gnomemm - the C++
  28. interface to the GTK+ GUI library.
  29. %prep
  30. %setup -q
  31. %build
  32. # ...hope this can be removed soon
  33. %ifarch alpha
  34. ARCH_FLAGS="--host=alpha-linux-gnu"
  35. %endif
  36. %configure
  37. if [ "$SMP" != "" ]; then
  38. make -j$SMP "MAKE=make -j$SMP"
  39. make
  40. else
  41. make
  42. fi
  43. %install
  44. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  45. %makeinstall
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %clean
  49. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  50. %files
  51. %defattr(-, root, root)
  52. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  53. %{_libdir}/*.so.*
  54. %files devel
  55. %defattr(-, root, root)
  56. %{_includedir}/libgnomecanvasmm-2.6
  57. %exclude %{_libdir}/*.la
  58. #{prefix}/lib/*.a # uncomment this one for static libs
  59. %{_libdir}/*.so
  60. %{_libdir}/libgnomecanvasmm-2.6
  61. %{_libdir}/pkgconfig/*.pc
  62. %changelog
  63. * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.26.0-2
  64. - build with rpm-4.8.1-1 for pkg-config file
  65. * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.26.0-1
  66. - new upstream release
  67. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.22.0-1vl5
  68. - new upstream release
  69. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.16.0-2vl5
  70. - applied new versioning policy
  71. - excluded *.la
  72. * Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl3
  73. - rebuilt with new toolchains
  74. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl2
  75. - rebuilt with new gtkmm, libgnomecanvas
  76. * Fri Nov 3 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl1
  77. - initial build for Vine Linux
  78. * Sun Dec 21 2003 Eric Bourque <ericb@computer.org>
  79. - fixed dependency to gtkmm2 instead of gtkmm
  80. * Thu Sep 25 2003 Eric Bourque <ericb@computer.org>
  81. - updated for libgnomecanvasmm-2.0
  82. * Tue Mar 20 2001 Eric Bourque <ericb@computer.org>
  83. - added gnome--.m4 to files devel section
  84. * Sat Mar 10 2001 Herbert Valerio Riedel <hvr@gnu.org>
  85. - improved examples.conf
  86. - fixed example build problems
  87. * Thu May 11 2000 Herbert Valerio Riedel <hvr@gnu.org>
  88. - removed lib/gtkmm from files section
  89. - removed empty obsolete tags
  90. * Sun Jan 30 2000 Karl Einar Nelson <kenelson@sourceforge.net>
  91. - adapted from gtk--.spec