]>
Commit | Line | Data |
---|---|---|
c71f9263 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with bzip2 # bzip2 compression | |
4 | # | |
3ef5e9f1 JB |
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 | |
6194b6c8 | 7 | Name: advancecomp |
17fb1491 | 8 | Version: 1.23 |
6194b6c8 | 9 | Release: 1 |
17fb1491 | 10 | License: GPL v3+ |
3ef5e9f1 | 11 | Group: Applications/File |
c71f9263 | 12 | Source0: http://downloads.sourceforge.net/advancemame/%{name}-%{version}.tar.gz |
17fb1491 JB |
13 | # Source0-md5: 39a205f0ba1baa26550fccc6405a6b45 |
14 | Patch0: %{name}-system-libs.patch | |
6194b6c8 | 15 | URL: http://advancemame.sourceforge.net/comp-readme.html |
17fb1491 JB |
16 | BuildRequires: autoconf >= 2.65 |
17 | BuildRequires: automake | |
c71f9263 | 18 | %{?with_bzip2:BuildRequires: bzip2-devel} |
17fb1491 | 19 | BuildRequires: libdeflate-devel |
c71f9263 | 20 | BuildRequires: libstdc++-devel |
6194b6c8 | 21 | BuildRequires: zlib-devel |
17fb1491 | 22 | BuildRequires: zopfli-devel |
6194b6c8 | 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 | |
3ef5e9f1 JB |
38 | AdvanceCOMP jest kolekcją narzędzi rekompresujących archiwa ZIP, |
39 | obrazy PNG, pliki wideo MNG i pliki gz. | |
6194b6c8 | 40 | |
3ef5e9f1 | 41 | Ich głównym zastosowaniem jest rekompresja kolekcji ROM-ów, |
6194b6c8 | 42 | zrzutów ekranu i urywków wideo emulowanych gier. |
43 | ||
44 | Głównymi cechami są: | |
3ef5e9f1 | 45 | - Rekompresja plików ZIP, gz, PNG i MNG za pomocą implementacji |
6194b6c8 | 46 | kompresji deflate z 7-Zipa. |
3ef5e9f1 | 47 | - Rekompresja plików MNG z użyciem optymalizacji delta i move. |
6194b6c8 | 48 | |
49 | %prep | |
50 | %setup -q | |
17fb1491 | 51 | %patch0 -p1 |
6194b6c8 | 52 | |
53 | %build | |
17fb1491 JB |
54 | %{__aclocal} |
55 | %{__autoconf} | |
56 | %{__autoheader} | |
57 | %{__automake} | |
c71f9263 JB |
58 | %configure \ |
59 | %{?with_bzip2:--enable-bzip2} | |
6194b6c8 | 60 | %{__make} |
61 | ||
62 | %install | |
63 | rm -rf $RPM_BUILD_ROOT | |
3ef5e9f1 JB |
64 | |
65 | %{__make} install \ | |
66 | DESTDIR=$RPM_BUILD_ROOT | |
6194b6c8 | 67 | |
68 | %clean | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
71 | %files | |
72 | %defattr(644,root,root,755) | |
73 | %doc AUTHORS HISTORY README | |
c71f9263 JB |
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* |