Skip to content

Commit b523d7f

Browse files
committed
Add manpage for solv tool
1 parent c2d98d4 commit b523d7f

4 files changed

Lines changed: 77 additions & 2 deletions

File tree

doc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ SET (libsolv_MANPAGES3
44
libsolv-pool.3)
55

66
SET (libsolv_MANPAGES1
7-
mergesolv.1 dumpsolv.1 installcheck.1 testsolv.1 repo2solv.1)
7+
mergesolv.1 dumpsolv.1 installcheck.1 testsolv.1 repo2solv.1 solv.1)
88

99
IF (ENABLE_RPMDB)
1010
SET (libsolv_MANPAGES1 ${libsolv_MANPAGES1} rpmdb2solv.1 rpms2solv.1)

doc/Makefile.gen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ man3: libsolv.3 libsolv-bindings.3 libsolv-constantids.3 libsolv-history.3 libso
88
man1: mergesolv.1 dumpsolv.1 installcheck.1 testsolv.1 rpmdb2solv.1 rpms2solv.1 \
99
rpmmd2solv.1 repomdxml2solv.1 updateinfoxml2solv.1 deltainfoxml2solv.1 \
1010
helix2solv.1 susetags2solv.1 comps2solv.1 deb2solv.1 mdk2solv.1 \
11-
archpkgs2solv.1 archrepo2solv.1 appdata2solv.1 repo2solv.1
11+
archpkgs2solv.1 archrepo2solv.1 appdata2solv.1 repo2solv.1 solv.1
1212

1313
html: libsolv.html libsolv-bindings.html libsolv-constantids.html libsolv-history.html libsolv-pool.html
1414

doc/solv.txt

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
solv(1)
2+
=======
3+
:man manual: LIBSOLV
4+
:man source: libsolv
5+
6+
7+
Name
8+
----
9+
solv - example package manager based on libsolv
10+
11+
Synopsis
12+
--------
13+
*solv* install [OPTIONS] PKG...
14+
15+
*solv* erase [OPTIONS] PKG...
16+
17+
*solv* list [OPTIONS] PKG...
18+
19+
*solv* info [OPTIONS] PKG...
20+
21+
*solv* search [OPTIONS] STRING...
22+
23+
*solv* verify [OPTIONS] PKG...
24+
25+
*solv* update [OPTIONS] PKG...
26+
27+
*solv* dist-upgrade [OPTIONS] PKG...
28+
29+
*solv* repolist [OPTIONS]
30+
31+
Description
32+
-----------
33+
The solv tool demos some features of the libsolv library. It is not
34+
meant to replace a real package manager, for example it does not cache
35+
downloaded packages.
36+
37+
*--root* 'ROOTDIR'::
38+
Install packages using 'ROOTDIR' as root of the filesystem. This also
39+
means that the package database of 'ROOTDIR' will be used.
40+
41+
*--clean*::
42+
Also get rid of no longer needed packages when erasing, like libraries
43+
that have been used by the erased packages.
44+
45+
*--best*::
46+
Force usage of the best package (normally the one with the highest
47+
version) for install and update operations.
48+
49+
*--testcase*::
50+
Write a testcase after dependency solving.
51+
52+
The following options can be used to filter the packages. If the
53+
same option is used multiple times, the result is ORed together.
54+
55+
*-i*::
56+
Limit the packages to installed ones.
57+
58+
*-r* 'REPO'::
59+
Limit the packages to the specified repository.
60+
61+
*--arch* 'ARCHITECTURE'::
62+
Limit the packages to the specified package architecture.
63+
64+
*--type* 'TYPE'::
65+
Limit the packages to the specified package type.
66+
67+
Author
68+
------
69+
Michael Schroeder <mls@suse.de>
70+
71+
////
72+
vim: syntax=asciidoc
73+
////

package/libsolv.spec.in

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ make ARGS=--output-on-failure test
283283
%exclude %{_bindir}/helix2solv
284284
%exclude %{_mandir}/man1/helix2solv*
285285
%endif
286+
%exclude %{_mandir}/man1/solv.1*
286287
%exclude %{_bindir}/solv
287288
%{_bindir}/*
288289
%{_mandir}/man1/*
@@ -309,6 +310,7 @@ make ARGS=--output-on-failure test
309310
%files demo
310311
%defattr(-,root,root)
311312
%{_bindir}/solv
313+
%{_mandir}/man1/solv.1*
312314

313315
%if %{with perl}
314316
%files -n perl-solv

0 commit comments

Comments
 (0)