]> git.pld-linux.org Git - SPECS.git/blob - pngnq.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / pngnq.spec
1 Summary:        Pngnq is a tool for quantizing PNG images in RGBA format
2 Name:           pngnq
3 Version:        1.1
4 Release:        1
5 License:        BSD with advertising and MIT and BSD
6 Group:          Applications/Multimedia
7 URL:            http://pngnq.sourceforge.net/
8 Source0:        http://downloads.sourceforge.net/pngnq/%{name}-%{version}.tar.gz
9 # Source0-md5:  fdbb94d504931b50c54202b62f98aa44
10 Patch0:         %{name}-includes.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libpng-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 Pngnq is a tool for quantizing PNG images in RGBA format.
18
19 The neuquant algorithm uses a neural network to optimise the color map
20 selection. This is fast and quite accurate, giving good results on
21 many types of images.
22
23 %prep
24 %setup -q
25 %patch0 -p1
26
27 %build
28 %{__aclocal}
29 %{__autoconf}
30 %{__automake}
31 %configure
32 %{__make}
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %{__make} install \
37         DESTDIR=$RPM_BUILD_ROOT
38
39 %clean
40 rm -rf $RPM_BUILD_ROOT
41
42 %files
43 %defattr(644,root,root,755)
44 %doc COPYING README*
45 %attr(755,root,root) %{_bindir}/*
46 %{_mandir}/man1/*.1*
This page took 0.64951 seconds and 3 git commands to generate.