%define majver %(echo %version | cut -d. -f 1-2) Name: libgdl2 Version: 2.30.1 Release: 4mamba Summary: Gnome Devtool Libraries - development components Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: gil URL: http://www.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/gdl/%{majver}/gdl-%{version}.tar.gz Patch0: %{name}-2.30.1-remove_deprecated_G_CONST_RETURN.patch License: GPL BuildRequires: perl-XML-Parser ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: glibc-devel BuildRequires: libart_lgpl-devel BuildRequires: libatk-devel BuildRequires: libbonobo-devel BuildRequires: libbonoboui-devel BuildRequires: libcairo-devel BuildRequires: libglade-devel BuildRequires: libglib-devel BuildRequires: libgnomecanvas-devel BuildRequires: libgnome-devel BuildRequires: libgnomeui-devel BuildRequires: libgnome-vfs-devel BuildRequires: libgtk-devel BuildRequires: libICE-devel BuildRequires: libpango-devel BuildRequires: libpopt-devel BuildRequires: libSM-devel BuildRequires: libxml2-devel BuildRequires: ORBit2-devel BuildRequires: libgraphite2-devel BuildRequires: liblzma-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description This package contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. The current pieces of GDL include: - A symbol browser bonobo component (symbol-browser-control). - A docking widget (gdl). - A utility library that also contains the stubs and skels for the symbol browser and text editor components (gdl, idl). %package devel Group: Development/Libraries Summary: Libraries and headers for %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel This package contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. The current pieces of GDL include: - A symbol browser bonobo component (symbol-browser-control). - A docking widget (gdl). - A utility library that also contains the stubs and skels for the symbol browser and text editor components (gdl, idl). This package contains libraries and header files need for development. %package static Group: Development/Libraries Summary: Static libraries %{name} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description static This package contains components and libraries that are intended to be shared between GNOME development tools, including gnome-debug, gnome-build, and anjuta2. The current pieces of GDL include: - A symbol browser bonobo component (symbol-browser-control). - A docking widget (gdl). - A utility library that also contains the stubs and skels for the symbol browser and text editor components (gdl, idl). This package contains static libraries need for development. %prep %setup -q -n gdl-%{version} %patch0 -p1 %build %configure --enable-static --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang gdl-1 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f gdl-1.lang %defattr(-,root,root) %{_libdir}/*.so.* %{_datadir}/gdl/ui/layout.ui %dir %{_datadir}/gtk-doc/html/gdl %{_datadir}/gtk-doc/html/gdl/gdl.devhelp* %{_datadir}/gtk-doc/html/gdl/*.html %{_datadir}/gtk-doc/html/gdl/*.sgml %{_datadir}/gtk-doc/html/gdl/*.css %{_datadir}/gtk-doc/html/gdl/*.png %doc AUTHORS COPYING %files devel %defattr(-,root,root) %dir %{_includedir}/libgdl-1.0/gdl %{_includedir}/libgdl-1.0/gdl/*.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %doc ChangeLog NEWS README %files static %defattr(-,root,root) %{_libdir}/*.a %changelog * Thu Feb 20 2014 Stefano Cotta Ramusino 2.30.1-4mamba - added missing build requirements * Tue May 15 2012 Silvan Calarco 2.30.1-3mamba - added patch to replace deprecated G_CONST_RETURN with const * Fri Apr 15 2011 Silvan Calarco 2.30.1-2mamba - rebuilt as legacy package * Tue Sep 28 2010 Automatic Build System 2.30.1-1mamba - automatic update to 2.30.1 by autodist * Sat May 29 2010 Automatic Build System 2.30.0-1mamba - automatic update to 2.30.0 by autodist * Tue Oct 20 2009 Automatic Build System 2.28.1-1mamba - automatic update by autodist * Sat Sep 26 2009 Automatic Build System 2.28.0-1mamba - automatic update to 2.28.0 by autodist * Wed May 20 2009 Automatic Build System 2.26.2-1mamba - automatic update by autodist * Mon Mar 30 2009 Silvan Calarco 2.26.0-1mamba - automatic update to 2.26.0 by autodist * Sun Jan 11 2009 Silvan Calarco 2.24.0-1mamba - update to 2.24.0 * Sun Jan 11 2009 Silvan Calarco 0.7.11-1mamba - automatic update by autodist * Sun Aug 24 2008 gil 0.7.10-1mamba - package created by autospec