Name: slop Version: __APP_VERSION__ Release: __APP_RELEASE__%{?dist} Summary: Command line tool to perform region SeLect OPeration with mouse URL: https://github.com/naelstrof/slop License: GPLv3 Source0: __APP_URLBASE__/archive/v%{version}.tar.gz BuildRequires: gcc-c++ >= 4.9 BuildRequires: cmake BuildRequires: glew-devel BuildRequires: glm-devel BuildRequires: libicu-devel BuildRequires: libXrender-devel BuildRequires: mesa-libEGL-devel %description slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. %package -n libslopy Summary: Library to perform region SeLect OPeration with mouse %description -n libslopy slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. This sub-package contains libslopy library. %package -n libslopy-devel Summary: Library to perform region SeLect OPeration with mouse Requires: %{name}%{?_isa} = %{version}-%{release} %description -n libslopy-devel slop (Select Operation) is an application that queries for a selection from the user and prints the region to stdout. This sub-package contains development files for libslopy library. %prep %autosetup -n %{name}-%{version} %build %cmake . %install %make_install %ldconfig_scriptlets -n libslopy %check ctest -V %{?_smp_mflags} %files %doc README.md %license COPYING license.txt %{_bindir}/slop %{_mandir}/man1/slop.1.* %files -n libslopy %{_libdir}/libslopy.so.%{version} %files -n libslopy-devel %{_libdir}/libslopy.so %{_includedir}/slop.hpp %changelog * __APP_DATE__ Alois Mahdal - __APP_VERSION__-__APP_RELEASE__ - Unofficial experimental RPM pseudo-release # spec file generated from __APP_BUILDSCRIPT_VERSION__