plugins/spec-create: add LICENSES directory if present; templates/kde5: minor changes
This commit is contained in:
parent
1ea657115d
commit
a7972f338c
@ -838,6 +838,9 @@ echo "$line" | sed "s|.*=[\ \t]*\"\(.*\)\"|\1|") ..." # vim highlight need a "
|
|||||||
MANUAL
|
MANUAL
|
||||||
THANKS'
|
THANKS'
|
||||||
|
|
||||||
|
local standard_docs_dirlist='
|
||||||
|
LICENSES'
|
||||||
|
|
||||||
local standard_docs_devel_list='
|
local standard_docs_devel_list='
|
||||||
BACKLOG
|
BACKLOG
|
||||||
BUGS
|
BUGS
|
||||||
@ -857,6 +860,14 @@ echo "$line" | sed "s|.*=[\ \t]*\"\(.*\)\"|\1|") ..." # vim highlight need a "
|
|||||||
# ignore empty documentation files
|
# ignore empty documentation files
|
||||||
[ -s $tmpdir/$pck_rootdir/$currdoc ] &&
|
[ -s $tmpdir/$pck_rootdir/$currdoc ] &&
|
||||||
standard_docs="\
|
standard_docs="\
|
||||||
|
${standard_docs:+$standard_docs }$currdoc"
|
||||||
|
done
|
||||||
|
done
|
||||||
|
for doc in $standard_docs_dirlist; do
|
||||||
|
currdocs=$(cd $tmpdir/$pck_rootdir && ls -d $doc 2>/dev/null)
|
||||||
|
for currdoc in $currdocs; do
|
||||||
|
[ -d $tmpdir/$pck_rootdir/$currdoc ] &&
|
||||||
|
standard_docs="\
|
||||||
${standard_docs:+$standard_docs }$currdoc"
|
${standard_docs:+$standard_docs }$currdoc"
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
@ -3,14 +3,13 @@
|
|||||||
Name: @pck_name@
|
Name: @pck_name@
|
||||||
Version: @pck_version@
|
Version: @pck_version@
|
||||||
Release: @spec_first_release@@DISTRO_rpm@
|
Release: @spec_first_release@@DISTRO_rpm@
|
||||||
Summary: KDE Frameworks 5 ...
|
Summary: ...
|
||||||
Group: ...
|
Group: ...
|
||||||
Vendor: @VENDOR@
|
Vendor: @VENDOR@
|
||||||
Distribution: @DISTRO@
|
Distribution: @DISTRO@
|
||||||
Packager: @packager_fullname@ <@packager_email@>
|
Packager: @packager_fullname@ <@packager_email@>
|
||||||
URL: https://kde.org
|
URL: https://kde.org
|
||||||
Source: ...
|
Source: ...
|
||||||
# Source: https://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
|
||||||
License: ...
|
License: ...
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements.
|
## note: run 'autospec -u -a6 @pck_name@' to get the list of build requirements.
|
||||||
|
Loading…
Reference in New Issue
Block a user