]> git.pld-linux.org Git - packages/fbgrab.git/blob - fbgrab.spec
- new
[packages/fbgrab.git] / fbgrab.spec
1 Summary:        fbgrab - takes screenshots using the framebuffer device
2 Summary(pl):    Narzêdzie zrzucaj±ce zawarto¶æ ekranu do pliku poprzez framebuffer
3 Name:           fbgrab
4 Version:        1.0b1
5 Release:        1
6 License:        GPL v2
7 Group:          Applications/Graphics
8 Source0:        http://w1.827.telia.com/~u82705821/fbgrab/%{name}-%{version}.tar.gz
9 URL:            http://w1.827.telia.com/~u82705821/fbgrab/
10 BuildRequires:  libpng-devel
11 Obsoletes:      fbshot
12 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13
14 %description
15 fbgrab reads the framebuffer device (/dev/fb*) or a dump thereof and
16 saves a PNG image file. You can use it for making screenshots of
17 virtually any application, from traditional text applications to your
18 X Window System desktop, as well as framebuffer applications.
19
20 %description -l pl
21 fbgrab czyta urz±dzenie framebuffera (/dev/fb*) lub zrzut z niego i
22 zapisuje zawarto¶æ do pliku graficznego PNG. Programu mo¿na u¿ywaæ
23 do robienia zrzutów ekranu z ka¿dej aplikacji, od tradycyjnych
24 aplikacji tekstowych do ekranu X Window System, a tak¿e aplikacji
25 framebufferowych.
26
27 %prep
28 %setup -q
29
30 %build
31 %{__cc} %{rpmcflags} %{rpmldflags} -Wall -o fbgrab fbgrab.c -lpng
32
33 %install
34 rm -rf $RPM_BUILD_ROOT
35 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
36
37 install fbgrab $RPM_BUILD_ROOT%{_bindir}
38 install fbgrab.1.man $RPM_BUILD_ROOT%{_mandir}/man1/fbgrab.1
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %attr(755,root,root) %{_bindir}/*
46 %{_mandir}/man1/*
This page took 0.084898 seconds and 3 git commands to generate.