]> git.pld-linux.org Git - packages/fax2png.git/blame - fax2png.spec
- converted to UTF-8
[packages/fax2png.git] / fax2png.spec
CommitLineData
d90ca51f 1Summary: fax2png - 1-bit multipage TIFF (fax or scan) to PNG image converter
a3e002cd 2Summary(pl.UTF-8): fax2png - konwerter 1-bitowych, wielostronnych obrazów TIFF (faksów lub skanów) do PNG
d90ca51f
JB
3Name: fax2png
4Version: 1.0
5Release: 1
6License: GPL v2+
7Group: Applications/Graphics
8Source0: http://www.boutell.com/fax2png/%{name}.tar.gz
9# Source0-md5: c7af8429ae707ee4fc9b461f059d9887
10URL: http://www.boutell.com/fax2png/
11BuildRequires: libpng-devel
12BuildRequires: libtiff-devel
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16Extracts a specified page from a 1-bit black and white TIFF image,
17such as a fax, and efficiently converts it to PNG format without the
18performance overhead of netpbm-based solutions. Antialiasing is
19supported to produce attractive reductions to typical web browser
20widths. 90-degree-interval rotations and flips are also supported.
21
a3e002cd
JR
22%description -l pl.UTF-8
23fax2png 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
25narzutu jak w przypadku użycia netpbm. Obsługiwany jest antyaliasing w
26celu tworzenia ładniejszych pomniejszeń do rozdzielczości typowych dla
27przeglądarki WWW. Obsługiwane są także obroty co 90 stopni.
d90ca51f
JB
28
29%prep
30%setup -q -n %{name}
31
32%build
33%{__cc} %{rpmldflags} %{rpmcflags} -o fax2png fax2png.c -lpng -ltiff
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
38
39install fax2png $RPM_BUILD_ROOT%{_bindir}
40install fax2png.1 $RPM_BUILD_ROOT%{_mandir}/man1
41
42%clean
43rm -rf $RPM_BUILD_ROOT
44
45%files
46%defattr(644,root,root,755)
47%doc readme.txt fax2png.pl
48%attr(755,root,root) %{_bindir}/fax2png
49%{_mandir}/man1/fax2png.1*
This page took 0.086092 seconds and 4 git commands to generate.