libgnomeuimm-vl.spec 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. Summary: A C++ interface for libgnomeui
  2. Name: libgnomeuimm
  3. Version: 2.24.0
  4. Release: 1%{?_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. BuildRequires: libgnomeui-devel >= 2.7.1
  11. BuildRequires: libgnomemm-devel >= 2.16.0
  12. BuildRequires: libgnomecanvasmm-devel >= 2.6.0
  13. BuildRequires: gconfmm-devel >= 2.6.0
  14. BuildRequires: libglademm2-devel >= 2.4.0
  15. BuildRequires: gnome-vfsmm-devel >= 2.16.0
  16. %description
  17. This package provides a C++ interface for GnomeUI. It is a subpackage
  18. of the Gtk-- project. The interface provides a convenient interface for C++
  19. programmers to create Gnome GUIs with GTK+'s flexible object-oriented
  20. framework.
  21. %package devel
  22. Summary: Headers for developing programs that will use libgnomeuimm.
  23. Group: Development/Libraries
  24. Requires: %{name} = %{version}
  25. Requires: libgnomeui-devel >= 2.7.1
  26. Requires: libgnomemm-devel >= 2.16.0
  27. Requires: libgnomecanvasmm-devel >= 2.6.0
  28. Requires: gconfmm-devel >= 2.6.0
  29. Requires: libglademm2-devel >= 2.4.0
  30. Requires: gnome-vfsmm-devel >= 2.16.0
  31. %description devel
  32. This package contains the headers that programmers will need to develop
  33. applications which will use Gnome--, part of Gtk-- the C++ interface to
  34. the GTK+ (the Gimp ToolKit) GUI library.
  35. %prep
  36. %setup -q
  37. %build
  38. # ...hope this can be removed soon
  39. %ifarch alpha
  40. ARCH_FLAGS="--host=alpha-linux-gnu"
  41. %endif
  42. export CXXFLAGS="$RPM_OPT_FLAGS -shared -fPIC"
  43. %configure --enable-shared --disable-static --enable-docs
  44. make %{?_smp_mflags}
  45. if [ "$SMP" != "" ]; then
  46. make -j$SMP "MAKE=make -j$SMP"
  47. make
  48. else
  49. make
  50. fi
  51. %install
  52. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  53. %makeinstall
  54. find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
  55. %post -p /sbin/ldconfig
  56. %postun -p /sbin/ldconfig
  57. %clean
  58. if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi
  59. %files
  60. %defattr(-, root, root)
  61. %doc AUTHORS COPYING ChangeLog INSTALL NEWS README
  62. %{_libdir}/*.so.*
  63. %files devel
  64. %defattr(-, root, root)
  65. %{_includedir}/libgnomeuimm-2.6
  66. #{_libdir}/*.la
  67. #{prefix}/lib/*.a # uncomment this one for static libs
  68. %{_libdir}/*.so
  69. %{_libdir}/libgnomeuimm-2.6
  70. %{_libdir}/pkgconfig/*.pc
  71. %changelog
  72. * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1vl5
  73. - new upstream release
  74. * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.18.0-1vl5
  75. - applied new versioning policy
  76. * Sat Jun 2 2007 NAKAMURA Kenta <kenta@vinelinux.org> 2.18.0-0vl4
  77. - build all object files with -fPIC so that sharlib is PIC
  78. * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl3
  79. - rebuilt without libstdc++2_10
  80. * Sun May 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl2
  81. - rebuilt with new toolchain
  82. - added -shared option to CXXFLAGS
  83. * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl1
  84. - new upstream release
  85. * Sat Nov 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1vl1
  86. - initial build for Vine Linux
  87. * Sun Dec 21 2003 Eric Bourque <ericb@computer.org>
  88. - fixed dependency to gtkmm2 instead of gtkmm
  89. * Thu Sep 25 2003 Eric Bourque <ericb@computer.org>
  90. - updated for libgnomeuimm-2.0
  91. * Tue Mar 20 2001 Eric Bourque <ericb@computer.org>
  92. - added gnome--.m4 to files devel section
  93. * Sat Mar 10 2001 Herbert Valerio Riedel <hvr@gnu.org>
  94. - improved examples.conf
  95. - fixed example build problems
  96. * Thu May 11 2000 Herbert Valerio Riedel <hvr@gnu.org>
  97. - removed lib/gtkmm from files section
  98. - removed empty obsolete tags
  99. * Sun Jan 30 2000 Karl Einar Nelson <kenelson@sourceforge.net>
  100. - adapted from gtk--.spec