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