SHA256
1
0
forked from pool/fbcat
fbcat/fbcat.spec
OBS User mrdocs 928b0706c2 Accepting request 559214 from home:avindra
- Update to version 0.5.1:
  * Fix option parser, so that it handles “-?” correctly.
  * `install` target to the makefile.
  * Ship pre-built manual pages in the source tarball.
  * Don't use getconf(1) to acquire LFS build flags.
- Simplify build instructions
- cleanup .spec file with spec-cleaner

OBS-URL: https://build.opensuse.org/request/show/559214
OBS-URL: https://build.opensuse.org/package/show/utilities/fbcat?expand=0&rev=6
2017-12-31 04:20:46 +00:00

51 lines
1.5 KiB
RPMSpec

#
# spec file for package fbcat
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2012-2017 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.5.1
Release: 0
Summary: Framebuffer screenshot programs
License: GPL-2.0
Group: Productivity/Graphics/Convertors
URL: https://github.com/jwilk/fbcat
Source0: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz
Source1: https://github.com/jwilk/fbcat/releases/download/%{version}/fbcat-%{version}.tar.gz.asc
%description
Contains fbcat and fbgrab for taking a screenshot using the framebuffer
device.
%prep
%setup -q
%build
make CFLAGS='%{optflags}' %{?_smp_mflags}
%install
%make_install PREFIX=%{_prefix}
%files
%doc doc/COPYING doc/changelog
%{_bindir}/fbcat
%{_bindir}/fbgrab
%{_mandir}/man1/fbcat.1%{?ext_man}
%{_mandir}/man1/fbgrab.1%{?ext_man}
%changelog