forked from pool/docker
Accepting request 308881 from home:dmacvicar:docker-man
- build and install man pages OBS-URL: https://build.opensuse.org/request/show/308881 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/docker?expand=0&rev=7
This commit is contained in:
parent
e72f50b069
commit
bc3232817c
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed May 27 10:02:51 UTC 2015 - dmacvicar@suse.de
|
||||
|
||||
- build and install man pages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 18 15:08:59 UTC 2015 - fcastelli@suse.com
|
||||
|
||||
|
11
docker.spec
11
docker.spec
@ -44,6 +44,7 @@ BuildRequires: bash-completion
|
||||
BuildRequires: device-mapper-devel >= 1.2.68
|
||||
BuildRequires: glibc-devel-static
|
||||
BuildRequires: go >= 1.3
|
||||
BuildRequires: go-go-md2man
|
||||
BuildRequires: libapparmor-devel
|
||||
BuildRequires: libbtrfs-devel >= 3.8
|
||||
BuildRequires: procps
|
||||
@ -108,6 +109,7 @@ export AUTO_GOPATH=1
|
||||
export DOCKER_BUILDTAGS="exclude_graphdriver_aufs apparmor selinux"
|
||||
export DOCKER_GITCOMMIT=%{git_version}
|
||||
./hack/make.sh dynbinary
|
||||
docs/man/md2man-all.sh
|
||||
|
||||
%install
|
||||
install -d %{buildroot}%{go_contribdir}
|
||||
@ -139,6 +141,12 @@ install -D -m 0644 %SOURCE3 %{buildroot}%{_prefix}/lib/udev/rules.d/80-%{name}.r
|
||||
# sysconfig file
|
||||
install -D -m 644 %SOURCE4 %{buildroot}/var/adm/fillup-templates/sysconfig.docker
|
||||
|
||||
# install manpages
|
||||
install -d %{buildroot}%{_mandir}/man1
|
||||
install -p -m 644 docs/man/man1/*.1 %{buildroot}%{_mandir}/man1
|
||||
install -d %{buildroot}%{_mandir}/man5
|
||||
install -p -m 644 docs/man/man5/Dockerfile.5 %{buildroot}%{_mandir}/man5
|
||||
|
||||
%pre
|
||||
echo "creating group docker..."
|
||||
groupadd -r docker 2>/dev/null || :
|
||||
@ -165,6 +173,9 @@ groupadd -r docker 2>/dev/null || :
|
||||
%{_unitdir}/%{name}.socket
|
||||
%{_prefix}/lib/udev/rules.d/80-%{name}.rules
|
||||
/var/adm/fillup-templates/sysconfig.docker
|
||||
%{_mandir}/man1/docker-*.1.gz
|
||||
%{_mandir}/man1/docker.1.gz
|
||||
%{_mandir}/man5/Dockerfile.5.gz
|
||||
|
||||
%files bash-completion
|
||||
%defattr(-,root,root)
|
||||
|
Loading…
Reference in New Issue
Block a user