]> git.pld-linux.org Git - packages/fbgrab.git/blob - fbgrab.spec
- release 2
[packages/fbgrab.git] / fbgrab.spec
1 Summary:        fbgrab - takes screenshots using the framebuffer device
2 Summary(pl.UTF-8):      Narzędzie zrzucające zawartość ekranu do pliku poprzez framebuffer
3 Name:           fbgrab
4 Version:        1.0
5 Release:        2
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 Patch0:         %{name}-bigendian.patch
12 URL:            http://hem.bredband.net/gmogmo/fbgrab/
13 BuildRequires:  libpng-devel
14 Obsoletes:      fbshot
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 fbgrab reads the framebuffer device (/dev/fb*) or a dump thereof and
19 saves a PNG image file. You can use it for making screenshots of
20 virtually any application, from traditional text applications to your
21 X Window System desktop, as well as framebuffer applications.
22
23 %description -l pl.UTF-8
24 fbgrab czyta urządzenie framebuffera (/dev/fb*) lub zrzut z niego i
25 zapisuje zawartość do pliku graficznego PNG. Programu można używać
26 do robienia zrzutów ekranu z każdej aplikacji, od tradycyjnych
27 aplikacji tekstowych do ekranu X Window System, a także aplikacji
28 framebufferowych.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33
34 %build
35 %{__cc} %{rpmcflags} %{rpmldflags} -Wall -o fbgrab fbgrab.c -lpng
36
37 %install
38 rm -rf $RPM_BUILD_ROOT
39 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40
41 install fbgrab $RPM_BUILD_ROOT%{_bindir}
42 install fbgrab.1.man $RPM_BUILD_ROOT%{_mandir}/man1/fbgrab.1
43
44 %clean
45 rm -rf $RPM_BUILD_ROOT
46
47 %files
48 %defattr(644,root,root,755)
49 %attr(755,root,root) %{_bindir}/*
50 %{_mandir}/man1/*
This page took 0.025275 seconds and 3 git commands to generate.