forked from pool/fbcat
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
This commit is contained in:
committed by
Git OBS Bridge
parent
278b7d9b82
commit
928b0706c2
29
fbcat.spec
29
fbcat.spec
@@ -1,6 +1,7 @@
|
||||
|
||||
#
|
||||
# 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
|
||||
@@ -15,20 +16,16 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: fbcat
|
||||
Version: 0.5
|
||||
Version: 0.5.1
|
||||
Release: 0
|
||||
License: GPL-2.0
|
||||
Summary: Framebuffer screenshot programs
|
||||
Url: https://github.com/jwilk/fbcat
|
||||
License: GPL-2.0
|
||||
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
|
||||
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
|
||||
@@ -38,18 +35,12 @@ device.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make CFLAGS='%{optflags}'
|
||||
cd doc
|
||||
make
|
||||
make CFLAGS='%{optflags}' %{?_smp_mflags}
|
||||
|
||||
%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/
|
||||
%make_install PREFIX=%{_prefix}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc doc/COPYING doc/changelog
|
||||
%{_bindir}/fbcat
|
||||
%{_bindir}/fbgrab
|
||||
|
Reference in New Issue
Block a user