1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- Name: slop
- Version: __APP_VERSION__
- Release: __APP_RELEASE__%{?dist}
- Summary: Select Operation
- URL: https://github.com/naelstrof/slop
-
- License: GPLv3
- Source0: __APP_URLBASE__/archive/v%{version}.tar.gz
-
- BuildRequires: gcc-c++
- 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.
-
- %prep
- %autosetup -n %{name}-%{version}
-
- %build
- CXXFLAGS="${CXXFLAGS:-%{optflags}}"; export CXXFLAGS
- cmake -DCMAKE_INSTALL_PREFIX="/usr" ./
-
- %install
- %make_install
- mkdir -p "%{buildroot}%{_libdir}"
- mv %{buildroot}/usr/lib/libslopy.so "%{buildroot}%{_libdir}"
- rm %{buildroot}/usr/include/slop.hpp
-
- %files
- %{_bindir}/slop
- %{_libdir}/libslopy.so
- %{_mandir}/man1/slop.1.gz
-
- %changelog
- * __APP_DATE__ Alois Mahdal <netvor+slop@vornet.cz> - __APP_VERSION__-__APP_RELEASE__
- - Unofficial experimental RPM pseudo-release
-
- # spec file generated from __APP_BUILDSCRIPT_VERSION__
|