devhelp/devhelp.spec

266 lines
8.6 KiB
RPMSpec

%define libname lib%{name}
%define majver %(echo %version | cut -d. -f1)
Name: devhelp
Version: 43.0
Release: 2mamba
Summary: API documentation browser for developers
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://wiki.gnome.org/Apps/Devhelp
Source: http://ftp.acc.umu.se/pub/GNOME/sources/devhelp/%{majver}/devhelp-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gsettings-desktop-schemas-devel
BuildRequires: libglib-devel
BuildRequires: libgtk3-devel
BuildRequires: libpango-devel
BuildRequires: libwebkit2gtk-4.1-devel
## AUTOBUILDREQ-END
BuildRequires: desktop-file-utils
BuildRequires: intltool
BuildRequires: libamtk-devel
BuildRequires: gi-docgen
%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.
%package apidocs
Summary: %{pkgname} API documentation
Group: Documentation
Requires: gtk-doc
%description apidocs
%{pkgname} API documentation.
%debug_package
%prep
%setup -q
%build
%meson \
-Dgtk_doc=true
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
%find_lang %{name} --with-gnome
%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
%dir %{_datadir}/devhelp/assistant
%{_datadir}/devhelp/assistant/assistant.css
%{_datadir}/devhelp/assistant/assistant.js
%{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
%{_datadir}/glib-2.0/schemas/org.gnome.libdevhelp-3.gschema.xml
%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml
%{_datadir}/applications/org.gnome.Devhelp.desktop
%{_datadir}/dbus-1/services/org.gnome.Devhelp.service
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Devhelp*.svg
%{_datadir}/icons/hicolor/scalable/apps/org.gnome.Devhelp.svg
%{_mandir}/man1/devhelp.1*
%dir %{_datadir}/help/C/devhelp
%{_datadir}/help/C/devhelp/*
%files -n %{libname}
%defattr(-, root, root)
%{_libdir}/libdevhelp-3.so.*
%{_libdir}/girepository-1.0/Devhelp-3.0.typelib
%doc LICENSES
%files -n %{libname}-devel
%defattr(-, root, root)
%dir %{_includedir}/devhelp-3
%dir %{_includedir}/devhelp-3/devhelp
%{_includedir}/devhelp-3/devhelp/*.h
%{_libdir}/libdevhelp-3.so
%{_datadir}/gir-1.0/Devhelp-3.0.gir
%{_libdir}/pkgconfig/libdevhelp-3.0.pc
%doc NEWS
%files apidocs
%defattr(-,root,root)
%dir %{_docdir}/%{name}-3
%{_docdir}/%{name}-3/*
%changelog
* Tue Apr 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 43.0-2mamba
- removed build requirement for libwebkit-gtk3 and other specfile fixes and cleanups
* Wed Sep 21 2022 Automatic Build System <autodist@mambasoft.it> 43.0-1mamba
- automatic version update by autodist
* Wed Aug 31 2022 Automatic Build System <autodist@mambasoft.it> 41.3-1mamba
- automatic version update by autodist
* Mon Sep 13 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.1-1mamba
- update to 40.1
* Thu Apr 15 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 40.0-1mamba
- update to 40.0
* Wed Dec 23 2020 Automatic Build System <autodist@mambasoft.it> 3.38.1-1mamba
- automatic version update by autodist
* Tue Sep 29 2020 Automatic Build System <autodist@mambasoft.it> 3.38.0-1mamba
- automatic version update by autodist
* Sun Apr 26 2020 Automatic Build System <autodist@mambasoft.it> 3.36.2-1mamba
- automatic version update by autodist
* Fri Mar 27 2020 Automatic Build System <autodist@mambasoft.it> 3.36.1-1mamba
- automatic version update by autodist
* Sat Mar 14 2020 Automatic Build System <autodist@mambasoft.it> 3.36.0-1mamba
- automatic version update by autodist
* Mon Sep 16 2019 Automatic Build System <autodist@mambasoft.it> 3.34.0-1mamba
- automatic version update by autodist
* Sun Mar 17 2019 Automatic Build System <autodist@mambasoft.it> 3.32.0-1mamba
- automatic version update by autodist
* Thu Oct 25 2018 Automatic Build System <autodist@mambasoft.it> 3.30.1-1mamba
- automatic version update by autodist
* Sun Sep 30 2018 Automatic Build System <autodist@mambasoft.it> 3.30.0-1mamba
- automatic version update by autodist
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 3.28.1-1mamba
- automatic version update by autodist
* Sun Dec 24 2017 Automatic Build System <autodist@mambasoft.it> 3.26.1-1mamba
- automatic version update by autodist
* Fri Oct 06 2017 Automatic Build System <autodist@mambasoft.it> 3.26.0-1mamba
- automatic version update by autodist
* Sat Jun 17 2017 Automatic Build System <autodist@mambasoft.it> 3.24.0-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 3.22.0-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 3.20.0-1mamba
- automatic version update by autodist
* 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