add yaml and fix spec
This commit is contained in:
parent
cc3ee23c29
commit
b832831ea2
10
dtkgui.spec
10
dtkgui.spec
@ -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
4
dtkgui.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: linuxdeepin/dtkgui
|
||||
tag_prefix: ^v
|
||||
seperator: .
|
||||
Loading…
x
Reference in New Issue
Block a user