dtkcore/dtkcore.spec

101 lines
2.7 KiB
RPMSpec
Raw Normal View History

2020-07-14 11:01:32 +08:00
Name: dtkcore
2024-04-09 13:41:44 +08:00
Version: 5.6.8.2
Release: 2%{?dist}.01
2020-07-14 11:01:32 +08:00
Summary: Deepin tool kit core modules
2022-07-28 15:51:00 +08:00
License: LGPLv3+
2020-07-14 11:01:32 +08:00
URL: https://github.com/linuxdeepin/dtkcore
2024-04-09 13:41:44 +08:00
Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz
Patch0001: 0001-LSHW-returns-a-multi-element-array-when-querying-mem.patch
2023-04-06 17:02:59 +08:00
2020-07-14 11:01:32 +08:00
BuildRequires: gcc-c++
#BuildRequires: annobin
2020-07-14 11:01:32 +08:00
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(gsettings-qt)
2022-07-28 15:51:00 +08:00
BuildRequires: gtest-devel
2023-04-06 17:02:59 +08:00
BuildRequires: qt5-qttools-devel
BuildRequires: dtkcommon-devel
BuildRequires: qt5-qtbase-private-devel
2024-04-09 13:41:44 +08:00
BuildRequires: make cmake
BuildRequires: doxygen libicu-devel
BuildRequires: uchardet-devel
BuildRequires: cmake-rpm-macros
Requires: dtkcommon
2022-07-28 15:51:00 +08:00
# since f30
2020-07-14 11:01:32 +08:00
Obsoletes: deepin-tool-kit <= 0.3.3
Obsoletes: deepin-tool-kit-devel <= 0.3.3
Obsoletes: dtksettings <= 0.1.7
Obsoletes: dtksettings-devel <= 0.1.7
%description
Deepin tool kit core modules.
%package devel
Summary: Development package for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
2023-04-06 17:02:59 +08:00
Requires: dtkcommon-devel
2022-07-28 15:51:00 +08:00
Requires: qt5-qtbase-devel%{?_isa}
2020-07-14 11:01:32 +08:00
%description devel
Header files and libraries for %{name}.
%prep
2024-04-09 13:41:44 +08:00
%autosetup -n %{name}-%{version} -p1
2020-07-14 11:01:32 +08:00
%build
2022-07-28 15:51:00 +08:00
# help find (and prefer) qt5 utilities, e.g. qmake, lrelease
2020-07-14 11:01:32 +08:00
export PATH=%{_qt5_bindir}:$PATH
2024-04-09 13:41:44 +08:00
%cmake
2020-07-14 11:01:32 +08:00
%make_build
%install
%make_install INSTALL_ROOT=%{buildroot}
%files
%doc README.md
%license LICENSE
2023-04-06 17:02:59 +08:00
%{_libdir}/lib%{name}.so*
2024-04-09 13:41:44 +08:00
%{_bindir}/*
2020-07-14 11:01:32 +08:00
%files devel
2024-04-09 13:41:44 +08:00
%doc docs/Specification.md
2020-07-14 11:01:32 +08:00
%{_qt5_archdatadir}/mkspecs/modules/*.pri
%{_libdir}/cmake/DtkCore/
%{_libdir}/cmake/DtkCMake/
%{_libdir}/cmake/DtkTools/
%{_libdir}/pkgconfig/dtkcore.pc
2022-07-28 15:51:00 +08:00
%{_libdir}/lib%{name}.so
2024-04-09 13:41:44 +08:00
%{_includedir}/dtk5/DCore/*
%{_usr}/lib/debug%{_libdir}/dtk5/DCore/bin/*.debug
%{_libdir}/cmake/DtkDConfig/DtkDConfigConfig.cmake
%{_libdir}/dtk5/DCore/bin/*
%{_libdir}/qt5/mkspecs/features/dtk_install_dconfig.prf
%{_datadir}/qt5/doc/dtkcore.qch
2020-07-14 11:01:32 +08:00
%changelog
2024-04-09 13:41:44 +08:00
* Fri Dec 22 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.8.2-2.01
- fix: LSHW-returns-a-multi-element-array-when-querying-mem(bugid:228681)
* Tue Oct 10 2023 liweigang <liweiganga@uniontech.com> - 5.6.8.2-2
- spec: change Dcore path
2024-04-09 13:41:44 +08:00
* Mon Oct 09 2023 liweigang <liweiganga@uniontech.com> - 5.6.8.2-1
- update: update to verison 5.6.8.2
2023-04-06 17:02:59 +08:00
2024-04-09 13:41:44 +08:00
* Sun Sep 03 2023 mahailiang <mahailiang@uniontech.com> - 5.6.8-2
- spec: change Dcore path
2022-07-28 15:51:00 +08:00
2024-04-09 13:41:44 +08:00
* Wed Aug 16 2023 liuzhilin <liuzhilin@uniontech.com> - 5.6.8-1
- update: update to 5.6.8
2022-07-28 15:51:00 +08:00
2024-04-09 13:41:44 +08:00
* Fri Dec 23 2022 liweiganga <liweiganga@uniontech.com> - 5.5.35-1
- update: update to 5.5.35
2021-07-15 15:51:22 +08:00
2024-04-09 13:41:44 +08:00
* Mon Jun 13 2022 uoser <uoser@uniontech.com> - 5.5.19-1.02
- update: update to 5.5.19-1.02
2021-07-12 16:00:20 +08:00