packages: pngnq/pngnq.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Mon May 17 17:15:53 CEST 2010


Author: patrys                       Date: Mon May 17 15:15:53 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
packages/pngnq:
   pngnq.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/pngnq/pngnq.spec
diff -u /dev/null packages/pngnq/pngnq.spec:1.1
--- /dev/null	Mon May 17 17:15:53 2010
+++ packages/pngnq/pngnq.spec	Mon May 17 17:15:48 2010
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+Summary:	Pngnq is a tool for quantizing PNG images in RGBA format
+Name:		pngnq
+Version:	1.0
+Release:	1
+License:	BSD with advertising and MIT and BSD
+Group:		Applications/Multimedia
+URL:		http://pngnq.sourceforge.net/
+Source0:	http://dl.sourceforge.net/pngnq/%{name}-%{version}.tar.gz
+# Source0-md5:	2d2cdacf0284477c662fee888c8092d5
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	libpng-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pngnq is a tool for quantizing PNG images in RGBA format.
+
+The neuquant algorithm uses a neural network to optimise the color map
+selection. This is fast and quite accurate, giving good results on
+many types of images.
+
+%prep
+%setup -q
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README*
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*.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  2010/05/17 15:15:48  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list