add yaml and fix spec
This commit is contained in:
parent
7070446381
commit
b6e5580b0f
@ -29,12 +29,7 @@ Header files and libraries for %{name}.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
sed -i 's|/lib|/libexec|' tools/settings/settings.pro
|
sed -i 's|/lib|/libexec|' tools/settings/settings.pro
|
||||||
## consider relying on %%_qt5_bindir (see %%build below) instead of patching -- rex
|
|
||||||
#sed -i 's|qmake|qmake-qt5|' src/dtk_module.prf
|
|
||||||
#sed -i 's|lrelease|lrelease-qt5|' tools/script/dtk-translate.py src/dtk_translation.prf
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
|
|
||||||
export PATH=%{_qt5_bindir}:$PATH
|
export PATH=%{_qt5_bindir}:$PATH
|
||||||
%qmake_qt5 PREFIX=%{_prefix} \
|
%qmake_qt5 PREFIX=%{_prefix} \
|
||||||
DTK_VERSION=%{version} \
|
DTK_VERSION=%{version} \
|
||||||
@ -71,5 +66,5 @@ export PATH=%{_qt5_bindir}:$PATH
|
|||||||
/usr/share/glib-2.0/schemas/*
|
/usr/share/glib-2.0/schemas/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jun 11 2020 uoser <uoser@uniontech.com> - 5.2.1
|
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.1-1
|
||||||
- Update to 5.2.1
|
- Package init
|
||||||
|
|||||||
4
dtkcore.yaml
Normal file
4
dtkcore.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: linuxdeepin/dtkcore
|
||||||
|
tag_prefix: ^v
|
||||||
|
seperator: .
|
||||||
Loading…
x
Reference in New Issue
Block a user