From 41a27be8f044f2bc5133d64a4d657cfbbc0c926d Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 01:46:31 +0100 Subject: [PATCH] package created using the webbuild interface [release 0.6.0-1mamba;Thu Aug 25 2022] --- README.md | 2 ++ kimageannotator.spec | 80 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) create mode 100644 kimageannotator.spec diff --git a/README.md b/README.md index efdc499..022438f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # kimageannotator +Tool for annotating images. + diff --git a/kimageannotator.spec b/kimageannotator.spec new file mode 100644 index 0000000..a2b7149 --- /dev/null +++ b/kimageannotator.spec @@ -0,0 +1,80 @@ +Name: kimageannotator +Version: 0.6.0 +Release: 1mamba +Summary: Tool for annotating images +Group: Applications/Graphics +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://github.com/ksnip/kImageAnnotator +Source: https://github.com/ksnip/kImageAnnotator.git/v%{version}/kImageAnnotator-%{version}.tar.bz2 +License: LGPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libQt5Svg-devel +BuildRequires: libX11-devel +BuildRequires: libgcc +BuildRequires: libkcolorpicker-devel +BuildRequires: libstdc++6-devel +BuildRequires: qt5-qtbase-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description +Tool for annotating images. + +%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 kImageAnnotator-%{version} + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files -n lib%{name} -f %{name}5_qt.lang +%defattr(-,root,root) +%{_libdir}/libkImageAnnotator.so.* +%doc LICENSE + +%files -n lib%{name}-devel +%defattr(-,root,root) +%dir %{_includedir}/kImageAnnotator +%{_includedir}/kImageAnnotator/KImageAnnotator*.h +%dir %{_libdir}/cmake/kImageAnnotator +%{_libdir}/cmake/kImageAnnotator/kImageAnnotator*.cmake +%{_libdir}/libkImageAnnotator.so +%doc README.md + +%changelog +* Thu Aug 25 2022 Silvan Calarco 0.6.0-1mamba +- package created using the webbuild interface