From bd95a1216ebe97b930ffa208d6aaa87a409eaf43 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 00:49:18 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.2.0-1mamba;Thu Aug 25 2022] --- README.md | 2 ++ kcolorpicker.spec | 75 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) create mode 100644 kcolorpicker.spec diff --git a/README.md b/README.md index 3448a85..c6de877 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kcolorpicker +Qt based Color Picker with popup menu. + diff --git a/kcolorpicker.spec b/kcolorpicker.spec new file mode 100644 index 0000000..b096275 --- /dev/null +++ b/kcolorpicker.spec @@ -0,0 +1,75 @@ +Name: kcolorpicker +Version: 0.2.0 +Release: 1mamba +Summary: Qt based Color Picker with popup menu +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ksnip/kColorPicker +Source: https://github.com/ksnip/kColorPicker.git/v%{version}/kColorPicker-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Qt based Color Picker with popup menu. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +This package contains shared libraries for %{name}. + +%package -n lib%{name}-devel +Group: Development/Libraries +Summary: Development files for %{name} +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q -n kColorPicker-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libkColorPicker.so.* +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/kColorPicker +%{_includedir}/kColorPicker/KColorPicker*.h +%dir %{_libdir}/cmake/kColorPicker +%{_libdir}/cmake/kColorPicker/kColorPicker*.cmake +%{_libdir}/libkColorPicker.so +%doc README.md + +%changelog +* Thu Aug 25 2022 Silvan Calarco 0.2.0-1mamba +- package created using the webbuild interface