# spec file for package fbcat # # Copyright (c) 2012 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.4 Release: 0 License: GPL-2.0 Summary: Framebuffer screenshot programs Url: http://code.google.com/p/fbcat/ Group: Productivity/Graphics/Convertors Source0: https://bitbucket.org/jwilk/fbcat/downloads/fbcat-0.4.tar.gz 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 COPYING doc/changelog %{_bindir}/fbcat %{_bindir}/fbgrab %{_mandir}/man1/fbcat.1%{?ext_man} %{_mandir}/man1/fbgrab.1%{?ext_man} %changelog