%define libname lib%{name} %define majver %(echo %version | cut -d. -f1-2) Name: devhelp Version: 3.2.0 Release: 1mamba Summary: API documentation browser for developers Group: Development/Tools Vendor: openmamba Distribution: openmamba Packager: gil URL: http://developer.imendio.com/projects/devhelp Source: http://ftp.acc.umu.se/pub/GNOME/sources/devhelp/%{majver}/devhelp-%{version}.tar.xz License: GPL BuildRequires: desktop-file-utils BuildRequires: xulrunner-devel BuildRequires: ImageMagick BuildRequires: intltool BuildRequires: libwebkit-devel ## AUTOBUILDREQ-BEGIN BuildRequires: GConf-devel BuildRequires: gedit BuildRequires: glibc-devel BuildRequires: libatk-devel BuildRequires: libcairo-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libglade-devel BuildRequires: libglib-devel BuildRequires: libgtk-devel BuildRequires: libnspr-devel BuildRequires: libpango-devel BuildRequires: libstartup-notification-devel BuildRequires: libstdc++6-devel BuildRequires: libwnck-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: ORBit2-devel ## AUTOBUILDREQ-END BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Devhelp is an API documentation browser for GNOME 2. It works natively with Gtk-doc (System used in GTK+ and GNOME for documentating APIs) and it is possible to create books for other documentation as well. %package -n %{libname} Summary: Dynamic libraries for devhelp Group: Development/Libraries Requires: %{name} >= %{version} %description -n %{libname} this package contains dynamic libraries for devhelp. %package -n %{libname}-devel Summary: Static libraries, include files for devhelp Group: Development/Libraries Provides: %{libname}-devel = %{version}-%{release} Requires: %{name} = %{version}-%{release} %description -n %{libname}-devel Static library and headers file for devhelp. %package -n %{name}-plugins Summary: Gedit Plugins for Devhelp Group: Applications/Text Requires: gedit %description -n %{name}-plugins Gedit plugins to use with Devhelp. %prep %setup -q %build %configure --disable-install-schemas \ --with-mozilla=libxul-embedding %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n %{libname} -p /sbin/ldconfig %postun -n %{libname} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_sysconfdir}/gconf/schemas/devhelp.schemas %{_bindir}/devhelp %{_datadir}/icons/hicolor/*/apps/devhelp.png #%{_datadir}/icons/hicolor/scalable/apps/devhelp.svg %{_datadir}/applications/devhelp.desktop %dir %{_datadir}/devhelp %{_datadir}/devhelp/assistant/assistant.css %{_datadir}/devhelp/assistant/assistant.js %{_datadir}/devhelp/devhelp.defaults %{_datadir}/devhelp/ui/devhelp.builder %{_datadir}/devhelp/dtd/devhelp-1.dtd #%dir %{_datadir}/devhelp/images #%{_datadir}/devhelp/images/*.png %dir %{_datadir}/devhelp/ui %{_datadir}/devhelp/ui/window.ui %doc AUTHORS COPYING %doc NEWS README %files -n %{libname} %defattr(-, root, root) %{_libdir}/libdevhelp-3.so.* %files -n %{libname}-devel %defattr(-, root, root) %dir %{_includedir}/devhelp-3.0/devhelp %{_includedir}/devhelp-3.0/devhelp/*.h %{_libdir}/libdevhelp-3.la %{_libdir}/libdevhelp-3.so %{_libdir}/pkgconfig/libdevhelp-3.0.pc %files -n %{name}-plugins %defattr(-, root, root) %{_libdir}/gedit/plugins/devhelp.plugin %{_libdir}/gedit/plugins/*.py %{_libdir}/gedit/plugins/*.pyc %{_libdir}/gedit/plugins/*.pyo %changelog * Sat Oct 01 2011 Automatic Build System 3.2.0-1mamba - update to 3.2.0 * Mon Jul 25 2011 Automatic Build System 3.0.0-1mamba - automatic version update by autodist * Fri Nov 12 2010 Automatic Build System 2.32.0-2mamba - automatic rebuild by autodist * Sat Oct 09 2010 Automatic Build System 2.32.0-1mamba - automatic update to 2.32.0 by autodist * Mon Jun 21 2010 Automatic Build System 2.30.1-1mamba - automatic update to 2.30.1 by autodist * Sun May 30 2010 Automatic Build System 2.30.0-1mamba - automatic update to 2.30.0 by autodist * Sun Sep 27 2009 Silvan Calarco 2.28.0-1mamba - update to 2.28.0 * Sun Sep 27 2009 Silvan Calarco 0.22-1mamba - update to 0.22 * Mon Nov 24 2008 Silvan Calarco 0.21-1mamba - update to 0.21 * Sat Oct 04 2008 gil 0.20-1mamba - update to 0.20 * Thu Jul 31 2008 gil 0.18-1mamba - package created by autospec