bdcf52
Name:           xarchiver
Mike DePaulo 461bd3
Version:        0.5.4.14
769c47
Release:        4%{?dist}
bdcf52
Summary:        Archive manager for Xfce
bdcf52
6d253f
License:        GPLv2+
Mike DePaulo 461bd3
URL:            https://github.com/ib/xarchiver
Mike DePaulo 461bd3
Source0:        https://github.com/ib/xarchiver/archive/%{version}.tar.gz
Mike DePaulo 8f1401
#               master branch patch to enable building on RHEL7
Mike DePaulo 8f1401
#               https://github.com/ib/xarchiver/commit/cd3f297e7f6a760b9c81cff0c3eb9b6fdee05526
Mike DePaulo 8f1401
Patch1:         0001-Update-GNU-Build-System.patch
Jaromir Capik 9bcbb0
bdcf52
BuildRequires:  gtk2-devel, libxml2-devel, gettext, desktop-file-utils
0ffeda
BuildRequires:  xfce4-dev-tools >= 4.3.90.2
Jaromir Capik 819755
BuildRequires:  autoconf >= 2.69
Jaromir Capik 819755
BuildRequires:  libtool
Jaromir Capik 819755
BuildRequires:  automake
Jaromir Capik 819755
BuildRequires:  intltool
Jaromir Capik 819755
Mike DePaulo 461bd3
# Using Debian's list of recommendations vs suggestions:
Mike DePaulo 461bd3
# https://salsa.debian.org/debian/xarchiver/blob/master/debian/control
Mike DePaulo 461bd3
%if 0%{?rhel} && 0%{?rhel} < 8
86a128
Requires:       arj, binutils, bzip2, cpio, gzip, xdg-utils, tar, unzip, zip
Mike DePaulo 461bd3
%else
Mike DePaulo 461bd3
Recommends:     bzip2, p7zip-plugins, unzip, xdg-utils, xz
Mike DePaulo 461bd3
Suggests:       arj, binutils, cpio, lz4, lzop, ncompress, unar, zstd, zip
Mike DePaulo 461bd3
%endif
bdcf52
bdcf52
%description
Jaromir Capik 819755
Xarchiver is a lightweight GTK2 only frontend for manipulating 7z, arj, bzip2,
Jaromir Capik 819755
gzip, iso, rar, lha, tar, zip, RPM and deb files. It allows you to create
Jaromir Capik 819755
archives and add, extract, and delete files from them. Password protected
bdcf52
archives in the arj, 7z, rar, and zip formats are supported.
bdcf52
bdcf52
bdcf52
%prep
Mike DePaulo 8f1401
%autosetup -p1
bdcf52
bdcf52
%build
Mike DePaulo 461bd3
./autogen.sh
bdcf52
%configure
Mike DePaulo 461bd3
%make_build
bdcf52
bdcf52
%install
65f330
make install DESTDIR=%{buildroot} INSTALL="install -p"
bdcf52
Mike DePaulo 461bd3
%if 0%{?rhel} && 0%{?rhel} < 7
65f330
# On Fedora < 19 we need to install file-roller.tap as gnome-file-roller.tap,
65f330
# because the name # has to match the basename of the desktop-file in
65f330
# %%{_datadir}/applications.
65f330
rm %{buildroot}%{_libexecdir}/thunar-archive-plugin/xarchiver.tap
bdcf52
install -p -m 755 xarchiver.tap \
65f330
   %{buildroot}%{_libexecdir}/thunar-archive-plugin/fedora-xarchiver.tap
65f330
%endif
bdcf52
bdcf52
%find_lang %{name}
Mike DePaulo 461bd3
%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
65f330
desktop-file-install --delete-original \
65f330
    --dir %{buildroot}%{_datadir}/applications \
65f330
    --vendor fedora \
65f330
    %{buildroot}%{_datadir}/applications/%{name}.desktop
Mike DePaulo 461bd3
%else
Mike DePaulo 461bd3
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
Mike DePaulo 461bd3
%endif
bdcf52
05b96a
# remove duplicate docs
Mike DePaulo 461bd3
rm %{buildroot}%{_docdir}/%{name}/{COPYING,ChangeLog,README}
05b96a
bdcf52
%files -f %{name}.lang
Mike DePaulo 461bd3
%doc COPYING ChangeLog README
7d1241
%doc %{_docdir}/%{name}/
bdcf52
%{_bindir}/%{name}
65f330
%{_datadir}/applications/*%{name}.desktop
65f330
%{_datadir}/icons/hicolor/*/*/*
65f330
%{_datadir}/pixmaps/%{name}/
65f330
%{_libexecdir}/thunar-archive-plugin/
Mike DePaulo 461bd3
%{_mandir}/man1/%{name}.1*
bdcf52
bdcf52
bdcf52
%changelog
769c47
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4.14-4
769c47
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
769c47
7c5c20
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4.14-3
7c5c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
7c5c20
Mike DePaulo 8f1401
* Mon Oct 14 2019 Mike DePaulo <mikedep333@gmail.com> - 0.5.4.14-2
Mike DePaulo 8f1401
- Add an upstream patch to fix RHEL7 builds
Mike DePaulo 8f1401
Mike DePaulo 461bd3
* Fri Oct 11 2019 Mike DePaulo <mikedep333@gmail.com> - 0.5.4.14-1
Mike DePaulo 461bd3
- Update to 0.5.4.14
Mike DePaulo 461bd3
- New upstream - now on GitHub
Mike DePaulo 461bd3
- Use weak dependencies, and refresh the list of them for archiving commands.
Mike DePaulo 461bd3
889aaa
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-11
889aaa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
889aaa
46773e
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-10
46773e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
46773e
97263b
* Thu Oct 04 2018 Niels de Vos <devos@fedoraproject.org> - 0.5.4-9
97263b
- prevent segfault on certain drag-and-drop actions (#1635869)
97263b
bc26d7
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-8
bc26d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
bc26d7
29b719
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-7
29b719
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
29b719
f788a4
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-6
f788a4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f788a4
0c3f60
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-5
0c3f60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
0c3f60
a3fbf6
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-4
a3fbf6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
a3fbf6
4c053e
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-3
4c053e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
4c053e
36acda
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.4-2
36acda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
36acda
Jaromir Capik efba23
* Tue Mar 31 2015 Jaromir Capik <jcapik@redhat.com> - 0.5.4-1
Jaromir Capik efba23
- Update to 0.5.4 (#1147466)
Jaromir Capik efba23
4add54
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.5.2-22
4add54
- Rebuilt for Fedora 23 Change
4add54
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
4add54
fe18ac
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-21
fe18ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
fe18ac
db5067
* Thu Jun 19 2014 Yaakov Selkowitz <yselkowi@redhat.com> - 0.5.2-20
db5067
- Fix FTBFS with -Werror=format-security (#1037390, #1107209)
db5067
910826
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-19
910826
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
910826
87e4d6
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-18
87e4d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
87e4d6
65f330
* Fri May 10 2013 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-17
65f330
- Fix thunar-archive-plugin integration (#961626)
65f330
- Conditionalize vendor tag
65f330
Jaromir Capik 819755
* Thu Apr 04 2013 Jaromir Capik <jcapik@redhat.com> - 0.5.2-16
Jaromir Capik 819755
- aarch64 support (#926742)
Jaromir Capik 819755
- fixing bogus date in the changelog
Jaromir Capik 819755
Parag Nemade 82c11b
* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.5.2-15
Parag Nemade 82c11b
- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
Parag Nemade 82c11b
- Cleanup spec as per recently changed packaging guidelines
Parag Nemade 82c11b
70a796
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-14
70a796
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
70a796
Jaromir Capik 9bcbb0
* Thu Jan 26 2012 Jaromir Capik <jcapik@redhat.com> - 0.5.2-13
Jaromir Capik 9bcbb0
- Fix extraction failures when the Drag'n'Drop target path contains spaces (#784075)
Jaromir Capik 9bcbb0
e40cf8
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-12
e40cf8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
e40cf8
d796cf
* Tue Dec 06 2011 Adam Jackson <ajax@redhat.com> - 0.5.2-11
d796cf
- Rebuild for new libpng
d796cf
5e8f4b
* Sun Jun 19 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-10
5e8f4b
- Fix xz MIME types
5e8f4b
b19f69
* Sat Jun 11 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-9
b19f69
- Fix xz support. A big thanks to Daniel Hokka Zakrisson (#577480)
b19f69
349398
* Thu Jun 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-8
349398
- Fix 7zip. Encrypted archives are still not supported.
349398
35b346
* Thu Jun 02 2011 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-7
349398
- Add xz support. Thanks to Robby Workman and Daniel Hokka Zakrisson (#577480)
35b346
- Remove mime-type multipart/x-zip (#666066)
349398
- Fix crash in IA__gtk_tree_model_get_valist. Thanks to Bastiaan Jacques (#690012)
35b346
- Update icon-cache scriptlets
35b346
bd889b
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-6
bd889b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
bd889b
fa817e
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-5
fa817e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
fa817e
d7b070
* Sun Mar 22 2009 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-4
d7b070
- Gui fixes (#491115)
d7b070
a75951
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-3
a75951
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a75951
7d1241
* Tue Nov 25 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-2
7d1241
- Include HTML documentation
7d1241
05b96a
* Tue Nov 25 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.2-1
05b96a
- Update to 0.5.2
05b96a
05b96a
* Sun Nov 09 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.1-1
05b96a
- Update to 0.5.1 stable release
05b96a
05b96a
* Sun Oct 26 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.rc1
05b96a
- Update to 0.5.0rc1
05b96a
- Fix crash when opening zipped PDF files (#467619)
05b96a
- Update gtk-icon-cache scriptlets
05b96a
05b96a
* Sat Oct 11 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.beta2
05b96a
- Update to 0.5.0beta2
05b96a
05b96a
* Sun Aug 31 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.5.0-0.1.beta1
05b96a
- Update to 0.5.0beta1
05b96a
- Remove xdg-open.patch as xarchiver now uses xdg-open by default
05b96a
05b96a
* Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.6.20070103svn24249
75994e
- Remove additional mime-types from desktop-file-install to make sure we don't break livecds
75994e
05b96a
* Fri Mar 14 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.5.20070103svn24249
075c45
- Use xdg-open instead of htmlview (#437554)
86a128
84ff5f
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.4.9-0.4.20070103svn24249
84ff5f
- Autorebuild for GCC 4.3
84ff5f
05b96a
* Tue Aug 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.3.20070103svn24249
6d253f
- Rebuild for BuildID feature
6d253f
- Update license tag
6d253f
05b96a
* Fri Mar 02 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.2.20070103svn24249
1c78e2
- Downgrade to SVN release 24249 in order to fix #230154 temporarily.
1c78e2
05b96a
* Sun Jan 28 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20070128svn24772
1c78e2
- Update to SVN release 24772 of January 28th 2007.
f7e81e
05b96a
* Wed Jan 03 2007 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20070103svn
0ffeda
- Update to SVN r24249 of January 3rd 2007.
0ffeda
- Add mimetype application/x-deb again since opening of debs now is secure.
0ffeda
05b96a
* Wed Dec 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.9-0.1.20061213svn
bdcf52
- Update to SVN r24096 of December 13th 2006.
bdcf52
05b96a
* Wed Dec 06 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-3
bdcf52
- Add deb.patch to prevent opening of .a files as debs.
bdcf52
- Don't add mimetype for x-ar (archiver can't handle ar archive).
bdcf52
05b96a
* Wed Nov 29 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-2
bdcf52
- Add htmlview.patch.
bdcf52
05b96a
* Tue Nov 28 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.6-1
bdcf52
- Update to 0.4.6.
0ffeda
- Update %%description.
bdcf52
- Require binutils, cpio and htmlview.
bdcf52
- Add mimetypes application/x-ar, application/x-cd-image and application/x-deb.
bdcf52
Jaromir Capik 819755
* Mon Nov 27 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.4-1
bdcf52
- Update to 0.4.4.
bdcf52
05b96a
* Sat Nov 25 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.3.rc2
bdcf52
- Install xarchiver.png also in %%{_datadir}/icons/hicolor/48x48/apps/.
bdcf52
05b96a
* Sat Nov 25 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.2.rc2
bdcf52
- Drop subpackage and own %%{_libexecdir}/thunar-archive-plugin/ (#198098).
bdcf52
05b96a
* Sun Nov 12 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.2-0.1.rc2
bdcf52
- Update to 0.4.2.RC2.
bdcf52
05b96a
* Wed Sep 13 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.4.0-1
bdcf52
- Update to 0.4.0.
bdcf52
05b96a
* Tue Sep 05 2006 Christoph Wickert <cwickert@fedoraproject.org> - 0.3.9.2-0.beta2
bdcf52
- Initial package.