1 |
Summary: Take screenshots from the framebuffer |
2 |
Name: fb2png |
3 |
Version: 0.1 |
4 |
Release: %mkrel 19.git85df73c |
5 |
# from git: (cd ..; tar cfz fb2png{.tgz,/*}) |
6 |
Source0: https://github.com/AndrewFromMelbourne/fb2png/archive/master/%{name}.tar.gz |
7 |
Source1: fb2png-0.1-index.html |
8 |
License: MIT |
9 |
Url: https://github.com/AndrewFromMelbourne/fb2png |
10 |
Group: System/Kernel and hardware |
11 |
BuildRequires: pkgconfig(libpng) |
12 |
|
13 |
%description |
14 |
Utility to make screenshots from framebuffer. |
15 |
It's mainly used by the installer. |
16 |
|
17 |
%prep |
18 |
%setup -q -n %{name}-master |
19 |
%autopatch |
20 |
cp %{SOURCE1} index.html |
21 |
|
22 |
%build |
23 |
%make_build CFLAGS="%{optflags}" LDFLAGS="%{ldflags}" |
24 |
|
25 |
%install |
26 |
install -d %{buildroot}%{_bindir} |
27 |
install -m755 fb2png %{buildroot}%{_bindir}/ |
28 |
|
29 |
%files |
30 |
%doc index.html |
31 |
%{_bindir}/* |