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