update to upstream 5.4.11.2
This commit is contained in:
parent
bbe7c96604
commit
c951114bd1
Binary file not shown.
39
dtkcore.spec
39
dtkcore.spec
@ -1,18 +1,26 @@
|
|||||||
Name: dtkcore
|
Name: dtkcore
|
||||||
Version: 5.2.2.3
|
Version: 5.4.11.2
|
||||||
Release: 2
|
Release: 2
|
||||||
Summary: Deepin tool kit core modules
|
Summary: Deepin tool kit core modules
|
||||||
License: GPLv3
|
License: LGPLv3+
|
||||||
URL: https://github.com/linuxdeepin/dtkcore
|
URL: https://github.com/linuxdeepin/dtkcore
|
||||||
Source0: %{name}-%{version}.orig.tar.xz
|
%if 0%{?fedora}
|
||||||
|
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
%else
|
||||||
|
Source0: %{name}_%{version}.orig.tar.xz
|
||||||
|
%endif
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: annobin
|
BuildRequires: annobin
|
||||||
BuildRequires: pkgconfig(Qt5Core)
|
BuildRequires: pkgconfig(Qt5Core)
|
||||||
BuildRequires: pkgconfig(gsettings-qt)
|
BuildRequires: pkgconfig(gsettings-qt)
|
||||||
|
BuildRequires: gtest-devel
|
||||||
|
|
||||||
|
# since f30
|
||||||
Obsoletes: deepin-tool-kit <= 0.3.3
|
Obsoletes: deepin-tool-kit <= 0.3.3
|
||||||
Obsoletes: deepin-tool-kit-devel <= 0.3.3
|
Obsoletes: deepin-tool-kit-devel <= 0.3.3
|
||||||
Obsoletes: dtksettings <= 0.1.7
|
Obsoletes: dtksettings <= 0.1.7
|
||||||
Obsoletes: dtksettings-devel <= 0.1.7
|
Obsoletes: dtksettings-devel <= 0.1.7
|
||||||
|
Obsoletes: dtkcore2
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Deepin tool kit core modules.
|
Deepin tool kit core modules.
|
||||||
@ -20,16 +28,16 @@ Deepin tool kit core modules.
|
|||||||
%package devel
|
%package devel
|
||||||
Summary: Development package for %{name}
|
Summary: Development package for %{name}
|
||||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||||
Requires: qt5-qtbase-devel
|
Requires: qt5-qtbase-devel%{?_isa}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
Header files and libraries for %{name}.
|
Header files and libraries for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
|
|
||||||
sed -i 's|/lib|/libexec|' tools/settings/settings.pro
|
|
||||||
%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} \
|
||||||
@ -41,16 +49,16 @@ export PATH=%{_qt5_bindir}:$PATH
|
|||||||
%install
|
%install
|
||||||
%make_install INSTALL_ROOT=%{buildroot}
|
%make_install INSTALL_ROOT=%{buildroot}
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc README.md
|
%doc README.md
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%{_libdir}/libdtkcore.so.*
|
%{_libdir}/lib%{name}.so.5*
|
||||||
|
%dir %{_libexecdir}/dtk5/
|
||||||
%{_libexecdir}/dtk5/dtk-settings
|
%{_libexecdir}/dtk5/dtk-settings
|
||||||
%{_libexecdir}/dtk5/dtk-license.py*
|
%{_libexecdir}/dtk5/dtk-license.py
|
||||||
%{_libexecdir}/dtk5/dtk-translate.py*
|
%{_libexecdir}/dtk5/dtk-translate.py
|
||||||
%{_libexecdir}/dtk5/deepin-os-release
|
%{_libexecdir}/dtk5/deepin-os-release
|
||||||
|
%{_datadir}/glib-2.0/schemas/*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%doc doc/Specification.md
|
%doc doc/Specification.md
|
||||||
@ -62,10 +70,15 @@ export PATH=%{_qt5_bindir}:$PATH
|
|||||||
%{_libdir}/cmake/DtkCMake/
|
%{_libdir}/cmake/DtkCMake/
|
||||||
%{_libdir}/cmake/DtkTools/
|
%{_libdir}/cmake/DtkTools/
|
||||||
%{_libdir}/pkgconfig/dtkcore.pc
|
%{_libdir}/pkgconfig/dtkcore.pc
|
||||||
%{_libdir}/libdtkcore.so
|
%{_libdir}/lib%{name}.so
|
||||||
/usr/share/glib-2.0/schemas/*
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 28 2022 liweiganga <liweiganga@uniontech.com> - 5.4.11.2-2
|
||||||
|
- fix install conflict
|
||||||
|
|
||||||
|
* Tue Jul 19 2022 konglidong <konglidong@uniontech.com> - 5.4.11.2-1
|
||||||
|
- Update to 5.4.11.2
|
||||||
|
|
||||||
* Thu Jul 15 2021 weidong <weidong@uniontech.com> - 5.2.2.3-2
|
* Thu Jul 15 2021 weidong <weidong@uniontech.com> - 5.2.2.3-2
|
||||||
- Format specfile.
|
- Format specfile.
|
||||||
|
|
||||||
|
|||||||
BIN
dtkcore_5.4.11.2.orig.tar.xz
Normal file
BIN
dtkcore_5.4.11.2.orig.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user