Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mkimage-profiles
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
mkimage-profiles
Commits
33aad6ce
Commit
33aad6ce
authored
Feb 29, 2016
by
Michael Shigorin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spec: add doc knob
This one is both by Leo-sp50's request and within BOOTSTRAP commits' vein: do here what I do there.
parent
dda5cc71
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
mkimage-profiles.spec
.gear/mkimage-profiles.spec
+10
-1
No files found.
.gear/mkimage-profiles.spec
View file @
33aad6ce
...
...
@@ -23,12 +23,13 @@ Requires: mkimage-preinstall
%define mpdir %_datadir/%name
%add_findreq_skiplist %mpdir/*.in/*
%def_with doc
%define docs $HOME/docs
%package doc
Summary: %name documentation
Group: Development/Documentation
BuildRequires: java /proc
%{?_with_doc:BuildRequires: java /proc}
%description
mkimage-profiles is a collection of bits and pieces useful for
...
...
@@ -64,21 +65,29 @@ as a book in HTML and PDF formats.
%setup
%build
%if_with doc
make BUILDDIR=%docs docs
%endif
%install
mkdir -p %buildroot{%mpdir,%_man7dir}
cp -a * %buildroot%mpdir
%if_with doc
mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
%endif
%files
%mpdir/
%if_with doc
%_man7dir/*
%endif
%if_with doc
%files doc
%doc README
%doc QUICKSTART
%doc %docs/*
%endif
%changelog
* Mon Feb 15 2016 Michael Shigorin <mike@altlinux.org> 1.1.85-alt1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment