address comments
This commit is contained in:
parent
327d109481
commit
9a542f96a8
77
devhelp.spec
77
devhelp.spec
@ -1,49 +1,31 @@
|
||||
Name: devhelp
|
||||
Epoch: 1
|
||||
Version: 3.30.0
|
||||
Release: 1
|
||||
Summary: API documentation browser
|
||||
Name: devhelp
|
||||
Version: 3.30.0
|
||||
Release: 3
|
||||
Summary: GTK API documentation browser
|
||||
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Devhelp
|
||||
Source0: https://download.gnome.org/sources/%{name}/3.30/%{name}-%{version}.tar.xz
|
||||
License: GPLv2+
|
||||
URL: https://wiki.gnome.org/Apps/Devhelp
|
||||
Source0: https://download.gnome.org/sources/%{name}/3.30/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: gettext
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: gtk-doc
|
||||
BuildRequires: itstool
|
||||
BuildRequires: meson
|
||||
BuildRequires: pkgconfig(amtk-5)
|
||||
BuildRequires: pkgconfig(gsettings-desktop-schemas)
|
||||
BuildRequires: pkgconfig(gtk+-3.0)
|
||||
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: libappstream-glib
|
||||
BuildRequires: chrpath desktop-file-utils gettext gobject-introspection-devel gtk-doc itstool meson
|
||||
BuildRequires: pkgconfig(amtk-5) pkgconfig(gsettings-desktop-schemas) pkgconfig(gtk+-3.0) pkgconfig(webkit2gtk-4.0)
|
||||
BuildRequires: libappstream-glib
|
||||
|
||||
%description
|
||||
Devhelp is an API documentation browser for the GNOME desktop.
|
||||
It works natively with API documentation generated by gtk-doc.
|
||||
A browser to show API documentation generated by gtk-doc.
|
||||
|
||||
%package libs
|
||||
Summary: Library to embed Devhelp in other applications
|
||||
|
||||
%description libs
|
||||
Devhelp is an API documentation browser for the GNOME desktop.
|
||||
This package contains a library that can be used for embedding devhelp
|
||||
into other applications such as IDEs.
|
||||
|
||||
%package devel
|
||||
Summary: Library to embed Devhelp in other applications - Development files
|
||||
Requires: %{name}%{?_isa} = %{epoch}:%{version}-%{release}
|
||||
%package devel
|
||||
Summary: include development library when using devhelp
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
Devhelp is an API documentation browser for the GNOME desktop.
|
||||
This package contains the development files for the library that can be used
|
||||
for embedding devhelp into other applications such as IDEs.
|
||||
Development packages contains header files and library that can be used
|
||||
for embedding devhelp into other applications.
|
||||
|
||||
%package_help
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%meson -Dgtk_doc=true
|
||||
@ -52,7 +34,7 @@ for embedding devhelp into other applications such as IDEs.
|
||||
%install
|
||||
%meson_install
|
||||
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/devhelp/books
|
||||
install -d $RPM_BUILD_ROOT%{_datadir}/devhelp/books
|
||||
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/devhelp
|
||||
|
||||
@ -60,42 +42,35 @@ rm -rf ${RPM_BUILD_ROOT}%{_libdir}/gedit/plugins/__pycache__
|
||||
|
||||
%find_lang devhelp --with-gnome
|
||||
|
||||
%check
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml
|
||||
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.gnome.Devhelp.desktop
|
||||
|
||||
%files
|
||||
%doc AUTHORS NEWS README
|
||||
%license COPYING
|
||||
|
||||
%{_bindir}/devhelp
|
||||
|
||||
%{_datadir}/devhelp
|
||||
%{_datadir}/applications/org.gnome.Devhelp.desktop
|
||||
%{_datadir}/dbus-1/services/org.gnome.Devhelp.service
|
||||
%{_datadir}/devhelp
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.devhelp.gschema.xml
|
||||
%{_datadir}/icons/hicolor/*/apps/org.gnome.Devhelp.png
|
||||
%{_datadir}/icons/hicolor/symbolic/apps/org.gnome.Devhelp-symbolic.svg
|
||||
%{_datadir}/metainfo/org.gnome.Devhelp.appdata.xml
|
||||
|
||||
%{_datadir}/devhelp
|
||||
%dir %{_libdir}/gedit
|
||||
%dir %{_libdir}/gedit/plugins
|
||||
%{_libdir}/gedit/plugins/devhelp.*
|
||||
|
||||
%files libs -f devhelp.lang
|
||||
%files devel
|
||||
%{_libdir}/libdevhelp-3.so.6*
|
||||
%{_libdir}/girepository-1.0/Devhelp-3.0.typelib
|
||||
%{_datadir}/glib-2.0/schemas/org.gnome.libdevhelp-3.gschema.xml
|
||||
|
||||
%files devel
|
||||
%{_includedir}/devhelp-3/
|
||||
%{_libdir}/libdevhelp-3.so
|
||||
%{_libdir}/pkgconfig/*
|
||||
%{_datadir}/gtk-doc/*
|
||||
%{_datadir}/gir-1.0/Devhelp-3.0.gir
|
||||
|
||||
%files help
|
||||
%{_datadir}/gtk-doc/*
|
||||
%{_mandir}/man1/devhelp.1*
|
||||
|
||||
|
||||
%changelog
|
||||
* Sun Dec 1 2019 jiaxiya <jiaxiyajiaxiya@168.com> - 3.30.0-3
|
||||
- Package init
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user