Init package
This commit is contained in:
parent
5a8be7b14e
commit
9c525fac06
91
kf5-libkdepim.spec
Normal file
91
kf5-libkdepim.spec
Normal file
@ -0,0 +1,91 @@
|
||||
%global framework libkdepim
|
||||
%global kf5_ver 5.71
|
||||
|
||||
Name: kf5-%{framework}
|
||||
Version: 22.08.0
|
||||
Release: 1
|
||||
Summary: Library for common kdepim apps
|
||||
License: GPLv2+
|
||||
URL: https://invent.kde.org/pim/%{framework}
|
||||
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global stable stable
|
||||
%endif
|
||||
|
||||
Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{framework}-%{version}.tar.xz
|
||||
|
||||
%{?qt5_qtwebengine_arches:ExclusiveArch: %{qt5_qtwebengine_arches}}
|
||||
|
||||
BuildRequires: boost-devel
|
||||
BuildRequires: extra-cmake-modules >= %{kf5_ver}
|
||||
BuildRequires: kf5-rpm-macros >= %{kf5_ver}
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5Completion)
|
||||
BuildRequires: cmake(KF5KCMUtils)
|
||||
BuildRequires: cmake(KF5Codecs)
|
||||
BuildRequires: cmake(KF5JobWidgets)
|
||||
BuildRequires: cmake(KF5KIO)
|
||||
BuildRequires: cmake(KF5Wallet)
|
||||
BuildRequires: cmake(KF5IconThemes)
|
||||
BuildRequires: cmake(KF5ItemViews)
|
||||
|
||||
BuildRequires: cmake(Qt5Designer)
|
||||
BuildRequires: cmake(Qt5UiTools)
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{framework}-%{version}
|
||||
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
%find_lang %{name} --all-name --with-html
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%files -f %{name}.lang
|
||||
%license LICENSES/*
|
||||
%{_kf5_datadir}/qlogging-categories5/*%{framework}.*
|
||||
%{_kf5_libdir}/libKF5Libkdepim.so.5*
|
||||
%{_qt5_plugindir}/designer/kdepimwidgets.so
|
||||
|
||||
%ldconfig_scriptlets akonadi
|
||||
|
||||
%files devel
|
||||
%{_kf5_libdir}/libKF5Libkdepim.so
|
||||
%{_kf5_libdir}/cmake/KF5Libkdepim/
|
||||
%{_kf5_includedir}/Libkdepim/
|
||||
%{_kf5_archdatadir}/mkspecs/modules/qt_Libkdepim.pri
|
||||
%{_kf5_libdir}/cmake/MailTransportDBusService/
|
||||
%{_kf5_datadir}/dbus-1/interfaces/org.kde.addressbook.service.xml
|
||||
%{_kf5_datadir}/dbus-1/interfaces/org.kde.mailtransport.service.xml
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Jul 28 2022 misaka00251 <misaka00251@misakanet.cn> - 22.08.0-1
|
||||
- Init package
|
||||
4
kf5-libkdepim.yaml
Normal file
4
kf5-libkdepim.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/libkdepim
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
BIN
libkdepim-22.08.0.tar.xz
Normal file
BIN
libkdepim-22.08.0.tar.xz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user