[521] | 1 | %define __libtoolize : |
---|
| 2 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
| 3 | |
---|
| 4 | %define libxml2_version 2.4.29 |
---|
| 5 | %define gtk2_version 2.6.0 |
---|
| 6 | %define pango_version 1.8.0 |
---|
| 7 | |
---|
| 8 | Summary: The libglade library for loading user interfaces. |
---|
| 9 | Name: libglade2 |
---|
| 10 | Version: 2.6.4 |
---|
[1858] | 11 | Release: 5%{?_dist_release} |
---|
[521] | 12 | License: LGPL |
---|
| 13 | Group: System Environment/Libraries |
---|
| 14 | Source: libglade-%{version}.tar.bz2 |
---|
| 15 | #Source2: fixed-ltmain.sh |
---|
| 16 | URL: http://www.gnome.org/ |
---|
| 17 | |
---|
| 18 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 19 | BuildRequires: libxml2-devel >= %{libxml2_version} |
---|
| 20 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
| 21 | BuildRequires: pango-devel >= %{pango_version} |
---|
| 22 | BuildRequires: python-devel >= 2.2.1 |
---|
| 23 | BuildRequires: python >= 2.2.1 |
---|
| 24 | Requires(post): libxml2 >= %{libxml2_version} |
---|
| 25 | Requires(postun): libxml2 >= %{libxml2_version} |
---|
| 26 | Requires(post): xml-common |
---|
| 27 | Requires(postun): xml-common |
---|
| 28 | |
---|
| 29 | %description |
---|
| 30 | Libglade is a small library that allows a program to load its user |
---|
| 31 | interface from am XML description at runtime. Libglade uses the XML |
---|
| 32 | file format used by the GLADE user interface builder GLADE, so |
---|
| 33 | libglade acts as an alternative to GLADE's code generation |
---|
| 34 | approach. Libglade also provides a simple interface for connecting |
---|
| 35 | handlers to the various signals in the interface (on platforms where |
---|
| 36 | the gmodule library works correctly, it is possible to connect all the |
---|
| 37 | handlers with a single function call). Once the interface has been |
---|
| 38 | instantiated, libglade gives no overhead, so other than the short |
---|
| 39 | initial interface loading time, there is no performance tradeoff. |
---|
| 40 | #' |
---|
| 41 | |
---|
| 42 | %package devel |
---|
| 43 | Summary: The files needed for libglade application development. |
---|
| 44 | Group: Development/Libraries |
---|
| 45 | Requires: %{name} = %{version}-%{release} |
---|
| 46 | Requires: libxml2-devel >= %{libxml2_version} |
---|
| 47 | Requires: gtk2-devel >= %{gtk2_version} |
---|
| 48 | Conflicts: libglade < 0.17 |
---|
| 49 | |
---|
| 50 | %description devel |
---|
| 51 | The libglade-devel package contains the libraries and include files |
---|
| 52 | that you can use to develop libglade applications. |
---|
| 53 | |
---|
| 54 | %package -n compat32-%{name} |
---|
| 55 | Summary: The libglade library for loading user interfaces. |
---|
| 56 | Group: System Environment/Libraries |
---|
| 57 | Requires: %{name} = %{version}-%{release} |
---|
| 58 | |
---|
| 59 | %description -n compat32-%{name} |
---|
| 60 | Libglade is a small library that allows a program to load its user |
---|
| 61 | interface from am XML description at runtime. Libglade uses the XML |
---|
| 62 | file format used by the GLADE user interface builder GLADE, so |
---|
| 63 | libglade acts as an alternative to GLADE's code generation |
---|
| 64 | approach. Libglade also provides a simple interface for connecting |
---|
| 65 | handlers to the various signals in the interface (on platforms where |
---|
| 66 | the gmodule library works correctly, it is possible to connect all the |
---|
| 67 | handlers with a single function call). Once the interface has been |
---|
| 68 | instantiated, libglade gives no overhead, so other than the short |
---|
| 69 | initial interface loading time, there is no performance tradeoff. |
---|
| 70 | #' |
---|
| 71 | |
---|
| 72 | %package -n compat32-%{name}-devel |
---|
| 73 | Summary: The files needed for libglade application development. |
---|
| 74 | Group: Development/Libraries |
---|
| 75 | Requires: %{name}-devel = %{version}-%{release} |
---|
| 76 | Requires: compat32-%{name} = %{version}-%{release} |
---|
| 77 | Requires: compat32-libxml2-devel >= %{libxml2_version} |
---|
| 78 | Requires: compat32-gtk2-devel >= %{gtk2_version} |
---|
| 79 | |
---|
| 80 | %description -n compat32-%{name}-devel |
---|
| 81 | The libglade-devel package contains the libraries and include files |
---|
| 82 | that you can use to develop libglade applications. |
---|
| 83 | |
---|
| 84 | %prep |
---|
| 85 | %setup -q -n libglade-%{version} |
---|
| 86 | |
---|
| 87 | %build |
---|
| 88 | |
---|
| 89 | #rm ltmain.sh && cp %{SOURCE2} ltmain.sh |
---|
| 90 | %configure --disable-gtk-doc --disable-static |
---|
| 91 | make %{?_smp_mflags} |
---|
| 92 | |
---|
| 93 | %install |
---|
| 94 | rm -rf $RPM_BUILD_ROOT |
---|
| 95 | |
---|
| 96 | %makeinstall |
---|
| 97 | install -m755 libglade-convert $RPM_BUILD_ROOT%{_bindir} |
---|
| 98 | |
---|
| 99 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{a,la} |
---|
| 100 | |
---|
| 101 | %clean |
---|
| 102 | rm -rf $RPM_BUILD_ROOT |
---|
| 103 | |
---|
| 104 | %post |
---|
| 105 | /sbin/ldconfig |
---|
| 106 | CATALOG=/etc/xml/catalog |
---|
| 107 | /usr/bin/xmlcatalog --noout --add "system" \ |
---|
| 108 | "http://glade.gnome.org/glade-2.0.dtd" \ |
---|
| 109 | "file://%{_datadir}/xml/libglade/glade-2.0.dtd" $CATALOG |
---|
| 110 | |
---|
| 111 | %postun |
---|
| 112 | /sbin/ldconfig |
---|
| 113 | # remove entries only on removal of package |
---|
| 114 | if [ "$1" = 0 ]; then |
---|
| 115 | CATALOG=/etc/xml/catalog |
---|
| 116 | /usr/bin/xmlcatalog --noout --del \ |
---|
| 117 | "file://%{_datadir}/xml/libglade/glade-2.0.dtd" $CATALOG |
---|
| 118 | fi |
---|
| 119 | |
---|
| 120 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 121 | |
---|
| 122 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 123 | |
---|
| 124 | %files |
---|
| 125 | %defattr(-, root, root) |
---|
| 126 | %doc AUTHORS ChangeLog NEWS README COPYING |
---|
| 127 | %{_libdir}/lib*.so.* |
---|
| 128 | %{_datadir}/xml |
---|
| 129 | |
---|
| 130 | %files devel |
---|
| 131 | %defattr(-, root, root) |
---|
| 132 | %doc test-libglade.c |
---|
| 133 | %{_bindir}/* |
---|
| 134 | %{_libdir}/lib*.so |
---|
| 135 | %{_libdir}/pkgconfig/*.pc |
---|
| 136 | %{_includedir}/* |
---|
| 137 | %{_datadir}/gtk-doc |
---|
| 138 | |
---|
| 139 | %if %{build_compat32} |
---|
| 140 | %files -n compat32-%{name} |
---|
| 141 | %defattr(-, root, root) |
---|
| 142 | %{_libdir}/lib*.so.* |
---|
| 143 | |
---|
| 144 | %files -n compat32-%{name}-devel |
---|
| 145 | %defattr(-, root, root) |
---|
| 146 | %{_libdir}/lib*.so |
---|
| 147 | %{_libdir}/pkgconfig/*.pc |
---|
| 148 | %endif |
---|
| 149 | |
---|
| 150 | %changelog |
---|
[1858] | 151 | * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.6.4-5 |
---|
| 152 | - build with rpm-4.8.1-1 for pkg-config file |
---|
| 153 | |
---|
[521] | 154 | * Tue Mar 2 2010 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 2.6.4-4 |
---|
| 155 | - rebuilt with new toolchain |
---|
| 156 | |
---|
| 157 | * Sun Jul 12 2009 NAKAMURA Kenta <kenta@vinelinux.org> 2.6.4-3 |
---|
| 158 | - added compat32-libglade2-devel for x86_64 architecture |
---|
| 159 | |
---|
| 160 | * Sun Apr 26 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.6.4-2 |
---|
| 161 | - add Requires(post,postun): xml-common |
---|
| 162 | - remove static library |
---|
| 163 | |
---|
| 164 | * Fri Apr 10 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.4-1 |
---|
| 165 | - new upstream release |
---|
| 166 | |
---|
| 167 | * Mon Sep 15 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.3-1 |
---|
| 168 | - new upstream release |
---|
| 169 | - run /usr/bin/xmlcatlog at %%post and %%postun section |
---|
| 170 | |
---|
| 171 | * Wed Apr 9 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.2-1vl5 |
---|
| 172 | - used %%{?_dist_release} tag |
---|
| 173 | - removed lib*.la from devel package |
---|
| 174 | |
---|
| 175 | * Sat Nov 17 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.2-0vl1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
| 178 | * Wed Aug 2 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.6.0-0vl1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
| 181 | * Fri May 26 2006 NAKAMURA Kenta <kenta@vinelinux.org> 2.5.1-0vl2 |
---|
| 182 | - added compat32-libglade2 package for x86_64 architecture support |
---|
| 183 | |
---|
| 184 | * Mon Mar 21 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.5.1-0vl1 |
---|
| 185 | - new upstream version |
---|
| 186 | |
---|
| 187 | * Thu Feb 24 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.4.2-0vl1 |
---|
| 188 | - new upstream release |
---|
| 189 | |
---|
| 190 | * Tue Jun 17 2004 Tomoya TAKA <taka@vinelinux.org> 2.4.0-0vl1 |
---|
| 191 | - new upstream release |
---|
| 192 | - drop obsoleted Source2 |
---|
| 193 | - s/COPYRIGHT/LICENSE/ |
---|
| 194 | |
---|
| 195 | * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl2 |
---|
| 196 | - rebuild with python2 |
---|
| 197 | |
---|
| 198 | * Sun Dec 15 2002 Daisuke SUZUKI <daisuke@linux.or.jp> 2.0.1-0vl1 |
---|
| 199 | - build for Vine Linux |
---|
| 200 | |
---|
| 201 | * Fri Jun 21 2002 Tim Powers <timp@redhat.com> |
---|
| 202 | - automated rebuild |
---|
| 203 | |
---|
| 204 | * Sat Jun 15 2002 Havoc Pennington <hp@redhat.com> |
---|
| 205 | - 2.0.0 |
---|
| 206 | - check over file list, add XML DTD to it |
---|
| 207 | |
---|
| 208 | * Fri May 17 2002 Havoc Pennington <hp@redhat.com> |
---|
| 209 | - rebuild in different environment |
---|
| 210 | |
---|
| 211 | * Fri May 17 2002 Havoc Pennington <hp@redhat.com> |
---|
| 212 | - don't run auto* |
---|
| 213 | |
---|
| 214 | * Fri May 17 2002 Havoc Pennington <hp@redhat.com> |
---|
| 215 | - 1.99.12 |
---|
| 216 | - remove gtk-doc hack, --disable-gtk-doc now works |
---|
| 217 | |
---|
| 218 | * Thu May 2 2002 Havoc Pennington <hp@redhat.com> |
---|
| 219 | - 1.99.11 |
---|
| 220 | |
---|
| 221 | * Thu Apr 4 2002 Jeremy Katz <katzj@redhat.com> |
---|
| 222 | - 1.99.10 |
---|
| 223 | |
---|
| 224 | * Tue Mar 19 2002 Alex Larsson <alexl@redhat.com> |
---|
| 225 | - Update autoconf dependency to 2.53 |
---|
| 226 | |
---|
| 227 | * Mon Mar 11 2002 Alex Larsson <alexl@redhat.com> |
---|
| 228 | - Update to 1.99.9 |
---|
| 229 | |
---|
| 230 | * Mon Feb 25 2002 Alex Larsson <alexl@redhat.com> |
---|
| 231 | - Bump for rebuild |
---|
| 232 | |
---|
| 233 | * Thu Feb 21 2002 Alex Larsson <alexl@redhat.com> |
---|
| 234 | - Bump for rebuild |
---|
| 235 | |
---|
| 236 | * Tue Feb 19 2002 Alex Larsson <alexl@redhat.com> |
---|
| 237 | - Add horrible buildroot check hacks. Require new Gtk+. |
---|
| 238 | |
---|
| 239 | * Thu Feb 14 2002 Havoc Pennington <hp@redhat.com> |
---|
| 240 | - rebuild for new gtk |
---|
| 241 | |
---|
| 242 | * Wed Jan 30 2002 Owen Taylor <otaylor@redhat.com> |
---|
| 243 | - Rebuild against new GTK+ |
---|
| 244 | |
---|
| 245 | * Tue Jan 22 2002 Havoc Pennington <hp@redhat.com> |
---|
| 246 | - put "nogtkdoc" patch back, it avoids X display requirement |
---|
| 247 | - automake14 |
---|
| 248 | |
---|
| 249 | * Wed Jan 2 2002 Havoc Pennington <hp@redhat.com> |
---|
| 250 | - 1.99.5.90 snap |
---|
| 251 | - comment out "nogtkdoc" patch, don't run autoconf |
---|
| 252 | |
---|
| 253 | * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com> |
---|
| 254 | - new 1.99.4.91 snap with Jacob's fixes, he |
---|
| 255 | assures me we are 1.99.4.90 ABI-compatible |
---|
| 256 | |
---|
| 257 | * Mon Nov 26 2001 Havoc Pennington <hp@redhat.com> |
---|
| 258 | - new 1.99.4.90 snap, gtk 1.3.11 |
---|
| 259 | |
---|
| 260 | * Fri Oct 26 2001 Havoc Pennington <hp@redhat.com> |
---|
| 261 | - new snap, rebuild on gtk 1.3.10 |
---|
| 262 | |
---|
| 263 | * Sat Oct 6 2001 Havoc Pennington <hp@redhat.com> |
---|
| 264 | - new snap, add hack to avoid trying to build docs |
---|
| 265 | - add the ltmain.sh hack to avoid relinking |
---|
| 266 | |
---|
| 267 | * Mon Sep 24 2001 Havoc Pennington <hp@redhat.com> |
---|
| 268 | - new snap |
---|
| 269 | |
---|
| 270 | * Fri Sep 21 2001 Havoc Pennington <hp@redhat.com> |
---|
| 271 | - convert libglade rpm to libglade2 rpm, initial build of libglade2 |
---|
| 272 | |
---|
| 273 | * Mon Aug 20 2001 Jonathan Blandford <jrb@redhat.com> |
---|
| 274 | - Escape strings, #51966 |
---|
| 275 | |
---|
| 276 | * Sun Jul 22 2001 Havoc Pennington <hp@redhat.com> |
---|
| 277 | - add build requires, bug #49508 |
---|
| 278 | |
---|
| 279 | * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com> |
---|
| 280 | - Bump release + rebuild. |
---|
| 281 | |
---|
| 282 | * Tue Apr 17 2001 Jonathan Blandford <jrb@redhat.com> |
---|
| 283 | - New Version. |
---|
| 284 | |
---|
| 285 | * Thu Mar 01 2001 Owen Taylor <otaylor@redhat.com> |
---|
| 286 | - Rebuild for GTK+-1.2.9 include paths |
---|
| 287 | |
---|
| 288 | * Thu Feb 08 2001 Florian La Roche <Florian.LaRoche@redhat.de> |
---|
| 289 | - add libtoolize to make porting to new archs easy |
---|
| 290 | |
---|
| 291 | * Fri Dec 29 2000 Matt Wilson <msw@redhat.com> |
---|
| 292 | - 0.14 |
---|
| 293 | - added patch for gtk-doc scanner linkage |
---|
| 294 | |
---|
| 295 | * Fri Aug 11 2000 Jonathan Blandford <jrb@redhat.com> |
---|
| 296 | - Up Epoch and release |
---|
| 297 | |
---|
| 298 | * Thu Jul 13 2000 Prospector <bugzilla@redhat.com> |
---|
| 299 | - automatic rebuild |
---|
| 300 | |
---|
| 301 | * Thu Jun 29 2000 Owen Taylor <otaylor@redhat.com> |
---|
| 302 | - specfile fixes |
---|
| 303 | |
---|
| 304 | * Wed May 31 2000 Owen Taylor <otaylor@redhat.com> |
---|
| 305 | - Upgraded to libglade-0.13 |
---|
| 306 | - Use %makeinstall, since that is required when %configure is used. |
---|
| 307 | |
---|
| 308 | * Fri May 19 2000 Owen Taylor <otaylor@redhat.com> |
---|
| 309 | - Upgraded to libglade-0.12 |
---|
| 310 | |
---|
| 311 | * Tue Sep 07 1999 Elliot Lee <sopwith@redhat.com> |
---|
| 312 | - Updated RHL 6.1 package to libglade-0.5 |
---|
| 313 | |
---|
| 314 | * Sun Nov 1 1998 James Henstridge <james@daa.com.au> |
---|
| 315 | |
---|
| 316 | - Updated the dependencies of the devel package, so users must have gtk+-devel. |
---|
| 317 | |
---|
| 318 | * Sun Oct 25 1998 James Henstridge <james@daa.com.au> |
---|
| 319 | |
---|
| 320 | - Initial release 0.0.1 |
---|