]>
Commit | Line | Data |
---|---|---|
f973cf10 JB |
1 | Summary: APNG Assembler - create APNG animation from PNG/TGA image sequence |
2 | Summary(pl.UTF-8): APNG Assembler - tworzenie animacji APNG z sekwencji obrazów PNG/TGA | |
3 | Name: apngasm | |
4 | Version: 2.91 | |
5 | Release: 1 | |
6 | License: Zlib (BSD-like) | |
7 | Group: Applications/Graphics | |
8 | Source0: http://downloads.sourceforge.net/apngasm/%{name}-%{version}-src.zip | |
9 | # Source0-md5: 0f914350c4defc58c64c9341d9891b4f | |
10 | URL: http://apngasm.sourceforge.net/ | |
11 | BuildRequires: advancecomp-7z-devel | |
12 | BuildRequires: libpng-devel >= 2:1.6.26 | |
13 | BuildRequires: libstdc++-devel | |
14 | BuildRequires: zlib-devel >= 1.2.8 | |
15 | BuildRequires: zopfli-devel | |
16 | Requires: libpng >= 2:1.6.26 | |
17 | Requires: zlib >= 1.2.8 | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | APNG Assembler creates APNG animation from PNG/TGA image sequence. | |
22 | ||
23 | %description -l pl.UTF-8 | |
24 | APNG Assembler tworzy animacje APNG z sekwencji obrazów PNG/TGA. | |
25 | ||
26 | %prep | |
27 | %setup -q -c | |
28 | ||
29 | %build | |
30 | %{__cxx} %{rpmldflags} %{rpmcxxflags} %{rpmcppflags} -Wall -o apngasm apngasm.cpp image.cpp \ | |
31 | -DFEATURE_7ZIP -DFEATURE_ZOPFLI \ | |
32 | -I/usr/include/adv7z \ | |
33 | -lpng -ladv7z -lzopfli -lz -lm | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | ||
38 | install -D apngasm $RPM_BUILD_ROOT%{_bindir}/apngasm | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc readme.txt | |
46 | %attr(755,root,root) %{_bindir}/apngasm |