LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File libglade2.spec of Package libglade2 (Project DISCONTINUED:openSUSE:11.1)

#
# spec file for package libglade2 (Version 2.6.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libglade2
%define _name libglade
BuildRequires:  fdupes gnome-common gtk-doc gtk2-devel indent libxml2-devel orbit2-devel python-devel python-xml update-desktop-files
License:        LGPL v2.1 or later
AutoReqProv:    on
Summary:        Glade Library Compatible with the GNOME 2.x Desktop Platform
Group:          Development/Libraries/GNOME
Version:        2.6.3
Release:        1
Source:         ftp://ftp.gnome.org/pub/GNOME/sources/%{_name}/2.6/%{_name}-%{version}.tar.bz2
Url:            http://www.daa.com.au/~james/gnome/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This library allows you to load Glade interface files in a program at
runtime. It does not require that you use Glade, but Glade is the
easiest way to create the interface files.  For an idea of how to use
the library, see the documentation, especially
/usr/share/doc/packages/libglade/test-libgladee.c and the glade-xml.h
include, which is in the libglade package.



Authors:
--------
    James Henstridge <james@daa.com.au>

%package devel
License:        LGPL v2.1 or later
Summary:        Include Files and Libraries mandatory for Development.
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version} libxml2-devel glib2-devel atk-devel gtk2-devel

%description devel
This package contains all necessary include files and libraries needed
to develop applications that require these.



Authors:
--------
    James Henstridge <james@daa.com.au>

%package doc
License:        LGPL v2.1 or later
Summary:        Glade Library Compatible with the GNOME 2.x Platform
Group:          Development/Libraries/GNOME
Requires:       %{name} = %{version}

%description doc
This library allows you to load glade interface files into a program at
runtime. It does not require GLADE to be used, but GLADE is by far the
easiest way to create the interface files.  For an idea of how to use
the library, see the documentation, especially
/usr/share/doc/packages/libglade/test-libgladee.c and glade-xml.h
include, that is in the libgladed package.



Authors:
--------
    James Henstridge <james@daa.com.au>

%prep
%setup -q -n %{_name}-%{version}

%build
ACLOCAL="aclocal -I m4" autoreconf -f -i
%configure\
	--disable-static
make %{?jobs:-j%jobs}

%install
%makeinstall
mkdir -p $RPM_BUILD_ROOT%{_libdir}/libglade/2.0
%if %suse_version > 1020
%fdupes $RPM_BUILD_ROOT
%endif

%clean
rm -rf $RPM_BUILD_ROOT

%post
%run_ldconfig

%postun
%run_ldconfig

%files 
%defattr(-, root, root)
%doc AUTHORS ChangeLog NEWS README COPYING
%{_libdir}/lib*.so.*
%dir %{_libdir}/libglade
%dir %{_libdir}/libglade/2.0

%files devel
%defattr(-, root, root)
%{_bindir}/*
%{_includedir}/libglade-2.0
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%files doc
%defattr(-, root, root)
%{_datadir}/gtk-doc/html/libglade
%{_datadir}/xml/libglade

%changelog
* Thu Aug 28 2008 maw@suse.de
- Update to version 2.6.3:
  + glade_xml_new_from_buffer(): Do not call g_free() on a GObject
  + Documentation:
  * Actually show glade_xml_construct_from_buffer()
  (Murray Cumming)
  * Improve the book title and abstract
  + Mention gmodule-export-2.0 for autoconnecting (bgo#446175).
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
  for multilib support
* Tue Jul 31 2007 maw@suse.de
- Update to version 2.6.2, which fixes building with gtk+ 2.11
- Remove dont-disable-deprecated.patch as it is no longer needed.
* Fri Jul 27 2007 maw@suse.de
- Add dont-disable-deprecated.patch
- Use %%fdupes.
* Wed Jul 11 2007 mauro@suse.de
- Update to version 2.6.1
- Fix for bug #326511
- Added support for automake 1.10 and autoconf 2.6x
* Wed Feb 07 2007 sbrabec@suse.cz
- Do not build unusable static libraries (#238552).
* Fri Dec 08 2006 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Sat Jul 22 2006 gekker@suse.de
- Update to version 2.6.0
  - Win32 portability fixes (Tor)
  - Compiler warning fixes (Kjartan)
  - Fixes for ASCII characters in entries (Matthias)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Sep 27 2005 mls@suse.de
- make devel package require base package
* Mon Apr 11 2005 sbrabec@suse.cz
- Fixed Requires of doc subpackage.
* Mon Mar 21 2005 sbrabec@suse.cz
- Fixed Requires of devel subpackage (#61933).
* Thu Mar 03 2005 gekker@suse.de
- Update to version 2.5.1
- Note: the update below was to 2.5.0
* Thu Dec 16 2004 gekker@suse.de
- Update version
- Change aclocal to find new xml_catalog macros
* Mon Nov 22 2004 gekker@suse.de
- Update version to 2.8.0
* Thu Apr 15 2004 sbrabec@suse.cz
- Updated to version 2.3.6 (GNOME 2.6).
* Sat Jan 10 2004 adrian@suse.de
- add %%defattr and %%run_ldconfig
* Mon Jul 14 2003 sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jun 20 2003 sbrabec@suse.cz
- Created empty directory for libglade modules.
* Fri Jun 13 2003 sbrabec@suse.cz
- Fixed directory packaging.
- Prefix clash fix.
* Tue May 27 2003 sbrabec@suse.cz
- Clean install-root.
* Fri Oct 18 2002 sbrabec@suse.cz
- Update to version to 2.0.1.
- Clean up %%files and splitting to sub-packages.
* Fri Sep 27 2002 ro@suse.de
- Added alsa alsa-devel to neededforbuild (esound)
* Thu Aug 15 2002 hhetter@suse.de
- branch doc package
* Tue Aug 13 2002 hhetter@suse.de
- build with bonobo support (#17641)
* Fri Jun 07 2002 hhetter@suse.de
- updated to version 2.0.0
  * gtkdoc improvements
* Tue Jun 04 2002 hhetter@suse.de
- updated to version 1.99.12, source frozen
  * more changes to help with Murray's C++ bindings.
  check whether GTK has a GtkPlug implementation to help with
  * building with gtk targets other than X11.
  Only build the docs if --enable-gtk-doc is passed to configure.
  * pass CFLAGS and LDFLAGS to gtkdoc when building docs, in
  case they are needed to build against the library (fixes
  64-bit solaris issues, #81347).
  * fix up a missing g_object_ref() call in AtkRelationSet
  handling code.
  * More helpful error message if glade file could not be found
  (#80411).
* Wed May 15 2002 ro@suse.de
- use libdir
* Tue Apr 09 2002 hhetter@suse.de
- update to version 1.99.10 [gnome desktop beta3]
* Fri Feb 01 2002 hhetter@suse.de
- updated to version 1.99.6 [gnome desktop alpha2]
* Fri Feb 01 2002 ro@suse.de
- changed neededforbuild <libpng> to <libpng-devel-packages>
* Thu Jan 17 2002 hhetter@suse.de
- filelist cleanup
- prefix to /opt/gnome2
* Wed Jan 16 2002 hhetter@suse.de
- build with python-expat support
- provide libglade2-convert
* Fri Jan 11 2002 hhetter@suse.de
- build with freetype2
* Wed Jan 09 2002 hhetter@suse.de
- initial SuSE package for GNOME 2.0 platform