58 lines
1.4 KiB
RPMSpec
58 lines
1.4 KiB
RPMSpec
Name: kpeoplevcard
|
|
Version: 0.1
|
|
Release: 1
|
|
Summary: Expose VCard contacts to KPeople
|
|
License: LGPLv2+
|
|
URL: https://invent.kde.org/pim/kpeoplevcard
|
|
Source: https://download.kde.org/stable/%{name}/%{version}/%{name}-%{version}.tar.xz
|
|
|
|
BuildRequires: gcc-c++
|
|
BuildRequires: cmake
|
|
BuildRequires: extra-cmake-modules
|
|
BuildRequires: kf5-rpm-macros
|
|
BuildRequires: kf5-filesystem
|
|
|
|
BuildRequires: cmake(KF5Codecs)
|
|
BuildRequires: cmake(KF5Config)
|
|
BuildRequires: cmake(KF5Contacts)
|
|
BuildRequires: cmake(KF5CoreAddons)
|
|
BuildRequires: cmake(KF5I18n)
|
|
BuildRequires: cmake(KF5People)
|
|
|
|
BuildRequires: cmake(Qt5Test)
|
|
BuildRequires: cmake(Qt5Widgets)
|
|
|
|
%description
|
|
Kpeoplevcard provides a datasource plugin for KPeople that reads vCard files
|
|
from the local filesystem.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
%description devel
|
|
%{summary}.
|
|
|
|
%prep
|
|
%autosetup -n %{name}-%{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}
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_qt5_plugindir}/kpeople/datasource/KPeopleVCard.so
|
|
|
|
%files devel
|
|
%{_kf5_libdir}/cmake/KF5PeopleVCard
|
|
|
|
%changelog
|
|
* Mon Sep 11 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.1-1
|
|
- Init packge
|