| 1 | %define pango_version 1.16.0 |
|---|
| 2 | %define gtk2_version 2.10.0 |
|---|
| 3 | %define libxml2_version 2.5.8 |
|---|
| 4 | %define gnome_vfs2_version 2.18.0 |
|---|
| 5 | %define gail_version 1.18.0 |
|---|
| 6 | |
|---|
| 7 | Summary: An HTML widget for GTK+ 2.0 |
|---|
| 8 | Summary(ja): GTK+ 2.0 用 HTML ウィジェット |
|---|
| 9 | Name: gtkhtml2 |
|---|
| 10 | Version: 2.11.1 |
|---|
| 11 | Release: 3%{?_dist_release} |
|---|
| 12 | Source0: libgtkhtml-%{version}.tar.bz2 |
|---|
| 13 | License: LGPL |
|---|
| 14 | Group: System Environment/Libraries |
|---|
| 15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|---|
| 16 | BuildRequires: pango-devel >= %{pango_version} |
|---|
| 17 | BuildRequires: gtk2-devel >= %{gtk2_version} |
|---|
| 18 | BuildRequires: libxml2-devel >= %{libxml2_version} |
|---|
| 19 | BuildRequires: gnome-vfs2-devel >= %{gnome_vfs2_version} |
|---|
| 20 | #BuildRequires: gail-devel >= %{gail_version} |
|---|
| 21 | Requires: gtk2 >= %{gtk2_version} |
|---|
| 22 | Requires: libxml2 >= %{libxml2_version} |
|---|
| 23 | Requires: gnome-vfs2 >= %{gnome_vfs2_version} |
|---|
| 24 | #Requires: gail >= %{gail_version} |
|---|
| 25 | |
|---|
| 26 | %description |
|---|
| 27 | GtkHTML2 (sometimes called libgtkhtml) is contains a widget for |
|---|
| 28 | displaying html pages. |
|---|
| 29 | |
|---|
| 30 | %package devel |
|---|
| 31 | Summary: Libraries, includes, etc to develop Gtkhtml2 applications |
|---|
| 32 | Group: Development/Libraries |
|---|
| 33 | Requires: gtkhtml2 = %{version}-%{release} |
|---|
| 34 | Requires: gtk2-devel >= %{gtk2_version} |
|---|
| 35 | Requires: libxml2-devel >= %{libxml2_version} |
|---|
| 36 | Requires: gnome-vfs2-devel >= %{gnome_vfs2_version} |
|---|
| 37 | #Requires: gail-devel >= %{gail_version} |
|---|
| 38 | |
|---|
| 39 | %description devel |
|---|
| 40 | Libraries and include files that can be used to develop Gtkhtml2 applications. |
|---|
| 41 | |
|---|
| 42 | %prep |
|---|
| 43 | %setup -q -n libgtkhtml-%{version} |
|---|
| 44 | |
|---|
| 45 | %build |
|---|
| 46 | %configure --disable-static |
|---|
| 47 | make |
|---|
| 48 | |
|---|
| 49 | %install |
|---|
| 50 | rm -rf $RPM_BUILD_ROOT |
|---|
| 51 | %makeinstall |
|---|
| 52 | |
|---|
| 53 | # remove unpackaged files |
|---|
| 54 | rm -f $RPM_BUILD_ROOT%{_libdir}/libgtkhtml-2.la |
|---|
| 55 | |
|---|
| 56 | %clean |
|---|
| 57 | rm -rf $RPM_BUILD_ROOT |
|---|
| 58 | |
|---|
| 59 | %post -p /sbin/ldconfig |
|---|
| 60 | |
|---|
| 61 | %postun -p /sbin/ldconfig |
|---|
| 62 | |
|---|
| 63 | %files |
|---|
| 64 | %defattr(-,root,root) |
|---|
| 65 | %doc AUTHORS COPYING.LIB ChangeLog NEWS |
|---|
| 66 | %{_libdir}/lib*.so.* |
|---|
| 67 | |
|---|
| 68 | %files devel |
|---|
| 69 | %defattr(-,root,root) |
|---|
| 70 | %{_includedir}/gtkhtml-2.0 |
|---|
| 71 | %{_libdir}/lib*.so |
|---|
| 72 | #{_libdir}/lib*.a |
|---|
| 73 | %{_libdir}/pkgconfig/* |
|---|
| 74 | |
|---|
| 75 | %changelog |
|---|
| 76 | * Sun Oct 03 2010 Shu KONNO <owa@bg.wakwak.com> 2.11.1-3 |
|---|
| 77 | - rebuilt with rpm-4.8.1 for pkg-config |
|---|
| 78 | |
|---|
| 79 | * Tue Jul 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.11.1-2 |
|---|
| 80 | - spec in UTF-8 |
|---|
| 81 | - removed static libraries |
|---|
| 82 | |
|---|
| 83 | * Mon May 12 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.11.1-1 |
|---|
| 84 | - new upstream release |
|---|
| 85 | |
|---|
| 86 | * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.11.0-0vl1 |
|---|
| 87 | - new upstream release |
|---|
| 88 | |
|---|
| 89 | * Wed Nov 30 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.3-0vl1 |
|---|
| 90 | - new upstream release |
|---|
| 91 | |
|---|
| 92 | * Mon Nov 22 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.2-0vl1 |
|---|
| 93 | - new upstream release |
|---|
| 94 | |
|---|
| 95 | * Thu Sep 04 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.4.0-0vl1 |
|---|
| 96 | - new upstream release |
|---|
| 97 | |
|---|
| 98 | * Wed Sep 03 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.3.5-0vl1 |
|---|
| 99 | - new upstream release |
|---|
| 100 | |
|---|
| 101 | * Sat May 24 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.4-0vl1 |
|---|
| 102 | - new upstream release |
|---|
| 103 | |
|---|
| 104 | * Tue Jan 21 2003 Daisuke SUZUKI <daisuke@linux.or.jp> 2.2.0-0vl1 |
|---|
| 105 | - new upstream release |
|---|
| 106 | |
|---|
| 107 | * Thu Dec 26 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.6-0vl1 |
|---|
| 108 | - new upstream release |
|---|
| 109 | |
|---|
| 110 | * Tue Dec 17 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.4-0vl1 |
|---|
| 111 | - build for Vine Linux |
|---|
| 112 | |
|---|
| 113 | * Wed Oct 23 2002 Alexander Larsson <alexl@redhat.com> 2.0.1-3 |
|---|
| 114 | - Remove unpackaged files |
|---|
| 115 | |
|---|
| 116 | * Mon Sep 2 2002 Matt Wilson <msw@redhat.com> |
|---|
| 117 | - added a patch to avoid crashes during html document destruction |
|---|
| 118 | |
|---|
| 119 | * Thu Aug 8 2002 Alexander Larsson <alexl@redhat.com> |
|---|
| 120 | - Update to 2.0.1, fixes #67866 |
|---|
| 121 | |
|---|
| 122 | * Sat Jul 27 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 123 | - rebuild with new gail |
|---|
| 124 | |
|---|
| 125 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
|---|
| 126 | - automated rebuild |
|---|
| 127 | |
|---|
| 128 | * Sun Jun 16 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 129 | - 2.0.0 |
|---|
| 130 | |
|---|
| 131 | * Fri Jun 07 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 132 | - rebuild in different environment |
|---|
| 133 | |
|---|
| 134 | * Wed Jun 5 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 135 | - 1.99.9 |
|---|
| 136 | |
|---|
| 137 | * Sun May 26 2002 Tim Powers <timp@redhat.com> |
|---|
| 138 | - automated rebuild |
|---|
| 139 | |
|---|
| 140 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 141 | - rebuild in different environment |
|---|
| 142 | |
|---|
| 143 | * Tue May 21 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 144 | - 1.99.7 |
|---|
| 145 | |
|---|
| 146 | * Fri May 3 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 147 | - 1.99.6 |
|---|
| 148 | |
|---|
| 149 | * Fri Apr 19 2002 Havoc Pennington <hp@redhat.com> |
|---|
| 150 | - rebuild for new gail, 1.99.5 |
|---|
| 151 | |
|---|
| 152 | * Fri Apr 5 2002 Jeremy Katz <katzj@redhat.com> |
|---|
| 153 | - update to 1.99.3 |
|---|
| 154 | |
|---|
| 155 | * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com> |
|---|
| 156 | - Rebuild for new gnome2 libraries |
|---|
| 157 | |
|---|
| 158 | * Mon Jan 28 2002 Alex Larsson <alexl@redhat.com> |
|---|
| 159 | - Initial build. |
|---|