From ad35dfb639cca4610b7d59f46693011e9355c29e Mon Sep 17 00:00:00 2001 From: Troy Dawson Date: Thu, 1 Sep 2022 13:18:36 -0700 Subject: [PATCH] Initial package --- .gitignore | 1 + kpeoplevcard.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 57 insertions(+) create mode 100644 .gitignore create mode 100644 kpeoplevcard.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d13482f --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/kpeoplevcard-0.1.tar.xz diff --git a/kpeoplevcard.spec b/kpeoplevcard.spec new file mode 100644 index 0000000..e3aaa07 --- /dev/null +++ b/kpeoplevcard.spec @@ -0,0 +1,55 @@ +Name: kpeoplevcard +Version: 0.1 +Release: 1%{?dist} +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 + +%install +%cmake_install + +%files +%license COPYING +%{_qt5_plugindir}/kpeople/datasource/KPeopleVCard.so + +%files devel +%{_kf5_libdir}/cmake/KF5PeopleVCard + +%changelog +* Sun Jan 16 2022 Onuralp SEZER - 0.1-1 +- Initial package diff --git a/sources b/sources new file mode 100644 index 0000000..cae03b7 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kpeoplevcard-0.1.tar.xz) = 9f11ee768d1ddce1f03f41b604180078c0315eb8b9f0118dd99eba65333400b0a0ed12ab1e08ebce3c6c0a2c93563e5c3e832a0cd458d6ea296bd64eeb9413e7