%define majver %(echo %version | cut -d. -f 1-2) Name: libgdl Version: 3.0.0 Release: 1mamba 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 License: GPL BuildRequires: perl-XML-Parser ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libexpat-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgdk-pixbuf-devel BuildRequires: libGL-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpng-devel BuildRequires: libpthread-stubs-devel BuildRequires: libselinux-devel BuildRequires: libstdc++6-devel BuildRequires: libX11-devel BuildRequires: libXau-devel BuildRequires: libxcb-devel BuildRequires: libXdmcp-devel BuildRequires: libxml2-devel BuildRequires: libXrender-devel BuildRequires: libz-devel BuildRequires: udev-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} %build %configure --enable-static --enable-gtk-doc %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang gdl-3 %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f gdl-3.lang %defattr(-,root,root) %{_libdir}/*.so.* %{_datadir}/gdl-3/ui/layout.ui %dir %{_datadir}/gtk-doc/html/gdl-3.0 %{_datadir}/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp %{_datadir}/gtk-doc/html/gdl-3.0/gdl-3.0.devhelp2 %{_datadir}/gtk-doc/html/gdl-3.0/*.html %{_datadir}/gtk-doc/html/gdl-3.0/*.sgml %{_datadir}/gtk-doc/html/gdl-3.0/*.css %{_datadir}/gtk-doc/html/gdl-3.0/*.png %doc AUTHORS COPYING ChangeLog NEWS README %files devel %defattr(-,root,root) %dir %{_includedir}/libgdl-3.0/gdl %{_includedir}/libgdl-3.0/gdl/*.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/girepository-1.0/Gdl-3.typelib %{_datadir}/gir-1.0/Gdl-3.gir %{_exec_prefix}/lib/pkgconfig/*.pc %files static %defattr(-,root,root) %{_libdir}/*.a %changelog * Fri Apr 15 2011 Silvan Calarco 3.0.0-1mamba - update to 3.0.0 * 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