Accepting request 448481 from home:sebix:branches:devel:languages:python
add doc subpackage OBS-URL: https://build.opensuse.org/request/show/448481 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-systemd?expand=0&rev=5
This commit is contained in:
parent
c74e1c12eb
commit
bf810749e5
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 2 11:48:12 UTC 2017 - sebix+novell.com@sebix.at
|
||||||
|
|
||||||
|
- add doc package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 31 21:17:21 UTC 2015 - jweberhofer@weberhofer.at
|
Sat Oct 31 21:17:21 UTC 2015 - jweberhofer@weberhofer.at
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-systemd
|
# spec file for package python-systemd
|
||||||
#
|
#
|
||||||
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -27,12 +27,18 @@ Source: https://github.com/systemd/%{name}/archive/v%{version}.tar.gz#/%
|
|||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
|
BuildRequires: python-Sphinx
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
BuildRequires: python-pytest
|
BuildRequires: python-pytest
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
BuildRequires: systemd-devel
|
BuildRequires: systemd-devel
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
|
%package doc
|
||||||
|
Summary: Documentation for %name
|
||||||
|
Group: Documentation
|
||||||
|
Requires: %name = %version
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Python module for native access to the systemd facilities. Functionality is seperated into a number of modules:
|
Python module for native access to the systemd facilities. Functionality is seperated into a number of modules:
|
||||||
* systemd.journal supports sending of structured messages to the journal and reading journal files,
|
* systemd.journal supports sending of structured messages to the journal and reading journal files,
|
||||||
@ -40,11 +46,16 @@ Python module for native access to the systemd facilities. Functionality is sepe
|
|||||||
* systemd.id128 provides functions for querying machine and boot identifiers and a lists of message identifiers provided by systemd,
|
* systemd.id128 provides functions for querying machine and boot identifiers and a lists of message identifiers provided by systemd,
|
||||||
* systemd.login wraps parts of libsystemd used to query logged in users and available seats and machines.
|
* systemd.login wraps parts of libsystemd used to query logged in users and available seats and machines.
|
||||||
|
|
||||||
|
%description doc
|
||||||
|
Documentation and help files for %name
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make %{?_smp_mflags} build
|
make %{?_smp_mflags} build
|
||||||
|
make sphinx-html
|
||||||
|
%{__rm} -r build/html/.buildinfo build/html/.doctrees build/html/_sources
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%make_install
|
||||||
@ -60,4 +71,7 @@ make %{?_smp_mflags} check || :
|
|||||||
%doc LICENSE.txt README.md
|
%doc LICENSE.txt README.md
|
||||||
%{python_sitearch}/*
|
%{python_sitearch}/*
|
||||||
|
|
||||||
|
%files doc
|
||||||
|
%doc build/html
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user