[packages/apngopt] - new

qboosh qboosh at pld-linux.org
Wed May 10 17:28:18 CEST 2017


commit 94fc19d9313ef74d71506f63cf9863070b76e4f8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Wed May 10 17:28:52 2017 +0200

    - new

 apngopt.spec | 45 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 45 insertions(+)
---
diff --git a/apngopt.spec b/apngopt.spec
new file mode 100644
index 0000000..c13a060
--- /dev/null
+++ b/apngopt.spec
@@ -0,0 +1,45 @@
+Summary:	APNG Optimizer
+Summary(pl.UTF-8):	Optymalizator plików APNG
+Name:		apngopt
+Version:	1.4
+Release:	1
+License:	Zlib (BSD-like)
+Group:		Applications/Graphics
+Source0:	http://downloads.sourceforge.net/apng/%{name}-%{version}-src.zip
+# Source0-md5:	cb214b0b30b9b89ac25f41fb84ca5559
+URL:		https://sourceforge.net/projects/apng/
+BuildRequires:	advancecomp-7z-devel
+BuildRequires:	libpng-devel >= 2:1.6.17
+BuildRequires:	libstdc++-devel
+BuildRequires:	zlib-devel >= 1.2.8
+BuildRequires:	zopfli-devel
+Requires:	libpng >= 2:1.6.17
+Requires:	zlib >= 1.2.8
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+APNG Optimizer makes APNG files smaller.
+
+%description -l pl.UTF-8
+APNG Optimizer zmniejsza pliki APNG.
+
+%prep
+%setup -q -c
+
+%build
+%{__cxx} %{rpmldflags} %{rpmcxxflags} %{rpmcppflags} -Wall -o apngopt apngopt.cpp \
+	-I/usr/include/adv7z \
+	-lpng -ladv7z -lzopfli -lz -lm
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D apngopt $RPM_BUILD_ROOT%{_bindir}/apngopt
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%attr(755,root,root) %{_bindir}/apngopt
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/apngopt.git/commitdiff/94fc19d9313ef74d71506f63cf9863070b76e4f8



More information about the pld-cvs-commit mailing list