[unar] Preserve the timestamps. Use %_mandir macro. Update the homepage URL as googlecode has closed it dow

Christopher Meng cicku at fedoraproject.org
Mon Feb 24 05:40:09 UTC 2014


commit fca141fde397b5978bc595503935d9f8a34fc568
Author: Christopher Meng <i at cicku.me>
Date:   Mon Feb 24 13:39:56 2014 +0800

    Preserve the timestamps.
    Use %_mandir macro.
    Update the homepage URL as googlecode has closed it download section, we need to track the updates more carefully.

 unar.spec |   17 ++++++++---------
 1 files changed, 8 insertions(+), 9 deletions(-)
---
diff --git a/unar.spec b/unar.spec
index 0a31c94..91239e3 100644
--- a/unar.spec
+++ b/unar.spec
@@ -4,13 +4,13 @@ Release:        2%{dist}
 Summary:        Multi-format extractor
 License:        LGPLv2+
 Group:          Applications/Archiving
-URL:            http://code.google.com/p/theunarchiver/
+URL:            http://unarchiver.c3.cx/unarchiver/
 Source0:        http://theunarchiver.googlecode.com/files/unar%{version}_src.zip
+BuildRequires:  bzip2-devel
 BuildRequires:  gcc-objc
 BuildRequires:  gnustep-base-devel
 BuildRequires:  libicu-devel
 BuildRequires:  zlib-devel
-BuildRequires:  bzip2-devel
 
 %description
 The command-line utilities lsar and unar are capable of listing and extracting
@@ -29,21 +29,20 @@ export OBJCFLAGS=`gnustep-config --objc-flags`
 make -C XADMaster -f Makefile.linux
 
 %install
-
 install -d %{buildroot}%{_bindir}
-install -m755 XADMaster/unar XADMaster/lsar %{buildroot}%{_bindir}
-install -d %{buildroot}%{_datadir}/man/man1
-install -m644 Extra/*.1 %{buildroot}%{_datadir}/man/man1
+install -pm755 XADMaster/unar XADMaster/lsar %{buildroot}%{_bindir}
+install -d %{buildroot}%{_mandir}/man1
+install -pm644 Extra/*.1 %{buildroot}%{_mandir}/man1
 
 install -d %{buildroot}%{_datadir}/bash-completion/completions
-install -m644 Extra/lsar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/lsar
-install -m644 Extra/unar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/unar
+install -pm644 Extra/lsar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/lsar
+install -pm644 Extra/unar.bash_completion %{buildroot}%{_datadir}/bash-completion/completions/unar
 
 %files
 %doc License.txt
 %{_bindir}/lsar
 %{_bindir}/unar
-%{_datadir}/man/man1/*
+%{_mandir}/man1/*.1*
 %{_datadir}/bash-completion/
 
 %changelog


More information about the scm-commits mailing list