add yaml and fix spec

This commit is contained in:
panchenbo 2020-07-30 16:46:27 +08:00
parent 7070446381
commit b6e5580b0f
2 changed files with 6 additions and 7 deletions

View File

@ -29,12 +29,7 @@ Header files and libraries for %{name}.
%setup -q
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
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
export PATH=%{_qt5_bindir}:$PATH
%qmake_qt5 PREFIX=%{_prefix} \
DTK_VERSION=%{version} \
@ -71,5 +66,5 @@ export PATH=%{_qt5_bindir}:$PATH
/usr/share/glib-2.0/schemas/*
%changelog
* Thu Jun 11 2020 uoser <uoser@uniontech.com> - 5.2.1
- Update to 5.2.1
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.1-1
- Package init

4
dtkcore.yaml Normal file
View File

@ -0,0 +1,4 @@
version_control: github
src_repo: linuxdeepin/dtkcore
tag_prefix: ^v
seperator: .