From b6f98407af02b1df33028149ce262759e0877e07 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Mon, 2 Sep 2002 19:42:03 +0000 Subject: [PATCH] - new Changed files: fbgrab.spec -> 1.1 --- fbgrab.spec | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 fbgrab.spec diff --git a/fbgrab.spec b/fbgrab.spec new file mode 100644 index 0000000..4bb2a2f --- /dev/null +++ b/fbgrab.spec @@ -0,0 +1,46 @@ +Summary: fbgrab - takes screenshots using the framebuffer device +Summary(pl): Narzêdzie zrzucaj±ce zawarto¶æ ekranu do pliku poprzez framebuffer +Name: fbgrab +Version: 1.0b1 +Release: 1 +License: GPL v2 +Group: Applications/Graphics +Source0: http://w1.827.telia.com/~u82705821/fbgrab/%{name}-%{version}.tar.gz +URL: http://w1.827.telia.com/~u82705821/fbgrab/ +BuildRequires: libpng-devel +Obsoletes: fbshot +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +fbgrab reads the framebuffer device (/dev/fb*) or a dump thereof and +saves a PNG image file. You can use it for making screenshots of +virtually any application, from traditional text applications to your +X Window System desktop, as well as framebuffer applications. + +%description -l pl +fbgrab czyta urz±dzenie framebuffera (/dev/fb*) lub zrzut z niego i +zapisuje zawarto¶æ do pliku graficznego PNG. Programu mo¿na u¿ywaæ +do robienia zrzutów ekranu z ka¿dej aplikacji, od tradycyjnych +aplikacji tekstowych do ekranu X Window System, a tak¿e aplikacji +framebufferowych. + +%prep +%setup -q + +%build +%{__cc} %{rpmcflags} %{rpmldflags} -Wall -o fbgrab fbgrab.c -lpng + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} + +install fbgrab $RPM_BUILD_ROOT%{_bindir} +install fbgrab.1.man $RPM_BUILD_ROOT%{_mandir}/man1/fbgrab.1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%attr(755,root,root) %{_bindir}/* +%{_mandir}/man1/* -- 2.44.0