SPECS: fax2png.spec (NEW) - new, merged from OpenBIZ Linux

qboosh qboosh at pld-linux.org
Fri Oct 27 10:43:48 CEST 2006


Author: qboosh                       Date: Fri Oct 27 08:43:48 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new, merged from OpenBIZ Linux

---- Files affected:
SPECS:
   fax2png.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/fax2png.spec
diff -u /dev/null SPECS/fax2png.spec:1.1
--- /dev/null	Fri Oct 27 10:43:48 2006
+++ SPECS/fax2png.spec	Fri Oct 27 10:43:42 2006
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+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*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/10/27 08:43:42  qboosh
+- new, merged from OpenBIZ Linux
+
================================================================


More information about the pld-cvs-commit mailing list