1 Summary: fax2png - 1-bit multipage TIFF (fax or scan) to PNG image converter
2 Summary(pl.UTF-8): fax2png - konwerter 1-bitowych, wielostronnych obrazów TIFF (faksów lub skanów) do PNG
7 Group: Applications/Graphics
8 Source0: http://www.boutell.com/fax2png/%{name}.tar.gz
9 # Source0-md5: c7af8429ae707ee4fc9b461f059d9887
10 URL: http://www.boutell.com/fax2png/
11 BuildRequires: libpng-devel
12 BuildRequires: libtiff-devel
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 Extracts a specified page from a 1-bit black and white TIFF image,
17 such as a fax, and efficiently converts it to PNG format without the
18 performance overhead of netpbm-based solutions. Antialiasing is
19 supported to produce attractive reductions to typical web browser
20 widths. 90-degree-interval rotations and flips are also supported.
22 %description -l pl.UTF-8
23 fax2png wyciąga podaną stronę z 1-bitowego, czarno-białego obrazu TIFF
24 (jak fax) i wydajnie konwertuje go do formatu PNG bez wydajnościowego
25 narzutu jak w przypadku użycia netpbm. Obsługiwany jest antyaliasing w
26 celu tworzenia ładniejszych pomniejszeń do rozdzielczości typowych dla
27 przeglądarki WWW. Obsługiwane są także obroty co 90 stopni.
33 %{__cc} %{rpmldflags} %{rpmcflags} -o fax2png fax2png.c -lpng -ltiff
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39 install fax2png $RPM_BUILD_ROOT%{_bindir}
40 install fax2png.1 $RPM_BUILD_ROOT%{_mandir}/man1
43 rm -rf $RPM_BUILD_ROOT
46 %defattr(644,root,root,755)
47 %doc readme.txt fax2png.pl
48 %attr(755,root,root) %{_bindir}/fax2png
49 %{_mandir}/man1/fax2png.1*