|
|
|
|
Summary: Archiver for .arj files
|
|
|
|
|
Name: arj
|
|
|
|
|
Version: 3.10.22
|
|
|
|
|
Release: 18%{?dist}
|
|
|
|
|
License: GPL+
|
|
|
|
|
Group: Applications/Archiving
|
|
|
|
|
URL: http://arj.sourceforge.net/
|
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
|
|
|
|
|
# unarj.* from Debian
|
|
|
|
|
Source1: unarj.sh
|
|
|
|
|
Source2: unarj.1
|
|
|
|
|
Patch0: arj-3.10.22-arches_align.patch
|
|
|
|
|
Patch1: arj-3.10.22-no_remove_static_const.patch
|
|
|
|
|
Patch2: arj-3.10.22-64_bit_clean.patch
|
|
|
|
|
Patch3: arj-3.10.22-parallel_build.patch
|
|
|
|
|
Patch4: arj-3.10.22-use_safe_strcpy.patch
|
|
|
|
|
Patch5: arj-3.10.22-doc_refer_robert_k_jung.patch
|
|
|
|
|
Patch6: arj-3.10.22-security_format.patch
|
|
|
|
|
Patch7: arj-3.10.22-missing-protos.patch
|
|
|
|
|
Patch8: arj-3.10.22-custom-printf.patch
|
|
|
|
|
# Filed into upstream bugtracker as https://sourceforge.net/tracker/?func=detail&aid=2853421&group_id=49820&atid=457566
|
|
|
|
|
Patch9: arj-3.10.22-quotes.patch
|
|
|
|
|
BuildRequires: autoconf
|
|
|
|
|
Provides: unarj = %{version}-%{release}
|
|
|
|
|
Obsoletes: unarj < 3
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
This package is an open source version of the arj archiver. It has
|
|
|
|
|
been created with the intent to preserve maximum compatibility and
|
|
|
|
|
retain the feature set of original ARJ archiver as provided by ARJ
|
|
|
|
|
Software, Inc.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
|
|
|
|
%patch0 -p1
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
%patch2 -p1
|
|
|
|
|
%patch3 -p1
|
|
|
|
|
%patch4 -p1
|
|
|
|
|
%patch5 -p1
|
|
|
|
|
%patch6 -p1
|
|
|
|
|
%patch7 -p1
|
|
|
|
|
%patch8 -p1
|
|
|
|
|
%patch9 -p1
|
|
|
|
|
|
|
|
|
|
pushd gnu
|
|
|
|
|
autoconf
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
pushd gnu
|
|
|
|
|
%configure
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
# Disable binary strippings
|
|
|
|
|
make %{?_smp_mflags} ADD_LDFLAGS=""
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
|
|
|
|
|
|
|
|
|
install -D -p -m 644 resource/rearj.cfg.example $RPM_BUILD_ROOT%{_sysconfdir}/rearj.cfg
|
|
|
|
|
install -p -m 755 %{SOURCE1} $RPM_BUILD_ROOT%{_bindir}/unarj
|
|
|
|
|
install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/man1/unarj.1
|
|
|
|
|
|
|
|
|
|
# remove the register remainders of arj's sharewares time
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_bindir}/arj-register
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_mandir}/man1/arj-register.1*
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
|
%doc ChangeLog* doc/COPYING doc/rev_hist.txt
|
|
|
|
|
%config(noreplace) %{_sysconfdir}/rearj.cfg
|
|
|
|
|
%{_bindir}/*arj*
|
|
|
|
|
%{_libdir}/arj/
|
|
|
|
|
%{_mandir}/man1/*arj*1.*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Oct 20 2013 Robert Scheck <robert@fedoraproject.org> 3.10.22-18
|
|
|
|
|
- Replaced compressed Debian patch file by regular patches
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-17
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-15
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-14
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-13
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Mar 28 2010 Robert Scheck <robert@fedoraproject.org> 3.10.22-12
|
|
|
|
|
- Re-enable parallel builds again now that quoting is fixed
|
|
|
|
|
|
|
|
|
|
* Sun Sep 6 2009 Milos Jakubicek <xjakub@fi.muni.cz> 3.10.22-11
|
|
|
|
|
- Fix FTBFS: added arj-3.10.22-quotes.patch
|
|
|
|
|
|
|
|
|
|
* Wed Aug 19 2009 Robert Scheck <robert@fedoraproject.org> 3.10.22-10
|
|
|
|
|
- Disabled the even with patches broken parallel builds again
|
|
|
|
|
|
|
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10.22-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sat Apr 18 2009 Robert Scheck <robert@fedoraproject.org> 3.10.22-8
|
|
|
|
|
- Added patch to disable the custom printf to avoid conflicting
|
|
|
|
|
strnlen definition with glibc headers (thanks to Lubomir Rintel)
|
|
|
|
|
|
|
|
|
|
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 3.10.22-7
|
|
|
|
|
- Rebuild against gcc 4.4 and rpm 4.6
|
|
|
|
|
|
|
|
|
|
* Mon Sep 08 2008 Robert Scheck <robert@fedoraproject.org> 3.10.22-6
|
|
|
|
|
- Added patch to refer to original author in the manual page
|
|
|
|
|
- Added patch to support parallel builds in upstream Makefile
|
|
|
|
|
|
|
|
|
|
* Sat Aug 30 2008 Robert Scheck <robert@fedoraproject.org> 3.10.22-5
|
|
|
|
|
- Corrected from %%patch to %%patch0 to make rpm > 4.4 happy
|
|
|
|
|
|
|
|
|
|
* Mon Mar 31 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 3.10.22-4
|
|
|
|
|
- Fix missing prototype compiler warnings
|
|
|
|
|
|
|
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.10.22-3
|
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
|
|
|
|
|
* Fri Aug 3 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 3.10.22-2
|
|
|
|
|
- Update License tag for new Licensing Guidelines compliance
|
|
|
|
|
|
|
|
|
|
* Sat Sep 9 2006 Hans de Goede <j.w.r.degoede@hhs.nl> 3.10.22-1
|
|
|
|
|
- initial FE submission based on a src.rpm by Ville Skyttä
|