File libglademm.spec of Package libglademm
#
# spec file for package libglademm (Version 2.6.7)
#
# 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: libglademm
BuildRequires: gcc-c++ gtkmm2-devel libglade2-devel update-desktop-files
# FIXME: Directory ownership of %{_datadir}/devhelp and installation of devhelp books
BuildRequires: devhelp
Version: 2.6.7
Release: 1
Url: http://www.gtkmm.org/
Group: System/GUI/GNOME
License: LGPL v2.1 or later
Summary: C++ Interface for libglade (Part of GNOME Project)
Source: ftp://ftp.gnome.org/pub/GNOME/sources/%{name}/2.6/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package provides a C++ interface for libglade. It is a subpackage
of the gnomemm project. The interface provides a convenient interface
for C++ programmers to use libglade with flexible object-oriented
framework.
Authors:
--------
Murray Cumming <murrayc@usa.net>
%package devel
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Summary: C++ interface for libglade (a part of GNOME project)
Requires: %{name} = %{version} gtkmm2-devel glibmm2-devel libglade2-devel
Requires: libglademm-2_4-1
%description devel
This package provides a C++ interface for libglade. It is a subpackage
of the gnomemm project. The interface provides a convenient interface
for C++ programmers to use libglade with flexible object-oriented
framework.
Authors:
--------
Murray Cumming <murrayc@usa.net>
%package -n libglademm-2_4-1
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Summary: C++ Interface for libglade (Part of GNOME Project)
Requires: %{name} >= %{version}
%description -n libglademm-2_4-1
This package provides a C++ interface for libglade. It is a subpackage
of the gnomemm project. The interface provides a convenient interface
for C++ programmers to use libglade with flexible object-oriented
framework.
Authors:
--------
Murray Cumming <murrayc@usa.net>
%prep
%setup -q
%build
libtoolize -f
aclocal -I scripts
automake
autoconf
# FIXME: cannot autoreconf - bad template
#ACLOCAL="aclocal -I scripts" autoreconf -f -i
%configure --disable-static --with-pic
make docdir=%{_docdir}/%{name}/docs %{?jobs:-j%jobs}
%install
make docdir=%{_docdir}/%{name}/docs DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp AUTHORS COPYING ChangeLog NEWS README TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
%post -n libglademm-2_4-1 -p /sbin/ldconfig
%postun -n libglademm-2_4-1 -p /sbin/ldconfig
%files
%defattr (-, root, root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING
%doc %{_docdir}/%{name}/ChangeLog
%doc %{_docdir}/%{name}/NEWS
%doc %{_docdir}/%{name}/README
%doc %{_docdir}/%{name}/TODO
%files -n libglademm-2_4-1
%defattr(-, root, root)
%{_libdir}/*.so.*
%files devel
%defattr (-, root, root)
%{_datadir}/devhelp/books/libglademm-2.4
%doc %{_docdir}/%{name}/docs
%{_includedir}/*
%{_libdir}/*.so
%dir %{_libdir}/libglademm-2.4
%dir %{_libdir}/libglademm-2.4/proc
%{_libdir}/libglademm-2.4/include
%{_libdir}/libglademm-2.4/proc/m4
%{_libdir}/pkgconfig/*.pc
%exclude %{_libdir}/*.la
%changelog
* Fri Oct 03 2008 mboman@suse.de
- Update to version 2.6.7:
+ Windows build fixes
* Wed Apr 02 2008 rodrigo@suse.de
- Update to version 2.6.6:
* Xml::connect_clicked((): Handle ToolButtons too (bgo#439339)
* Thu Jan 31 2008 ro@suse.de
- make devel package require shared lib (avoid dangling link)
* Wed Jan 30 2008 maw@suse.de
- Split out a shared library subpackage.
* Wed Jan 30 2008 maw@suse.de
- Update to version 2.6.5:
+ Build fixes.
* Thu Dec 27 2007 crrodriguez@suse.de
- fix library-without-ldconfig-* errors
- remove static libraries and "la" files
* Thu Jul 12 2007 mauro@suse.de
- Updated to 2.6.4
- Bug fixes, including fix for bug #423990
* Wed Jan 17 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Wed Nov 29 2006 sbrabec@suse.cz
- Require new package names gtkmm2-devel and glibmm2-devel.
* Tue Sep 19 2006 jhargadon@suse.de
- update to version 2.6.3
- Build fixes for Updated for Visual Studio 2005
- Glade::get_widget(): Show the name of not-found
widgets on the console, because libglade does not seem to
do this anymore
- Example: Delete the dialog when we are finished with it
* Mon Feb 20 2006 aj@suse.de
- Reduce BuildRequires.
* Thu Jan 26 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Sep 07 2005 sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.12).
* Tue Aug 16 2005 sbrabec@suse.cz
- Do not require devhelp.
* Fri Aug 05 2005 sbrabec@suse.cz
- Updated to version 2.6.0 (2.4 compatible branch).
* Thu Jun 02 2005 sbrabec@suse.cz
- Fixed devel requirements.
* Thu May 19 2005 ro@suse.de
- fix build with current pkgconfig
* Wed Apr 20 2005 nadvornik@suse.de
- fixed to compile with gcc4
* Tue Feb 22 2005 sbrabec@suse.cz
- Updated to version 2.2.0.
* Fri Feb 11 2005 ro@suse.de
- change to libsigc++12 in neededforbuild
* Wed Feb 18 2004 sbrabec@suse.cz
- Set CXXFLAGS properly.
* Wed Feb 18 2004 sbrabec@suse.cz
- Initial SuSE package version 2.0.1.