]> git.pld-linux.org Git - packages/fax2png.git/commitdiff
- new, merged from OpenBIZ Linux
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 27 Oct 2006 08:43:42 +0000 (08:43 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    fax2png.spec -> 1.1

fax2png.spec [new file with mode: 0644]

diff --git a/fax2png.spec b/fax2png.spec
new file mode 100644 (file)
index 0000000..eafb449
--- /dev/null
@@ -0,0 +1,49 @@
+Summary:       fax2png - 1-bit multipage TIFF (fax or scan) to PNG image converter
+Summary(pl):   fax2png - konwerter 1-bitowych, wielostronnych obrazów TIFF (faksów lub skanów) do PNG
+Name:          fax2png
+Version:       1.0
+Release:       1
+License:       GPL v2+
+Group:         Applications/Graphics
+Source0:       http://www.boutell.com/fax2png/%{name}.tar.gz
+# Source0-md5: c7af8429ae707ee4fc9b461f059d9887
+URL:           http://www.boutell.com/fax2png/
+BuildRequires: libpng-devel
+BuildRequires: libtiff-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Extracts a specified page from a 1-bit black and white TIFF image,
+such as a fax, and efficiently converts it to PNG format without the
+performance overhead of netpbm-based solutions. Antialiasing is
+supported to produce attractive reductions to typical web browser
+widths. 90-degree-interval rotations and flips are also supported.
+
+%description -l pl
+fax2png wyci±ga podan± stronê z 1-bitowego, czarno-bia³ego obrazu TIFF
+(jak fax) i wydajnie konwertuje go do formatu PNG bez wydajno¶ciowego
+narzutu jak w przypadku u¿ycia netpbm. Obs³ugiwany jest antyaliasing w
+celu tworzenia ³adniejszych pomniejszeñ do rozdzielczo¶ci typowych dla
+przegl±darki WWW. Obs³ugiwane s± tak¿e obroty co 90 stopni.
+
+%prep
+%setup -q -n %{name}
+
+%build
+%{__cc} %{rpmldflags} %{rpmcflags} -o fax2png fax2png.c -lpng -ltiff
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
+
+install fax2png $RPM_BUILD_ROOT%{_bindir}
+install fax2png.1 $RPM_BUILD_ROOT%{_mandir}/man1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt fax2png.pl
+%attr(755,root,root) %{_bindir}/fax2png
+%{_mandir}/man1/fax2png.1*
This page took 0.127705 seconds and 4 git commands to generate.