%global commit 63dad3ceb7a3d1dc2288a0df6b054a6ea244a8b6 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global date 20220714 %bcond_with snapshot %if %{with snapshot} %global dist .%{date}git%{shortcommit}%{?dist} %endif Name: xarchiver Version: 0.5.4.21 Release: 100%{?dist} Summary: Desktop Environment independent archive manager Epoch: 1 License: GPL-2.0-or-later URL: https://github.com/ib/%{name} %if %{with snapshot} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz %else Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz %endif # Metainfo from Arch Source1: %{name}.appdata.xml BuildRequires: make BuildRequires: desktop-file-utils BuildRequires: docbook-style-xsl BuildRequires: gcc BuildRequires: autoconf >= 2.69 BuildRequires: automake BuildRequires: intltool BuildRequires: libtool BuildRequires: libxml2 BuildRequires: libxslt BuildRequires: pkgconfig(gtk+-3.0) Requires: arj Requires: binutils Requires: bzip2 Requires: cpio Requires: gzip Requires: lz4 Requires: lzip Requires: lzop Requires: p7zip Requires: p7zip-plugins Requires: squashfs-tools Requires: tar Requires: unar Requires: unzip Requires: xdg-utils Requires: xz Requires: zip Requires: zstd Recommends: 7zip %description Xarchiver is a Desktop Environment independent archiver front-end. All common archive formats are supported, deb and RPM packages are handled without their package managers being installed. Xarchiver only depends on the GTK+ libraries and utilizes various (un)compressor/(un)archiver command line programs at runtime. %prep %autosetup %{?with_snapshot:-n %{name}-%{commit}} -p1 touch AUTHORS INSTALL NEWS autoreconf -ivf %build %configure \ --disable-silent-rules \ %{nil} %make_build %install %make_install INSTALL="install -p" %find_lang %{name} desktop-file-edit \ --add-mime-type="application/x-zip" \ --add-mime-type="application/x-zip-compressed" \ --remove-mime-type="multipart/x-zip" \ --set-key="X-AppStream-Ignore" \ --set-value="true" \ %{buildroot}%{_datadir}/applications/%{name}.desktop mkdir -p %{buildroot}%{_metainfodir} install -pm 0644 %{S:1} %{buildroot}%{_metainfodir}/%{name}.appdata.xml mv %{buildroot}%{_docdir}/%{name} _docs # remove duplicate docs rm -f _docs/{AUTHORS,COPYING,ChangeLog,NEWS,README,TODO} %files -f %{name}.lang %doc _docs/* %license COPYING %{_bindir}/%{name} %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/*/*/* %{_datadir}/pixmaps/%{name}/ %{_mandir}/man1/%{name}.1* %{_metainfodir}/%{name}.appdata.xml %{_libexecdir}/thunar-archive-plugin/ %changelog * Tue Sep 05 2023 Phantom X - 1:0.5.4.21-100 - 0.5.4.21 * Fri Nov 11 2022 Phantom X - 1:0.5.4.20-100 - 0.5.4.20 * Sat Sep 03 2022 Phantom X - 1:0.5.4.19-100 - 0.5.4.19 * Mon Aug 01 2022 Phantom X - 1:0.5.4.18-100.20220714git63dad3c - 0.5.4.18 * Tue Mar 29 2022 Phantom X - 1:0.5.4.17-102.20220320git8228d68 - Bump * Thu Sep 30 2021 Phantom X - 1:0.5.4.17-101.20210918git6bb815a - Last snapshot * Thu Apr 08 2021 Phantom X - 1:0.5.4.17-100.20210405git385e97c - 0.5.4.17 * Tue Sep 29 2020 Phantom X - 1:0.5.4.15-101.20200916gitb57ae72 - Snapshot * Sat Aug 15 2020 Phantom X - 1:0.5.4.15-100.20200802git9b1e07f - 0.5.4.15 * Wed Mar 18 2020 Phantom X - 1:0.5.4.14-102.20200305gitd9e9a36 - Bump * Tue Nov 19 2019 Phantom X - 1:0.5.4.14-101.20191013gitedb6aa7 - Snapshot * Thu Jan 03 2019 Phantom X - 1:0.5.4.14-100 - Updated to 0.5.4.14 - Update summary, URLs and description - GTK+3 - Remove unneeded scriplets * Thu Oct 04 2018 Niels de Vos - 0.5.4-9 - prevent segfault on certain drag-and-drop actions (#1635869) * Sat Jul 14 2018 Fedora Release Engineering - 0.5.4-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Fri Feb 09 2018 Fedora Release Engineering - 0.5.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.5.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.5.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Fri Feb 05 2016 Fedora Release Engineering - 0.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Fri Jun 19 2015 Fedora Release Engineering - 0.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Tue Mar 31 2015 Jaromir Capik - 0.5.4-1 - Update to 0.5.4 (#1147466) * Sat Feb 21 2015 Till Maas - 0.5.2-22 - Rebuilt for Fedora 23 Change https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code * Mon Aug 18 2014 Fedora Release Engineering - 0.5.2-21 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Thu Jun 19 2014 Yaakov Selkowitz - 0.5.2-20 - Fix FTBFS with -Werror=format-security (#1037390, #1107209) * Sun Jun 08 2014 Fedora Release Engineering - 0.5.2-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sun Aug 04 2013 Fedora Release Engineering - 0.5.2-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Fri May 10 2013 Christoph Wickert - 0.5.2-17 - Fix thunar-archive-plugin integration (#961626) - Conditionalize vendor tag * Thu Apr 04 2013 Jaromir Capik - 0.5.2-16 - aarch64 support (#926742) - fixing bogus date in the changelog * Sun Feb 10 2013 Parag Nemade - 0.5.2-15 - Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077 - Cleanup spec as per recently changed packaging guidelines * Sun Jul 22 2012 Fedora Release Engineering - 0.5.2-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Thu Jan 26 2012 Jaromir Capik - 0.5.2-13 - Fix extraction failures when the Drag'n'Drop target path contains spaces (#784075) * Sat Jan 14 2012 Fedora Release Engineering - 0.5.2-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.5.2-11 - Rebuild for new libpng * Sun Jun 19 2011 Christoph Wickert - 0.5.2-10 - Fix xz MIME types * Sat Jun 11 2011 Christoph Wickert - 0.5.2-9 - Fix xz support. A big thanks to Daniel Hokka Zakrisson (#577480) * Thu Jun 02 2011 Christoph Wickert - 0.5.2-8 - Fix 7zip. Encrypted archives are still not supported. * Thu Jun 02 2011 Christoph Wickert - 0.5.2-7 - Add xz support. Thanks to Robby Workman and Daniel Hokka Zakrisson (#577480) - Remove mime-type multipart/x-zip (#666066) - Fix crash in IA__gtk_tree_model_get_valist. Thanks to Bastiaan Jacques (#690012) - Update icon-cache scriptlets * Mon Feb 07 2011 Fedora Release Engineering - 0.5.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jul 27 2009 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Mar 22 2009 Christoph Wickert - 0.5.2-4 - Gui fixes (#491115) * Wed Feb 25 2009 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Nov 25 2008 Christoph Wickert - 0.5.2-2 - Include HTML documentation * Tue Nov 25 2008 Christoph Wickert - 0.5.2-1 - Update to 0.5.2 * Sun Nov 09 2008 Christoph Wickert - 0.5.1-1 - Update to 0.5.1 stable release * Sun Oct 26 2008 Christoph Wickert - 0.5.0-0.1.rc1 - Update to 0.5.0rc1 - Fix crash when opening zipped PDF files (#467619) - Update gtk-icon-cache scriptlets * Sat Oct 11 2008 Christoph Wickert - 0.5.0-0.1.beta2 - Update to 0.5.0beta2 * Sun Aug 31 2008 Christoph Wickert - 0.5.0-0.1.beta1 - Update to 0.5.0beta1 - Remove xdg-open.patch as xarchiver now uses xdg-open by default * Sat Apr 19 2008 Christoph Wickert - 0.4.9-0.6.20070103svn24249 - Remove additional mime-types from desktop-file-install to make sure we don't break livecds * Fri Mar 14 2008 Christoph Wickert - 0.4.9-0.5.20070103svn24249 - Use xdg-open instead of htmlview (#437554) * Mon Feb 18 2008 Fedora Release Engineering - 0.4.9-0.4.20070103svn24249 - Autorebuild for GCC 4.3 * Tue Aug 28 2007 Christoph Wickert - 0.4.9-0.3.20070103svn24249 - Rebuild for BuildID feature - Update license tag * Fri Mar 02 2007 Christoph Wickert - 0.4.9-0.2.20070103svn24249 - Downgrade to SVN release 24249 in order to fix #230154 temporarily. * Sun Jan 28 2007 Christoph Wickert - 0.4.9-0.1.20070128svn24772 - Update to SVN release 24772 of January 28th 2007. * Wed Jan 03 2007 Christoph Wickert - 0.4.9-0.1.20070103svn - Update to SVN r24249 of January 3rd 2007. - Add mimetype application/x-deb again since opening of debs now is secure. * Wed Dec 13 2006 Christoph Wickert - 0.4.9-0.1.20061213svn - Update to SVN r24096 of December 13th 2006. * Wed Dec 06 2006 Christoph Wickert - 0.4.6-3 - Add deb.patch to prevent opening of .a files as debs. - Don't add mimetype for x-ar (archiver can't handle ar archive). * Wed Nov 29 2006 Christoph Wickert - 0.4.6-2 - Add htmlview.patch. * Tue Nov 28 2006 Christoph Wickert - 0.4.6-1 - Update to 0.4.6. - Update %%description. - Require binutils, cpio and htmlview. - Add mimetypes application/x-ar, application/x-cd-image and application/x-deb. * Mon Nov 27 2006 Christoph Wickert - 0.4.4-1 - Update to 0.4.4. * Sat Nov 25 2006 Christoph Wickert - 0.4.2-0.3.rc2 - Install xarchiver.png also in %%{_datadir}/icons/hicolor/48x48/apps/. * Sat Nov 25 2006 Christoph Wickert - 0.4.2-0.2.rc2 - Drop subpackage and own %%{_libexecdir}/thunar-archive-plugin/ (#198098). * Sun Nov 12 2006 Christoph Wickert - 0.4.2-0.1.rc2 - Update to 0.4.2.RC2. * Wed Sep 13 2006 Christoph Wickert - 0.4.0-1 - Update to 0.4.0. * Tue Sep 05 2006 Christoph Wickert - 0.3.9.2-0.beta2 - Initial package.