summaryrefslogtreecommitdiffstats
path: root/SPECS/catimg.spec
diff options
context:
space:
mode:
Diffstat (limited to 'SPECS/catimg.spec')
-rw-r--r--SPECS/catimg.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/SPECS/catimg.spec b/SPECS/catimg.spec
index 59d52f6..870605e 100644
--- a/SPECS/catimg.spec
+++ b/SPECS/catimg.spec
@@ -5,7 +5,7 @@ Summary: Print images in a terminal with 256 colors support
License: MIT
URL: https://github.com/posva/catimg
-Source0: https://codeload.github.com/posva/%{name}/tar.gz/%{version}#/%{name}-%{version}.tar.gz
+Source0: %{URL}/archive/%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 2.8
BuildRequires: gcc-c++
@@ -19,9 +19,10 @@ images in terminal. It supports JPEG, PNG, ICO and GIF formats.
%build
%cmake .
+%cmake_build
%install
-%make_install
+%cmake_install
install -D -p -m 644 completion/_catimg %{buildroot}%{_datadir}/zsh/site-functions/_catimg
%files