From 8996924423e6c87a89b3fc627691f6a1de0765d6 Mon Sep 17 00:00:00 2001 From: tigro Date: Wed, 26 Jul 2023 21:40:13 +0300 Subject: [PATCH] import kcolorpicker-0.2.0-2.el9 --- .gitignore | 1 + .kcolorpicker.metadata | 1 + SPECS/kcolorpicker.spec | 82 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+) create mode 100644 .gitignore create mode 100644 .kcolorpicker.metadata create mode 100644 SPECS/kcolorpicker.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..673f9a7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/kcolorpicker-0.2.0.tar.gz diff --git a/.kcolorpicker.metadata b/.kcolorpicker.metadata new file mode 100644 index 0000000..fba6b40 --- /dev/null +++ b/.kcolorpicker.metadata @@ -0,0 +1 @@ +70f14ea8070f4cd01db219d3358007b9d4bc5618 SOURCES/kcolorpicker-0.2.0.tar.gz diff --git a/SPECS/kcolorpicker.spec b/SPECS/kcolorpicker.spec new file mode 100644 index 0000000..ac78e36 --- /dev/null +++ b/SPECS/kcolorpicker.spec @@ -0,0 +1,82 @@ +%global appname kColorPicker +%global libname lib%{appname} + +Name: kcolorpicker +Version: 0.2.0 +Release: 2%{?dist} + +License: LGPLv3+ +Summary: QToolButton control with color popup menu +URL: https://github.com/ksnip/%{appname} +Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake(Qt5Core) +BuildRequires: cmake(Qt5Gui) + +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: ninja-build + +%description +QToolButton with color popup menu which lets you select a color. + +The popup features a color dialog button which can be used to add +custom colors to the popup menu. + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} + +%description devel +%{summary}. + +%prep +%autosetup -n %{appname}-%{version} -p1 + +%build +%cmake -G Ninja \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_TESTS:BOOL=OFF \ + -DBUILD_EXAMPLE:BOOL=OFF +%cmake_build + +%install +%cmake_install + +%files +%doc README.md +%license LICENSE +%{_libdir}/%{libname}.so.0* + +%files devel +%{_includedir}/%{appname}/ +%{_libdir}/cmake/%{appname}/ +%{_libdir}/%{libname}.so + +%changelog +* Wed Jul 26 2023 Arkady L. Shane - 0.2.0-2 +- Rebuilt for MSVSphere 9.2 + +* Thu Jul 21 2022 Fedora Release Engineering - 0.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon May 23 2022 Vitaly Zaitsev - 0.2.0-1 +- Updated to version 0.2.0. + +* Thu Jan 20 2022 Fedora Release Engineering - 0.1.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 0.1.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue May 25 2021 Vitaly Zaitsev - 0.1.6-1 +- Updated to version 0.1.6. + +* Mon Feb 15 2021 Vitaly Zaitsev - 0.1.5-1 +- Updated to version 0.1.5. + +* Tue Jan 26 2021 Fedora Release Engineering - 0.1.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jul 31 2020 Vitaly Zaitsev - 0.1.4-1 +- Initial SPEC release.