kpeoplevcard/kpeoplevcard.spec

59 lines
1.4 KiB
RPMSpec
Raw Normal View History

2023-09-11 14:48:49 +08:00
Name: kpeoplevcard
Version: 0.1
Release: 2
2023-09-11 14:48:49 +08:00
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
%{cmake_kf5}
%{cmake_build}
2023-09-11 14:48:49 +08:00
%install
%{cmake_install}
2023-09-11 14:48:49 +08:00
%files
%license COPYING
%{_qt5_plugindir}/kpeople/datasource/KPeopleVCard.so
%files devel
%{_kf5_libdir}/cmake/KF5PeopleVCard
%changelog
* Fri Nov 15 2024 ChenYanpan <chenyanpan@xfusion.com> - 0.1-2
- adapt to the new CMake macros to fix build failure
2023-09-11 14:48:49 +08:00
* Mon Sep 11 2023 misaka00251 <liuxin@iscas.ac.cn> - 0.1-1
- Init packge