Init package
This commit is contained in:
parent
49eaa340ab
commit
b1848c6005
75
kf5-kirigami2-addons.spec
Normal file
75
kf5-kirigami2-addons.spec
Normal file
@ -0,0 +1,75 @@
|
||||
%global orig_name kirigami-addons
|
||||
|
||||
Name: kf5-kirigami2-addons
|
||||
Version: 0.11.0
|
||||
Release: 1
|
||||
Epoch: 1
|
||||
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/v%{version}/%{orig_name}-v%{version}.tar.gz
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: kf5-rpm-macros
|
||||
BuildRequires: cmake(KF5I18n)
|
||||
BuildRequires: cmake(KF5Kirigami2)
|
||||
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5Quick)
|
||||
BuildRequires: cmake(Qt5QuickControls2)
|
||||
|
||||
%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} = %{epoch}:%{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} = %{epoch}:%{version}-%{release}
|
||||
|
||||
%description treeview
|
||||
Tree view Kirigami addon, which is useful for listing files.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{orig_name}-v%{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}
|
||||
%find_lang %{orig_name} --all-name
|
||||
|
||||
%files -f %{orig_name}.lang
|
||||
%doc README.md
|
||||
%license LICENSES/
|
||||
%dir %{_kf5_qmldir}/org/kde
|
||||
%dir %{_kf5_qmldir}/org/kde/kirigamiaddons
|
||||
%{_kf5_libdir}/qt5/qml/org/kde/kirigamiaddons/*
|
||||
%{_kf5_libdir}/cmake/KF5KirigamiAddons/*
|
||||
|
||||
%files dateandtime
|
||||
%{_kf5_qmldir}/org/kde/kirigamiaddons/dateandtime/
|
||||
|
||||
%files treeview
|
||||
%{_kf5_qmldir}/org/kde/kirigamiaddons/treeview/
|
||||
|
||||
%changelog
|
||||
* Fri Sep 22 2023 misaka00251 <liuxin@iscas.ac.cn> - 1:0.11.0-1
|
||||
- Init package
|
||||
4
kf5-kirigami2-addons.yaml
Normal file
4
kf5-kirigami2-addons.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/kirigami-addons
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
BIN
kirigami-addons-v0.11.0.tar.gz
Normal file
BIN
kirigami-addons-v0.11.0.tar.gz
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user