SHA256
1
0
forked from pool/fbcat
fbcat/fbcat.spec

59 lines
1.7 KiB
RPMSpec

# spec file for package fbcat
#
# Copyright (c) 2012-2016 Malcolm J Lewis <malcolmlewis@opensuse.org>
#
# 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.3
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.4.3/fbcat-0.4.3.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