1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
Name: mrgingham
Version: 1.22
Release: 1%{?dist}
Summary: Chessboard corner finder for camera calibrations
License: LGPL-2.1+
URL: https://github.com/dkogan/mrgingham/
Source0: https://github.com/dkogan/mrgingham/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: mrbuild
BuildRequires: opencv-devel >= 3.2
BuildRequires: boost-devel
BuildRequires: chrpath
# for test--mrgingham-rotate-corners
BuildRequires: zsh
BuildRequires: vnlog
# to build the manpages I need to run 'mrgingham-observe-pixel-uncertainty
# --help'
BuildRequires: python36
# for the python interface
BuildRequires: python36-numpy
BuildRequires: python36-devel
BuildRequires: python36-libs
Conflicts: mrgingham-tools <= 1.10
# for mrgingham-rotate-corners
Requires: vnlog
%description
Library to find a grid of points; used for calibration routines
%package devel
Requires: %{name}%{_isa} = %{version}-%{release}
Summary: Development files for mrgingham
%description devel
Headers and libraries for building applications using mrgingham
%prep
%setup -q
%build
make %{?_smp_mflags} all
%install
rm -rf $RPM_BUILD_ROOT
%make_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc
%{_libdir}/*.so.*
%{_bindir}/*
%{_mandir}/*
%{python3_sitelib}/*
%files devel
%{_libdir}/*.so
%{_includedir}/*
|