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