]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # Conditional build: | |
3 | %bcond_with bzip2 # bzip2 compression | |
4 | # | |
5 | Summary: Recompression utilities for .ZIP archives, .PNG snapshots, .MNG video clips and .gz files | |
6 | Summary(pl.UTF-8): Narzędzia rekompresujące pliki ZIP, PNG, MNG, gz | |
7 | Name: advancecomp | |
8 | Version: 1.23 | |
9 | Release: 1 | |
10 | License: GPL v3+ | |
11 | Group: Applications/File | |
12 | Source0: http://downloads.sourceforge.net/advancemame/%{name}-%{version}.tar.gz | |
13 | # Source0-md5: 39a205f0ba1baa26550fccc6405a6b45 | |
14 | Patch0: %{name}-system-libs.patch | |
15 | URL: http://advancemame.sourceforge.net/comp-readme.html | |
16 | BuildRequires: autoconf >= 2.65 | |
17 | BuildRequires: automake | |
18 | %{?with_bzip2:BuildRequires: bzip2-devel} | |
19 | BuildRequires: libdeflate-devel | |
20 | BuildRequires: libstdc++-devel | |
21 | BuildRequires: zlib-devel | |
22 | BuildRequires: zopfli-devel | |
23 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
24 | ||
25 | %description | |
26 | AdvanceCOMP is a collection of recompression utilities for your .ZIP | |
27 | archives, .PNG snapshots, .MNG video clips and .GZ files. | |
28 | ||
29 | It's mainly intended for recompressing your rom, snapshot and clip | |
30 | collection of emulated games. | |
31 | ||
32 | The main features are: | |
33 | - Recompress ZIP, GZ, PNG and MNG files using the Deflate 7-Zip | |
34 | implementation. | |
35 | - Recompress MNG files using Delta and Move optimization. | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | AdvanceCOMP jest kolekcją narzędzi rekompresujących archiwa ZIP, | |
39 | obrazy PNG, pliki wideo MNG i pliki gz. | |
40 | ||
41 | Ich głównym zastosowaniem jest rekompresja kolekcji ROM-ów, | |
42 | zrzutów ekranu i urywków wideo emulowanych gier. | |
43 | ||
44 | Głównymi cechami są: | |
45 | - Rekompresja plików ZIP, gz, PNG i MNG za pomocą implementacji | |
46 | kompresji deflate z 7-Zipa. | |
47 | - Rekompresja plików MNG z użyciem optymalizacji delta i move. | |
48 | ||
49 | %prep | |
50 | %setup -q | |
51 | %patch0 -p1 | |
52 | ||
53 | %build | |
54 | %{__aclocal} | |
55 | %{__autoconf} | |
56 | %{__autoheader} | |
57 | %{__automake} | |
58 | %configure \ | |
59 | %{?with_bzip2:--enable-bzip2} | |
60 | %{__make} | |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
64 | ||
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
67 | ||
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS HISTORY README | |
74 | %attr(755,root,root) %{_bindir}/advdef | |
75 | %attr(755,root,root) %{_bindir}/advmng | |
76 | %attr(755,root,root) %{_bindir}/advpng | |
77 | %attr(755,root,root) %{_bindir}/advzip | |
78 | %{_mandir}/man1/advdef.1* | |
79 | %{_mandir}/man1/advmng.1* | |
80 | %{_mandir}/man1/advpng.1* | |
81 | %{_mandir}/man1/advzip.1* |