diff --git a/README.md b/README.md index 146e427..7ff6b91 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # unrar +Unrar can extract files from .rar archives. +If you want to create .rar archives, install package rar. + diff --git a/unrar-5.0.14-man.patch b/unrar-5.0.14-man.patch new file mode 100644 index 0000000..9999591 --- /dev/null +++ b/unrar-5.0.14-man.patch @@ -0,0 +1,102 @@ +diff -ruN unrar/unrar.1 unrar-debian/unrar.1 +--- unrar/unrar.1 1970-01-01 01:00:00.000000000 +0100 ++++ unrar-debian/unrar.1 2006-09-19 17:14:37.000000000 +0200 +@@ -0,0 +1,98 @@ ++.TH UNRAR 1 02.11.1999 "" "RAR archiver" ++.SH NAME ++unrar \- extract files from rar archives ++.SH SYNOPSIS ++.B unrar ++.I " [- -] archive [files...] [path\...]" ++.SH "DESCRIPTION" ++This manual page documents briefly the ++.BR unrar ++command. ++.br ++This manual page was written for the Debian GNU/Linux distribution ++because the original program does not have a manual page. ++.br ++Commands and options described here are as of unrar 2.02. ++.SH OPTIONS ++After the program name comes a command and then optional switches with ++dashes before them. ++A summary of commands is included below. ++For a complete description, run ++.BR unrar ++without options. ++.TP ++.B e ++Extract files to current directory. ++.TP ++.B l ++List archive content. ++.TP ++.B p ++Print file to stdout. ++.TP ++.B t ++Test archive files. ++.TP ++.B v ++Verbosely list archive. ++.TP ++.B x ++Extract files with full path. ++.SH SWITCHES ++.BR NOTE: ++Every switch must be separated by a whitespace. You cannot put them ++together. ++.TP ++.B -av- ++Disable AV check. ++.TP ++.B -c- ++Disable comments show. ++.TP ++.B -f ++Freshen files. ++.TP ++.B -kb ++Keep broken extracted files. ++.TP ++.B -ierr ++Send all messages to stderr. ++.TP ++.B -inul ++Disable all messages. ++.TP ++.B -o+ ++Overwrite existing files. ++.TP ++.B -o- ++Do not overwrite existing files. ++.TP ++.B -p ++Set password. ++.TP ++.B -p- ++Do not query password. ++.TP ++.B -r ++Recurse subdirectories. ++.TP ++.B -u ++Update files. ++.TP ++.B -v ++List all volumes. ++.TP ++.B -x ++Exclude specified file. ++.TP ++.B -x@ ++Exclude files in specified list file. ++.TP ++.B -x@ ++Read file names to exclude from stdin. ++.TP ++.B -y ++Assume Yes on all queries. ++.SH AUTHOR ++This manual page was written by Petr Cech according ++to "unrar -h" for the Debian GNU/Linux system (but may be used by others). diff --git a/unrar.spec b/unrar.spec new file mode 100644 index 0000000..420d344 --- /dev/null +++ b/unrar.spec @@ -0,0 +1,89 @@ +Name: unrar +Version: 5.1.5 +Release: 1mamba +Summary: Unrar can extract files from .rar archives +Group: System/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.rarlab.com +Source: http://www.rarlab.com/rar/unrarsrc-%{version}.tar.gz +Patch: %{name}-5.0.14-man.patch +License: no OSI Approved +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Unrar can extract files from .rar archives. +If you want to create .rar archives, install package rar. + +%prep +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%setup -q -n unrar +%patch0 -p1 + +%build +%make CXX=%{_host}-g++ + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}{%{_bindir},%{_mandir}/man1} +install -m 0755 unrar %{buildroot}%{_bindir} +install -m 0644 unrar.1 %{buildroot}%{_mandir}/man1 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_bindir}/unrar +%{_mandir}/man1/* + +%changelog +* Sat May 10 2014 Automatic Build System 5.1.5-1mamba +- automatic version update by autodist + +* Fri Apr 18 2014 Automatic Build System 5.1.2-1mamba +- automatic version update by autodist + +* Sat Mar 15 2014 Automatic Build System 5.0.14-1mamba +- automatic version update by autodist + +* Thu Jan 31 2013 Automatic Build System 4.2.4-1mamba +- update to 4.2.4 + +* Wed Feb 22 2012 Automatic Build System 4.1.4-1mamba +- automatic version update by autodist + +* Thu Dec 30 2010 Automatic Build System 4.0.3-1mamba +- automatic update by autodist + +* Sat Dec 18 2010 Automatic Build System 4.0.2-1mamba +- automatic update by autodist + +* Mon Jun 28 2010 Automatic Build System 3.9.10-1mamba +- automatic update by autodist + +* Wed Jan 20 2010 Automatic Build System 3.9.7-1mamba +- automatic update by autodist + +* Thu Oct 01 2009 Automatic Build System 3.9.6-1mamba +- automatic update by autodist + +* Fri Jul 24 2009 Automatic Build System 3.9.5-1mamba +- automatic update by autodist + +* Sun Jun 07 2009 Automatic Build System 3.9.3-1mamba +- automatic update by autodist + +* Mon Jan 05 2009 Silvan Calarco 3.8.5-1mamba +- automatic update by autodist + +* Tue Sep 25 2007 Silvan Calarco 3.7.3-1mamba +- update to 3.7.3 + +* Tue Sep 19 2006 Davide Madrisan 3.5.4-1qilnx +- update to version 3.5.4 by autospec + +* Sun May 16 2004 Silvan Calarco 3.3.6-1qilnx +- first build