Name: mapmap Version: 0.6.2 Release: 1%{?dist} Summary: Open source video mapping software URL: https://mapmapteam.github.io License: GPLv3 Source0: https://github.com/mapmapteam/mapmap/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: gcc gcc-c++ BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qtbase-gui BuildRequires: qt5-qtsvg-devel BuildRequires: qt5-qtmultimedia-devel BuildRequires: qt5-linguist BuildRequires: alsa-lib-devel BuildRequires: desktop-file-utils BuildRequires: zlib-devel BuildRequires: glib2-devel BuildRequires: liblo-devel BuildRequires: gstreamer1-devel BuildRequires: gstreamer1-plugins-base-devel %description MapMap is a free video mapping software. Projection mapping, also known as video mapping and spatial augmented reality, is a projection technology used to turn objects, often irregularly shaped, into a display surface for video projection. These objects may be complex industrial landscapes, such as buildings. By using specialized software, a two or three dimensional object is spatially mapped on the virtual program which mimics the real environment it is to be projected on. The software can interact with a projector to fit any desired image onto the surface of that object. This technique is used by artists and advertisers alike who can add extra dimensions, optical illusions, and notions of movement onto previously static objects. The video is commonly combined with, or triggered by, audio to create an audio-visual narrative. %prep %autosetup -n %{name}-%{version} sed -i -e '/#include "MappingItemDelegate.h"/i #include ' src/gui/MappingItemDelegate.cpp %build %qmake_qt5 mapmap.pro %make_build %install install -m 755 -d %{buildroot}/%{_datadir}/applications/ install -m 644 resources/texts/%{name}.desktop %{buildroot}%{_datadir}/applications/%{name}.desktop install -m 755 -d %{buildroot}/%{_bindir}/ install -m 755 %{name} %{buildroot}%{_bindir}/ install -m 755 -d %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/ install -m 644 resources/images/logo/%{name}.svg %{buildroot}/%{_datadir}/icons/hicolor/scalable/apps/ install -m 755 -d %{buildroot}/%{_datadir}/mime/packages/ install -m 644 resources/texts/%{name}.xml %{buildroot}/%{_datadir}/mime/packages/ desktop-file-install --vendor '' \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %files %doc HACKING OSC README.md CONTRIBUTING.md %license LICENSE %{_bindir}/* %{_datadir}/* %changelog * Sat Nov 07 2020 Yann Collette - 0.6.2-1 - Initial spec file