[521] | 1 | # ...for those missing static libraries... |
---|
| 2 | # |
---|
| 3 | # in order to build devel packages with static libs included you have to |
---|
| 4 | # change '--disable-static' to '--enable-static' and uncomment the line |
---|
| 5 | # containing the pattern ".../*.a" at the files section |
---|
| 6 | Summary: A C++ interface for Gnome libs (a GUI library for X). |
---|
| 7 | Summary(ja): Gnome ライブラリの C++ インターフェイス |
---|
| 8 | Name: libgnomemm |
---|
[805] | 9 | Version: 2.30.0 |
---|
[1859] | 10 | Release: 2%{?_dist_release} |
---|
[521] | 11 | License: LGPL |
---|
| 12 | Group: System Environment/Libraries |
---|
| 13 | Source: ftp://download.sourceforge.net/gtkmm/%{name}-%{version}.tar.bz2 |
---|
| 14 | URL: http://gtkmm.sourceforge.net/ |
---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 16 | Requires: gtkmm2 >= 2.8.0 |
---|
| 17 | Requires: libgnome >= 2.6.0 |
---|
| 18 | BuildRequires: gtkmm2-devel >= 2.8.0 |
---|
| 19 | BuildRequires: libgnome-devel >= 2.6.0 |
---|
| 20 | |
---|
| 21 | %description |
---|
| 22 | This package provides a C++ interface for GnomeUI. It is a subpackage |
---|
| 23 | of the Gtk-- project. The interface provides a convenient interface for C++ |
---|
| 24 | programmers to create Gnome GUIs with GTK+'s flexible object-oriented |
---|
| 25 | framework. |
---|
| 26 | |
---|
| 27 | #' |
---|
| 28 | %package devel |
---|
| 29 | Summary: Headers for developing programs that will use Gnome--. |
---|
| 30 | Summary(ja): Gnome-- を使うプログラムの開発用ファイル |
---|
| 31 | Group: Development/Libraries |
---|
| 32 | Requires: %{name} = %{version} |
---|
| 33 | Requires: gtkmm2-devel >= 2.8.0 |
---|
| 34 | Requires: libgnome-devel >= 2.6.0 |
---|
| 35 | |
---|
| 36 | %description devel |
---|
| 37 | This package contains the headers that programmers will need to develop |
---|
| 38 | applications which will use Gnome--, part of Gtk-- the C++ interface to |
---|
| 39 | the GTK+ (the Gimp ToolKit) GUI library. |
---|
| 40 | |
---|
| 41 | %prep |
---|
| 42 | %setup -q |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | # ...hope this can be removed soon |
---|
| 46 | %ifarch alpha |
---|
| 47 | ARCH_FLAGS="--host=alpha-redhat-linux" |
---|
| 48 | %endif |
---|
| 49 | %configure --disable-static $ARCH_FLAGS |
---|
| 50 | |
---|
| 51 | export tagname=CC |
---|
| 52 | make LIBTOOL=/usr/bin/libtool |
---|
| 53 | |
---|
| 54 | %install |
---|
| 55 | if [ -d $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT; fi |
---|
| 56 | export tagname=CC |
---|
| 57 | %makeinstall LIBTOOL=/usr/bin/libtool |
---|
| 58 | |
---|
| 59 | rm -f $RPM_BUILD_ROOT%{_libdir}/libgnomemm-*.a |
---|
| 60 | |
---|
| 61 | %post -p /sbin/ldconfig |
---|
| 62 | |
---|
| 63 | %postun -p /sbin/ldconfig |
---|
| 64 | |
---|
| 65 | %clean |
---|
| 66 | rm -rf $RPM_BUILD_ROOT |
---|
| 67 | |
---|
| 68 | %files |
---|
| 69 | %defattr(-, root, root) |
---|
| 70 | %doc AUTHORS COPYING ChangeLog INSTALL NEWS README |
---|
| 71 | %{_libdir}/*.so.* |
---|
| 72 | |
---|
| 73 | %files devel |
---|
| 74 | %defattr(-, root, root) |
---|
| 75 | %{_includedir}/* |
---|
| 76 | #{_libdir}/*.a |
---|
| 77 | %exclude %{_libdir}/*.la |
---|
| 78 | %{_libdir}/*.so |
---|
| 79 | %{_libdir}/pkgconfig/*.pc |
---|
| 80 | %{_libdir}/libgnomemm-2.6 |
---|
| 81 | |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[1859] | 84 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.30.0-2 |
---|
| 85 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 86 | |
---|
[805] | 87 | * Sun Mar 31 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[623] | 90 | * Sun Mar 14 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.0-1 |
---|
| 91 | - new upstream release |
---|
| 92 | |
---|
[521] | 93 | * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.24.0-1 |
---|
| 94 | - new upstream release |
---|
| 95 | |
---|
| 96 | * Fri Sep 19 2008 Shu KONNO <owa@bg.wakwak.com> 2.18.0-1vl5 |
---|
| 97 | - applied new versioning policy, spec in utf-8 |
---|
| 98 | - excluded *.la |
---|
| 99 | |
---|
| 100 | * Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl3 |
---|
| 101 | - rebuilt without libstdc++2_10 |
---|
| 102 | |
---|
| 103 | * Fri May 11 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl2 |
---|
| 104 | - rebuilt with new toolchains |
---|
| 105 | |
---|
| 106 | * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.0-0vl1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
| 109 | * Sat Nov 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-0vl1 |
---|
| 110 | - new upstream release |
---|
| 111 | |
---|
| 112 | * Tue Feb 14 2006 AKIYAMA Kazuhito <akiyama@yb3.so-net.ne.jp> 2.12.2-0vl1 |
---|
| 113 | - new upstream release |
---|
| 114 | |
---|
| 115 | * Fri Sep 23 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.0-0vl1 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
| 118 | * Fri Jan 14 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
| 121 | * Thu Nov 18 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-0vl1 |
---|
| 122 | - new upstream release |
---|
| 123 | - added Japanese summary |
---|
| 124 | |
---|
| 125 | * Sat Jan 31 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.0.1-0vl1 |
---|
| 126 | - rebuild for Vine Linux |
---|
| 127 | |
---|
| 128 | * Tue Sep 23 2003 Eric Bourque <ericb@computer.org> |
---|
| 129 | - updated for changes to libgnomemm-2.0 |
---|
| 130 | |
---|
| 131 | * Tue Mar 20 2001 Eric Bourque <ericb@computer.org> |
---|
| 132 | - added gnome--.m4 to files devel section |
---|
| 133 | |
---|
| 134 | * Sat Mar 10 2001 Herbert Valerio Riedel <hvr@gnu.org> |
---|
| 135 | - improved examples.conf |
---|
| 136 | - fixed example build problems |
---|
| 137 | |
---|
| 138 | * Thu May 11 2000 Herbert Valerio Riedel <hvr@gnu.org> |
---|
| 139 | - removed lib/gtkmm from files section |
---|
| 140 | - removed empty obsolete tags |
---|
| 141 | |
---|
| 142 | * Sun Jan 30 2000 Karl Einar Nelson <kenelson@sourceforge.net> |
---|
| 143 | - adapted from gtk--.spec |
---|