summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Bogusz2016-12-18 17:47:45 (GMT)
committerJakub Bogusz2016-12-18 17:47:45 (GMT)
commitc71f9263d9a3417b27d8d2861c6bc92b774fd1cc (patch)
treef59bda5367859859d2eda29ed8f5f233ad61be04
parent3ef5e9f1b329af950388160bcf5bf1d45b64ed09 (diff)
downloadadvancecomp-c71f9263d9a3417b27d8d2861c6bc92b774fd1cc.zip
advancecomp-c71f9263d9a3417b27d8d2861c6bc92b774fd1cc.tar.gz
- verbose bin,man files, completed BRs
-rw-r--r--advancecomp.spec23
1 files changed, 18 insertions, 5 deletions
diff --git a/advancecomp.spec b/advancecomp.spec
index ea9f625..92ccfbe 100644
--- a/advancecomp.spec
+++ b/advancecomp.spec
@@ -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*