]> git.pld-linux.org Git - packages/advancecomp.git/commitdiff
- verbose bin,man files, completed BRs
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Dec 2016 17:47:45 +0000 (18:47 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Sun, 18 Dec 2016 17:47:45 +0000 (18:47 +0100)
advancecomp.spec

index ea9f6256371a5fbb8a46e32888afb0d0430e176b..92ccfbe5160fe162322e5959f18a53a115537605 100644 (file)
@@ -1,13 +1,19 @@
+#
+# Conditional build:
+%bcond_with    bzip2   # bzip2 compression
+#
 Summary:       Recompression utilities for .ZIP archives, .PNG snapshots, .MNG video clips and .gz files
 Summary(pl.UTF-8):     Narzędzia rekompresujące pliki ZIP, PNG, MNG, gz
 Name:          advancecomp
 Version:       1.15
 Release:       1
-License:       GPL
+License:       GPL v2+
 Group:         Applications/File
-Source0:       http://dl.sourceforge.net/advancemame/%{name}-%{version}.tar.gz
+Source0:       http://downloads.sourceforge.net/advancemame/%{name}-%{version}.tar.gz
 # Source0-md5: bb236d8bee6fa473d34108cda1e09076
 URL:           http://advancemame.sourceforge.net/comp-readme.html
+%{?with_bzip2:BuildRequires:   bzip2-devel}
+BuildRequires: libstdc++-devel
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -39,7 +45,8 @@ Głównymi cechami są:
 %setup -q
 
 %build
-%configure
+%configure \
+       %{?with_bzip2:--enable-bzip2}
 %{__make}
 
 %install
@@ -54,5 +61,11 @@ rm -rf $RPM_BUILD_ROOT
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS HISTORY README
-%attr(755,root,root) %{_bindir}/*
-%{_mandir}/man1/*
+%attr(755,root,root) %{_bindir}/advdef
+%attr(755,root,root) %{_bindir}/advmng
+%attr(755,root,root) %{_bindir}/advpng
+%attr(755,root,root) %{_bindir}/advzip
+%{_mandir}/man1/advdef.1*
+%{_mandir}/man1/advmng.1*
+%{_mandir}/man1/advpng.1*
+%{_mandir}/man1/advzip.1*
This page took 0.151757 seconds and 4 git commands to generate.