unrar/unrar.spec

Name: unrar
Summary: Extract, test and view RAR archives
Version: 5.0.3
Release: 1
License: Freeware
Group: Applications/Archiving
URL: http://www.rarlab.com/
Description: The unRAR utility is a freeware program, distributed with source code and developed for extracting, testing and viewing the contents of archives created with the RAR archiver version 1.50 and above.

CentOS 7 x86_64

The build was succesful. The following RPMs were generated:

Build Status

CentOS 6 x86_64

The build was succesful. The following RPMs were generated:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: matthias
# Upstream: <dev$rarlab,com>

Summary: Extract, test and view RAR archives
Name: unrar
Version: 5.0.3
Release: 1%{?dist}
License: Freeware
Group: Applications/Archiving
URL: http://www.rarlab.com/

Source0: http://www.rarlab.com/rar/unrarsrc-%{version}.tar.gz
Source1: unrar.1
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires: gcc-c++

%description
The unRAR utility is a freeware program, distributed with source code
and developed for extracting, testing and viewing the contents of
archives created with the RAR archiver version 1.50 and above.

%prep
%setup -q -n %{name}
### Remove stripping to get useful debuginfo package
#%{__perl} -pi -e 's|^STRIP=.*|STRIP=true|g' makefile.unix

%build
%{__make} %{?_smp_mflags} CXXFLAGS="%{optflags}"

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 unrar %{buildroot}%{_bindir}/unrar
%{__install} -Dp -m0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/unrar.1

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc *.txt
%doc %{_mandir}/man1/unrar.1*
%{_bindir}/unrar

%changelog
* Thu May 16 2013 David Hrbáč <david@hrbac.cz> - 5.0.3-1
- new upstream release

* Tue May 07 2013 David Hrbáč <david@hrbac.cz> - 5.0.2-1
- new upstream release

* Thu Jun 14 2012 David Hrbáč <david@hrbac.cz> - 4.2.4-1
- new upstream release

* Mon May 28 2012 David Hrbáč <david@hrbac.cz> - 4.2.3-1
- new upstream release

* Tue May 22 2012 David Hrbáč <david@hrbac.cz> - 4.2.2-1
- new upstream release

* Fri May 04 2012 David Hrbáč <david@hrbac.cz> - 4.2.1-1
- new upstream release

* Fri Jan 20 2012 David Hrbáč <david@hrbac.cz> - 4.1.4-1
- new upstream release

* Mon Jan 09 2012 David Hrbáč <david@hrbac.cz> - 4.1.3-1
- new upstream release

* Fri Mar 11 2011 David Hrbáč <david@hrbac.cz> - 4.0.7-1
- new upstream release

* Tue Feb 08 2011 David Hrbáč <david@hrbac.cz> - 4.0.6-1
- new upstream release

* Sun Jan 30 2011 David Hrbáč <david@hrbac.cz> - 4.0.5-1
- new upstream release

* Wed Jan 05 2011 David Hrbáč <david@hrbac.cz> - 4.0.4-1
- new upstream release

* Sun Dec 19 2010 David Hrbáč <david@hrbac.cz> - 4.0.3-1
- new upstream release

* Mon Nov 29 2010 David Hrbáč <david@hrbac.cz> - 4.0.2-1
- new upstream release

* Mon Nov 15 2010 David Hrbáč <david@hrbac.cz> - 4.0.1-1
- new upstream release

* Tue Sep 07 2010 David Hrbáč <david@hrbac.cz> - 3.9.10-1
- new upstream release

* Tue Jul 14 2009 Dag Wieers <dag@wieers.com> - 3.9.4-1
- Updated to release 3.9.4.

* Tue Jul 15 2008 Dries Verachtert <dries@ulyssis.org> - 3.8.2-1
- Updated to release 3.8.2.

* Tue Apr  1 2008 Matthias Saou <http://freshrpms.net/> 3.7.8-1
- Update to 3.7.8.

* Wed Mar  7 2007 Matthias Saou <http://freshrpms.net/> 3.7.4-1
- Update to 3.7.4.

* Thu Sep 14 2006 Matthias Saou <http://freshrpms.net/> 3.6.8-1
- Update to 3.6.8.

* Wed Apr 19 2006 Matthias Saou <http://freshrpms.net/> 3.6.2-1
- Update to 3.6.2.

* Fri Mar 17 2006 Matthias Saou <http://freshrpms.net/> 3.5.4-2
- Release bump to drop the disttag number in FC5 build.

* Fri Oct 14 2005 Matthias Saou <http://freshrpms.net/> 3.5.4-1
- Update to 3.5.4.

* Sun Jun  5 2005 Matthias Saou <http://freshrpms.net/> 3.5.2-1
- Update to 3.5.2.
- Disable stripping to get useful debuginfo package.

* Mon Apr  4 2005 Matthias Saou <http://freshrpms.net/> 3.5.1-1
- Update to 3.5.1.

* Tue Nov  2 2004 Matthias Saou <http://freshrpms.net/> 3.4.3-1
- Update to 3.4.3.

* Thu Feb 26 2004 Matthias Saou <http://freshrpms.net/> 3.3.6-1
- Update to 3.3.6.

* Mon Jan 19 2004 Matthias Saou <http://freshrpms.net/> 3.3.4-1
- Update to 3.3.4.

* Fri Nov  7 2003 Matthias Saou <http://freshrpms.net/> 3.2.3-1
- Update to 3.2.3.
- Rebuild for Fedora Core 1.

* Wed May 14 2003 Matthias Saou <http://freshrpms.net/>
- Update to 3.2.1.
- Added missing URL.

* Mon Mar 31 2003 Matthias Saou <http://freshrpms.net/>
- Update to 3.2.0.
- Rebuilt for Red Hat Linux 9.

* Mon Jan 13 2003 Matthias Saou <http://freshrpms.net/>
- Update to 3.1.3.

* Thu Oct 10 2002 Matthias Saou <http://freshrpms.net/>
- Spec file cleanup.

* Sat Oct  5 2002 Ville Skyttä <ville.skytta at iki.fi> 3.00-2cr
- Rebuild for Red Hat 8.0, using the compat GCC.

* Tue Sep 17 2002 Ville Skyttä <ville.skytta at iki.fi> 3.00-1cr
- RedHatified PLD version.