[521] | 1 | %define ver 2.4 |
---|
| 2 | |
---|
| 3 | Summary: A C++ interface for the GTK+ (a GUI library for X). |
---|
| 4 | Summary(ja): GTK+ の C++ インターフェイス |
---|
| 5 | Name: gtkmm2 |
---|
| 6 | Version: 2.18.2 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: LGPL |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | Source: ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.18/gtkmm-%{version}.tar.bz2 |
---|
| 11 | |
---|
| 12 | URL: http://gtkmm.sourceforge.net/ |
---|
| 13 | Buildroot: %{_tmppath}/%{name}-%{version}-root |
---|
| 14 | Requires: glibmm >= 2.21.2 |
---|
| 15 | Requires: pangomm >= 2.25.1.3 |
---|
| 16 | Requires: atk >= 1.9.0 |
---|
| 17 | Requires: gtk2 >= 2.17.11 |
---|
| 18 | BuildRequires: glibmm-devel >= 2.21.2 |
---|
| 19 | BuildRequires: cairomm-devel |
---|
| 20 | BuildRequires: pangomm-devel >= 2.25.1.3 |
---|
| 21 | BuildRequires: atk-devel >= 1.9.0 |
---|
| 22 | BuildRequires: gtk2-devel >= 2.17.11 |
---|
| 23 | BuildRequires: libsigc++-devel >= 2.0.0 |
---|
| 24 | |
---|
| 25 | %description |
---|
| 26 | gtkmm (previously known as Gtk--) is the official C++ interface for the |
---|
| 27 | popular GUI library GTK+. Highlights include typesafe callbacks, widgets |
---|
| 28 | extensible via inheritance and a comprehensive set of widget classes that |
---|
| 29 | can be freely combined to quickly create complex user interfaces. |
---|
| 30 | |
---|
| 31 | The gtkmm devel package contains the static libraries and header files |
---|
| 32 | needed for developing GTK+ (GIMP ToolKit) applications in C++. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %package devel |
---|
| 36 | Summary: Development tools for gtkmm applications. |
---|
| 37 | Summary(ja): gtkmm アプリケーションの開発用ファイル |
---|
| 38 | Group: Development/Libraries |
---|
| 39 | Requires: %{name} = %{version} |
---|
| 40 | Requires: gtk2-devel >= 2.17.11 |
---|
| 41 | Requires: glibmm-devel >= 2.21.2 |
---|
| 42 | Requires: cairomm-devel |
---|
| 43 | Requires: pangomm-devel >= 2.25.1.3 |
---|
| 44 | |
---|
| 45 | %description devel |
---|
| 46 | This package contains the headers that programmers will need to develop |
---|
| 47 | applications which will use Gtk--, the C++ interface to the GTK+ |
---|
| 48 | (the Gimp ToolKit) GUI library. |
---|
| 49 | |
---|
| 50 | %prep |
---|
| 51 | %setup -q -n gtkmm-%{version} |
---|
| 52 | #patch0 -p1 |
---|
| 53 | |
---|
| 54 | %build |
---|
| 55 | %configure --disable-static |
---|
| 56 | make %{?_smp_mflags} |
---|
| 57 | |
---|
| 58 | %install |
---|
| 59 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 60 | |
---|
| 61 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 62 | |
---|
| 63 | find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' |
---|
| 64 | |
---|
| 65 | # Fix documentation installation, put everything under gtk-doc |
---|
| 66 | mkdir -p $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver} |
---|
| 67 | mv ${RPM_BUILD_ROOT}%{_docdir}/gtkmm-%{ver}/* $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gtkmm-%{ver}/ |
---|
| 68 | |
---|
| 69 | # devhelp path fix |
---|
| 70 | sed -i 's:doc/gtkmm-%{ver}:gtk-doc/html/gtkmm-%{ver}:g' $RPM_BUILD_ROOT%{_datadir}/devhelp/books/gtkmm-%{ver}/gtkmm-%{ver}.devhelp2 |
---|
| 71 | |
---|
| 72 | # remove demos, examples |
---|
| 73 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/demo |
---|
| 74 | rm -rf $RPM_BUILD_ROOT%{_datadir}/gtkmm-%{ver}/examples |
---|
| 75 | |
---|
| 76 | %post -p /sbin/ldconfig |
---|
| 77 | |
---|
| 78 | %postun -p /sbin/ldconfig |
---|
| 79 | |
---|
| 80 | %clean |
---|
| 81 | [ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT |
---|
| 82 | |
---|
| 83 | %files |
---|
| 84 | %defattr(-, root, root) |
---|
| 85 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 86 | %{_libdir}/lib*.so.* |
---|
| 87 | |
---|
| 88 | %files devel |
---|
| 89 | %defattr(-, root, root) |
---|
| 90 | %{_includedir}/* |
---|
| 91 | #{_libdir}/*.la |
---|
| 92 | #{_libdir}/*.a |
---|
| 93 | %{_libdir}/*.so |
---|
| 94 | %{_libdir}/gtkmm-* |
---|
| 95 | %{_libdir}/gdkmm-* |
---|
| 96 | %{_libdir}/pkgconfig/*.pc |
---|
| 97 | |
---|
| 98 | %{_datadir}/gtk-doc/html/* |
---|
| 99 | %{_datadir}/devhelp/books/* |
---|
| 100 | |
---|
| 101 | %changelog |
---|
| 102 | * Mon Oct 5 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.18.2-1 |
---|
| 103 | - new upstream release |
---|
| 104 | |
---|
| 105 | * Fri Mar 20 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.16.0-1 |
---|
| 106 | - new upstream release |
---|
| 107 | - dropped Patch0 |
---|
| 108 | |
---|
| 109 | * Sat Oct 4 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.14.1-1vl5 |
---|
| 110 | - new upstream release |
---|
| 111 | - added --disable-static to %%configure |
---|
| 112 | - added Patch0 for devhelp path fix |
---|
| 113 | - spec in UTF-8 |
---|
| 114 | |
---|
| 115 | * Sat Apr 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.7-1vl5 |
---|
| 116 | - new upstream release |
---|
| 117 | - devel documents are installed into gtk-doc dir |
---|
| 118 | |
---|
| 119 | * Sun Jan 13 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.12.3-0vl1 |
---|
| 120 | - new upstream release |
---|
| 121 | |
---|
| 122 | * Fri May 11 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.10-0vl1 |
---|
| 123 | - new upstream release |
---|
| 124 | - rebuild with new environment/toolchain |
---|
| 125 | |
---|
| 126 | * Mon Apr 30 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.10.9-0vl1 |
---|
| 127 | - new upstream release |
---|
| 128 | - added Requires/BuildRequires for cairomm |
---|
| 129 | |
---|
| 130 | * Tue Jan 9 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.10-0vl1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
| 133 | * Sun Sep 24 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.9-0vl1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
| 136 | * Sat Aug 19 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl2 |
---|
| 137 | - rebuilt with glibmm-2.12.0, pango-1.14.0, atk-1.12.1 |
---|
| 138 | |
---|
| 139 | * Sat May 20 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.8-0vl1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
| 142 | * Mon May 15 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.7-0vl1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
| 145 | * Tue Apr 25 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.5-0vl1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
| 148 | * Sat Feb 4 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.3-0vl1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
| 151 | * Sat Nov 19 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.1-0vl1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
| 154 | * Tue Sep 20 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.8.0-0vl1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
| 157 | * Wed Aug 17 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl2 |
---|
| 158 | - rebuild with libsigc++ 2.0.16, libtool 1.5.18 |
---|
| 159 | - added Requires: pkgconfig |
---|
| 160 | - added Requires: glibmm-devel to devel package |
---|
| 161 | |
---|
| 162 | * Sun Jul 31 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-0vl1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
| 165 | * Tue May 03 2005 Satoshi MACHINO <machino@vinelinux.org> 2.6.2-0vl1 |
---|
| 166 | - new upstream release |
---|
| 167 | - changed Copylight to License |
---|
| 168 | |
---|
| 169 | * Sat Apr 2 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.1-0vl1 |
---|
| 170 | - new upstream release |
---|
| 171 | - updated dependancy |
---|
| 172 | |
---|
| 173 | * Sun Feb 27 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.11-0vl1 |
---|
| 174 | - new upstream release |
---|
| 175 | |
---|
| 176 | * Sat Dec 11 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.8-0vl1 |
---|
| 177 | - new upstream release |
---|
| 178 | |
---|
| 179 | * Sun Nov 14 2004 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.7-0vl1 |
---|
| 180 | - new upstream release |
---|
| 181 | - fixed libraries dependancy |
---|
| 182 | - added Japanese summary |
---|
| 183 | |
---|
| 184 | * Tue Dec 16 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.2.8-1vl1 |
---|
| 185 | - rebuild for Vine Linux |
---|
| 186 | - based on Freshrpms |
---|
| 187 | |
---|
| 188 | * Thu Nov 12 2003 Matthias Saou <http://freshrpms.net/> - 2.2.8-1.fr |
---|
| 189 | - Update to 2.2.8. |
---|
| 190 | - Added devhelp book. |
---|
| 191 | - Rebuild for Fedora Core 1. |
---|
| 192 | |
---|
| 193 | * Tue Jul 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 194 | - Update to 2.2.5. |
---|
| 195 | |
---|
| 196 | * Fri May 23 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 197 | - Update to 2.2.3. |
---|
| 198 | |
---|
| 199 | * Thu May 22 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 200 | - Update to 2.2.2. |
---|
| 201 | |
---|
| 202 | * Sun May 4 2003 Matthias Saou <matthias.saou@est.une.marmotte.net> |
---|
| 203 | - Initial release based on the gtkmm 1.x spec file. |
---|