# spec file for package fbcat # # Copyright (c) 2012-2017 Malcolm J Lewis # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: fbcat Version: 0.5 Release: 0 License: GPL-2.0 Summary: Framebuffer screenshot programs Url: https://github.com/jwilk/fbcat Group: Productivity/Graphics/Convertors Source0: https://github.com/jwilk/fbcat/releases/download/0.5/fbcat-0.5.tar.gz Source1: https://github.com/jwilk/fbcat/releases/download/0.5/fbcat-0.5.tar.gz.asc BuildRequires: docbook BuildRequires: docbook-xsl-stylesheets BuildRequires: libxml2 BuildRequires: libxslt BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Contains fbcat and fbgrab for taking a screenshot using the framebuffer device. %prep %setup -q %build make CFLAGS='%{optflags}' cd doc make %install mkdir -p %{buildroot}%{_bindir} install -m 0755 fbcat fbgrab %{buildroot}%{_bindir}/ mkdir -p %{buildroot}%{_mandir}/man1/ install -m 0644 doc/fbcat.1 doc/fbgrab.1 %{buildroot}%{_mandir}/man1/ %files %defattr(-,root,root) %doc doc/COPYING doc/changelog %{_bindir}/fbcat %{_bindir}/fbgrab %{_mandir}/man1/fbcat.1%{?ext_man} %{_mandir}/man1/fbgrab.1%{?ext_man} %changelog