2024-01-06 01:46:31 +01:00
|
|
|
Name: kimageannotator
|
2024-01-27 18:17:59 +01:00
|
|
|
Version: 0.7.0
|
2024-01-06 01:46:31 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Tool for annotating images
|
|
|
|
Group: Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
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
|
|
|
|
|
2024-01-27 18:17:59 +01:00
|
|
|
# Symlinks for backwards compatibility
|
|
|
|
mkdir -p %{buildroot}%{_libdir}/cmake/kImageAnnotator
|
|
|
|
ln -s ../kImageAnnotator-Qt5/kImageAnnotator-Qt5Config.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/kImageAnnotatorConfig.cmake
|
|
|
|
ln -s ../kImageAnnotator-Qt5/kImageAnnotator-Qt5Config-version.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/kImageAnnotatorConfig-version.cmake
|
|
|
|
ln -s ../kImageAnnotator-Qt5/kImageAnnotator-targets.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/
|
|
|
|
ln -s ../kImageAnnotator-Qt5/kImageAnnotator-targets-noconfig.cmake %{buildroot}%{_libdir}/cmake/kImageAnnotator/
|
|
|
|
|
2024-01-06 01:46:31 +01:00
|
|
|
%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)
|
2024-01-27 18:17:59 +01:00
|
|
|
%{_libdir}/libkImageAnnotator-Qt5.so.*
|
2024-01-06 01:46:31 +01:00
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%files -n lib%{name}-devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-27 18:17:59 +01:00
|
|
|
%dir %{_includedir}/kImageAnnotator-Qt5
|
|
|
|
%dir %{_includedir}/kImageAnnotator-Qt5/kImageAnnotator
|
|
|
|
%{_includedir}/kImageAnnotator-Qt5/kImageAnnotator/*
|
|
|
|
%{_libdir}/libkImageAnnotator-Qt5.so
|
|
|
|
%dir %{_libdir}/cmake/kImageAnnotator-Qt5
|
|
|
|
%{_libdir}/cmake/kImageAnnotator-Qt5/kImageAnnotator*.cmake
|
2024-01-06 01:46:31 +01:00
|
|
|
%dir %{_libdir}/cmake/kImageAnnotator
|
2024-01-27 18:17:59 +01:00
|
|
|
%{_libdir}/cmake/kImageAnnotator/*.cmake
|
2024-01-06 01:46:31 +01:00
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%changelog
|
2024-01-27 18:17:59 +01:00
|
|
|
* Fri Jan 26 2024 Automatic Build System <autodist@openmamba.org> 0.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:46:31 +01:00
|
|
|
* Thu Mar 16 2023 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:46:31 +01:00
|
|
|
* Thu Aug 25 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.0-1mamba
|
|
|
|
- package created using the webbuild interface
|