!1 Init package
From: @misaka00251 Reviewed-by: @leeffo Signed-off-by: @leeffo
This commit is contained in:
commit
ea04c52ae7
BIN
kpeoplevcard-0.1.tar.xz
Normal file
BIN
kpeoplevcard-0.1.tar.xz
Normal file
Binary file not shown.
57
kpeoplevcard.spec
Normal file
57
kpeoplevcard.spec
Normal file
@ -0,0 +1,57 @@
|
|||||||
|
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
|
||||||
4
kpeoplevcard.yaml
Normal file
4
kpeoplevcard.yaml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
version_control: github
|
||||||
|
src_repo: KDE/kpeoplevcard
|
||||||
|
tag_prefix: "^v"
|
||||||
|
separator: "."
|
||||||
Loading…
x
Reference in New Issue
Block a user