devhelp/devhelp.spec

214 lines
6.7 KiB
RPMSpec

%define libname lib%{name}
%define majver %(echo %version | cut -d. -f1-2)
Name: devhelp
Version: 3.18.1
Release: 1mamba
Summary: API documentation browser for developers
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://developer.imendio.com/projects/devhelp
Source: http://ftp.acc.umu.se/pub/GNOME/sources/devhelp/%{majver}/devhelp-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libexpat-devel
BuildRequires: libffi-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgraphite2-devel
BuildRequires: libgtk-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libpango-devel
BuildRequires: libpng-devel
BuildRequires: libselinux-devel
BuildRequires: libsoup-devel
BuildRequires: libstdc++6-devel
BuildRequires: libwebkit-gtk3-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils
BuildRequires: xulrunner-devel
BuildRequires: ImageMagick
BuildRequires: intltool
BuildRequires: libwebkit-gtk3-devel >= 2.0.0
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)
%{_bindir}/devhelp
%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
%{_datadir}/GConf/gsettings/devhelp.convert
%{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
%{_datadir}/appdata/org.gnome.Devhelp.appdata.xml
%{_datadir}/applications/org.gnome.Devhelp.desktop
%{_datadir}/dbus-1/services/org.gnome.Devhelp.service
%{_datadir}/icons/hicolor/*/apps/devhelp.png
%{_datadir}/icons/hicolor/symbolic/apps/devhelp-symbolic.svg
%{_mandir}/man1/devhelp.1*
%files -n %{libname}
%defattr(-, root, root)
%{_libdir}/libdevhelp-3.so.*
%doc AUTHORS COPYING
%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
%doc NEWS README
%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
* Tue Oct 13 2015 Automatic Build System <autodist@mambasoft.it> 3.18.1-1mamba
- automatic version update by autodist
* Sat Oct 10 2015 Automatic Build System <autodist@mambasoft.it> 3.18.0-1mamba
- automatic version update by autodist
* Wed Apr 15 2015 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Thu Apr 09 2015 Automatic Build System <autodist@mambasoft.it> 3.16.0-1mamba
- automatic version update by autodist
* Fri Oct 03 2014 Automatic Build System <autodist@mambasoft.it> 3.14.0-1mamba
- automatic version update by autodist
* Tue Apr 15 2014 Automatic Build System <autodist@mambasoft.it> 3.12.1-1mamba
- automatic version update by autodist
* Sun Mar 30 2014 Automatic Build System <autodist@mambasoft.it> 3.12.0-1mamba
- automatic version update by autodist
* Mon Nov 11 2013 Automatic Build System <autodist@mambasoft.it> 3.10.2-1mamba
- automatic version update by autodist
* Tue Oct 29 2013 Automatic Build System <autodist@mambasoft.it> 3.10.0-1mamba
- automatic version update by autodist
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 3.8.2-1mamba
- automatic version update by autodist
* Wed Apr 17 2013 Automatic Build System <autodist@mambasoft.it> 3.8.1-1mamba
- automatic version update by autodist
* Mon Apr 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.8.0-2mamba
- rebuilt with libwebkit-gtk3 2.0.0
* Thu Mar 28 2013 Automatic Build System <autodist@mambasoft.it> 3.8.0-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 3.6.1-1mamba
- automatic version update by autodist
* Thu Sep 27 2012 Automatic Build System <autodist@mambasoft.it> 3.6.0-1mamba
- automatic version update by autodist
* Fri Jun 08 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic version update by autodist
* Sun Apr 01 2012 Automatic Build System <autodist@mambasoft.it> 3.4.0-1mamba
- update to 3.4.0
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Fri Nov 12 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-2mamba
- automatic rebuild by autodist
* Sat Oct 09 2010 Automatic Build System <autodist@mambasoft.it> 2.32.0-1mamba
- automatic update to 2.32.0 by autodist
* Mon Jun 21 2010 Automatic Build System <autodist@mambasoft.it> 2.30.1-1mamba
- automatic update to 2.30.1 by autodist
* Sun May 30 2010 Automatic Build System <autodist@mambasoft.it> 2.30.0-1mamba
- automatic update to 2.30.0 by autodist
* Sun Sep 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.28.0-1mamba
- update to 2.28.0
* Sun Sep 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.22-1mamba
- update to 0.22
* Mon Nov 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.21-1mamba
- update to 0.21
* Sat Oct 04 2008 gil <puntogil@libero.it> 0.20-1mamba
- update to 0.20
* Thu Jul 31 2008 gil <puntogil@libero.it> 0.18-1mamba
- package created by autospec