From b36afe8dbea0abd799455e3a6d2316a19a6148a1 Mon Sep 17 00:00:00 2001 From: Onuralp SEZER Date: Tue, 25 May 2021 22:12:22 +0300 Subject: [PATCH] initial package --- .gitignore | 1 + kf5-kirigami2-addons.spec | 70 +++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 72 insertions(+) create mode 100644 .gitignore create mode 100644 kf5-kirigami2-addons.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..34639c1 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/kirigami-addons-release-21.05.tar.gz diff --git a/kf5-kirigami2-addons.spec b/kf5-kirigami2-addons.spec new file mode 100644 index 0000000..decd119 --- /dev/null +++ b/kf5-kirigami2-addons.spec @@ -0,0 +1,70 @@ +%global orig_name kirigami-addons + +Name: kf5-kirigami2-addons +Version: 21.05 +Release: 1%{?dist} +License: LGPLv3 +Summary: Convergent visual components ("widgets") for Kirigami-based applications +Url: https://invent.kde.org/libraries/kirigami-addons +Source: https://invent.kde.org/libraries/%{orig_name}/-/archive/release/%{version}/%{orig_name}-release-%{version}.tar.gz + + +BuildRequires: gcc-c++ +BuildRequires: cmake +BuildRequires: extra-cmake-modules +BuildRequires: kf5-rpm-macros + +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Quick) +BuildRequires: cmake(Qt5QuickControls2) +BuildRequires: cmake(KF5I18n) +BuildRequires: cmake(KF5Kirigami2) + + +%description +A set of "widgets" i.e visual end user components along with a +code to support them. Components are usable by both touch and +desktop experiences providing a native experience on both, and +look native with any QQC2 style (qqc2-desktop-theme, Material +or Plasma). + +%package dateandtime +Summary: Date and time add-on for the Kirigami framework +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description dateandtime +Date and time Kirigami addons, which complements other +software like Kclock. + +%package treeview +Summary: Tree view add-on for the Kirigami framework +Requires: %{name}%{?_isa} = %{version}-%{release} +%description treeview +Tree view Kirigami addon, which is useful for listing files. + +%prep +%autosetup -n %{orig_name}-release-%{version} + +%build +%cmake +%cmake_build + +%install +%cmake_install + +%files +%doc README.md +%license LICENSES/ +%dir %{_kf5_qmldir}/org/kde +%dir %{_kf5_qmldir}/org/kde/kirigamiaddons + + +%files dateandtime +%{_kf5_qmldir}/org/kde/kirigamiaddons/dateandtime/ + +%files treeview +%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/ + +%changelog +* Sat May 15 2021 Onuralp SEZER - 21.05-1 +- initial version of package \ No newline at end of file diff --git a/sources b/sources new file mode 100644 index 0000000..3c447f9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (kirigami-addons-release-21.05.tar.gz) = 078ce77c5cde2772af4a2ce69fafddb87b9cfb7d61ae0c82cef564baafaf1ee6aa511bffb707f82436c2cf0c527189e7d7f2801ffecd675a007376599da8ca46