Name: slop Version: 7.4 Release: 1%{?dist} Summary: Select Operation URL: https://github.com/naelstrof/slop License: GPLv3 Source0: https://github.com/naelstrof/slop/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 Requires: libslopy = %{version}-%{release} %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: Select Operation Group: System Environment/Libraries %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: Select Operation Group: Development/Libraries Requires: libslopy = %{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 CXXFLAGS="${CXXFLAGS:-%{optflags}}"; export CXXFLAGS cmake -DCMAKE_INSTALL_PREFIX="/usr" ./ %install %make_install %post -n libslopy /sbin/ldconfig %postun -n libslopy /sbin/ldconfig %files %{_bindir}/slop %{_mandir}/man1/slop.1.gz %files -n libslopy %{_libdir}/libslopy.so.%{version} %files -n libslopy-devel %{_libdir}/libslopy.so %{_includedir}/slop.hpp %changelog * Tue Apr 24 2018 Alois Mahdal - 7.4-1 - Unofficial experimental RPM pseudo-release # spec file generated from trigger_copr v0.0.5-3-g0359b82