add yaml and fix spec

This commit is contained in:
panchenbo 2020-07-30 16:48:06 +08:00
parent cc3ee23c29
commit b832831ea2
2 changed files with 6 additions and 8 deletions

View File

@ -28,13 +28,7 @@ Header files and libraries for %{name}.
%prep
%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} \
@ -64,5 +58,5 @@ export PATH=%{_qt5_bindir}:$PATH
%{_libdir}/cmake/DtkGui/
%changelog
* Thu Jun 09 2020 uoser <uoser@uniontech.com> - 5.2.0-1
- Update to 5.2.0
* Thu Jul 30 2020 openEuler Buildteam <buildteam@openeuler.org> - 5.2.0-1
- Package init

4
dtkgui.yaml Normal file
View File

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