# Release number can be specified with rpm --define 'rel SOMETHING' ... # If no such --define is used, the release number is 1. # # Source archive's extension can be specified with rpm --define 'srcext .foo' # where .foo is the source archive's actual extension. # To compile an RPM from a .bz2 source archive, give the command # rpmbuild -tb --define 'srcext .bz2' "gnome-commander"-"1.16.1".tar.bz2 # %if %{?rel:0}%{!?rel:1} %define rel 1 %endif %if %{?srcext:0}%{!?srcext:1} %define srcext .xz %endif %define exiv2_ver 0.14 %define taglib_ver 1.4 %define libgsf_ver 1.12.0 %define poppler_ver 0.18 Name: "gnome-commander" Version: "1.16.1" Epoch: 4 Release: %{rel}%{?dist} Summary: A nice and fast file manager for the GNOME desktop Summary(pl): Menadżer plików dla GNOME oparty o Norton Commander'a (TM) Summary(sv): GNOME Commander är en snabb och smidig filhanderare för GNOME Group: Applications/File License: GPLv2+ URL: https://gcmd.github.io/ Source0: https://download.gnome.org/sources/"gnome-commander"/1.14/"gnome-commander"-"1.16.1".tar.xz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: automake BuildRequires: flex BuildRequires: libtool BuildRequires: desktop-file-utils BuildRequires: scrollkeeper BuildRequires: gettext >= 0.19.7 BuildRequires: glib2-devel >= 2.66.0 BuildRequires: gtk2-devel >= 2.24.0 BuildRequires: gio-2.0 BuildRequires: yelp-tools BuildRequires: perl(XML::Parser) Requires: glib2 >= 2.66.0 Requires: gtk2 >= 2.24.0 # For CentOS: Requires: gnome-icon-theme-legacy >= 3.0 Requires: findutils, grep Requires: meld Requires(post): scrollkeeper Requires(postun): scrollkeeper BuildRequires: exiv2-devel >= %{exiv2_ver} BuildRequires: taglib-devel >= %{taglib_ver} %if 0%{?fedora} >= 6 BuildRequires: libgsf-devel >= %{libgsf_ver} %endif BuildRequires: poppler-devel >= %{poppler_ver} %if 0%{?fedora} >= 8 Requires: exiv2-libs >= %{exiv2_ver} %else Requires: exiv2 >= %{exiv2_ver} %endif Requires: taglib >= %{taglib_ver} %if 0%{?fedora} >= 6 Requires: libgsf >= %{libgsf_ver} %endif Requires: poppler >= %{poppler_ver} %description GNOME Commander is a nice and fast file manager for the GNOME desktop. In addition to performing the basic file manager functions the program is also an FTP-client and it can browse SMB-networks. %description -l cs GNOME Commander je pěkný a rychlý správce souborů pro GNOME desktop. Kromě základních funkcí správy souborů je program také FTP klient a umí procházet SMB sítěmi. %description -l pl GNOME Commander to niewielki i wydajny menadżer plików umożliwiający wykonywanie za pomocą klawiatury wszystkich standardowych operacji na plikach. Dostępne są również dodatkowe funkcje jak np. obsługa FTP, czy też obsługa sieci SMB. %description -l ru Быстро работающий файловый менеджер для GNOME. Может выполнять большинство типовых операций с файлами, умеет обнаруживать изменения, внесенные в файлы другими программами, и автоматически обновлять отображаемый список файлов. Поддерживает описания файловых структур в формате DND и кодировки MIME. Реализует на базовом уровне поддержку FTP через GnomeVFS. %description -l sv GNOME Commander är en snabb och smidig filhanderare för GNOME. Utöver att kunna hantera filer på din egen dator så kan programmet även ansluta till FTP-servrar och SMB-nätverk. %prep %setup -q %build %configure \ --disable-scrollkeeper \ %{__make} %install %{__rm} -rf %{buildroot} %{__make} \ INSTALL="%{__install} -c -p" \ DESTDIR=%{buildroot} \ install desktop-file-install \ --delete-original \ --vendor '' \ --remove-category Application \ --dir %{buildroot}%{_datadir}/applications \ %{buildroot}%{_datadir}/applications/%{name}.desktop %{__rm} -f %{buildroot}%{_libdir}/%{name}/*.{a,la} %{__rm} -f %{buildroot}%{_libdir}/%{name}/*/*.{a,la,py} %find_lang %{name} %post scrollkeeper-update -q -o %{_datadir}/omf/%{name} || : %postun scrollkeeper-update -q || : %clean %{__rm} -rf %{buildroot} %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS BUGS COPYING INSTALL NEWS TODO doc/*.txt %{_bindir}/* %{_libdir}/%{name}/ %{_mandir}/man1/%{name}.1* %{_datadir}/applications/%{name}.desktop %{_datadir}/help/* %{_datadir}/pixmaps/%{name}.svg %{_datadir}/pixmaps/%{name}/ %{_datadir}/%{name}/mime/ %{_datadir}/metainfo/%{name}.appdata.xml %{_datadir}/glib-2.0/schemas/org.gnome.%{name}.enums.xml %{_datadir}/glib-2.0/schemas/org.gnome.%{name}.gschema.xml %changelog * Thu Oct 07 2021 Uwe Scholz - remove gnome-vfs2 dependency * Thu Dec 20 2020 Uwe Scholz - add explicit gio-2.0 dependency * Thu Jun 18 2020 Uwe Scholz - remove gnome-keyring-1 dependency * Tue Jun 16 2020 Uwe Scholz - remove libgnomeui dependency * Mon May 20 2019 Uwe Scholz - set epoch to 4 * Thu May 16 2019 Uwe Scholz - Removed smp_mflags variable from the spec file * Tue May 14 2019 Uwe Scholz - Updated the icon file name suffix from png to svg * Tue Feb 13 2018 Uwe Scholz - removed build and runtime deps for unique and unique-devel - fixed bogus date - fixed folders in _datadir * Thu Jan 11 2018 Uwe Scholz - removed build and runtime deps for python and gnome-python2-gnomevfs * Sun Oct 08 2017 Uwe Scholz - Removed intltool, gnome-common and gnome-doc-utils dependencies - Added yelp-tools dependency - Updated gettext version * Mon Jun 05 2017 Uwe Scholz - set default srcext to .xz * Mon Jun 05 2017 Uwe Scholz - added missing files in files section * Mon Sep 12 2011 Piotr Eljasiak - added gnome-keyring dependency * Mon May 23 2011 Piotr Eljasiak - added findutils and grep dependencies * Fri Sep 10 2010 Piotr Eljasiak - set epoch to 2 * Wed Mar 3 2010 Piotr Eljasiak - added unique dependency * Wed Jan 13 2010 Piotr Eljasiak - added gnome-vfs2-smb dependency - replaced exiv2 with exiv2-libs dependency for FC>=8 * Fri Oct 3 2008 Yuriy Penkin - changed dependencies for intltool to 0.35.0 * Thu Aug 7 2008 Piotr Eljasiak - added poppler dependencies * Fri Jul 11 2008 Piotr Eljasiak - added build deps * Fri Oct 5 2007 Mamoru Tasaka - 1.2.4-4 - Drop yelp dependency * Wed Aug 22 2007 Mamoru Tasaka - 1.2.4-3.dist.2 - Mass rebuild (buildID or binutils issue) * Fri Aug 3 2007 Mamoru Tasaka - 1.2.4-3.dist.1 - License update * Wed Jul 18 2007 Piotr Eljasiak 1.2.5-1 - replaced libexif and libiptcdata with exiv2 library * Tue Jul 10 2007 Piotr Eljasiak 1.2.5-1 - replaced id3lib with taglib dependencies * Sat Jun 16 2007 Dušan Hokův 1.2.5-1 - added cs description * Mon Jun 11 2007 Piotr Eljasiak 1.2.5-1 - minor tweaking with library versioning * Sun Feb 4 2007 Piotr Eljasiak 1.2.4-1 - added libgsf dependencies * Tue Jan 30 2007 Piotr Eljasiak 1.2.4-1 - added build and runtime deps for python and gnome-python2-gnomevfs * Sat Jan 20 2007 Mamoru Tasaka - 1.2.3-5 - Require meld (#225324) * Wed Jan 10 2007 Piotr Eljasiak 1.2.4-1 - removed unneeded .py files * Thu Dec 21 2006 Mamoru Tasaka - 1.2.3-2 - Clean up. * Sun Dec 17 2006 Piotr Eljasiak 1.2.4-1 - use version requirements from configure.in - changed dependencies from glib to glib2 * Fri Dec 15 2006 Stephanos Manos - 1.2.4-1 - removed not needed .a files - added build and runtime deps for libexif id3lib * Tue Dec 12 2006 Stephanos Manos - 1.2.4-1 - minor cleanups/fixes to make rpmlint silent -changelog: entries starting with % (added a second %) -changelog: replaced tabs with spaces -descriptions: splitted in multiple lines -summary: removed ending dot -license: changed license-tag form GPL2 to GPL * Tue Nov 14 2006 Piotr Eljasiak - fixed Source0 address * Mon Jul 17 2006 Piotr Eljasiak - added glib dependencies * Sun May 14 2006 Stephanos Manos - Fixed Scrollkeeper database update -disabled scrollkeeper update from make -added scrollkeeper-database-update in the %%post & %%postun section - Added %%post & %%postun entries for the desktop file - Added %%post & %%postun entries for the gtk+ icon cache file * Sun Apr 9 2006 Piotr Eljasiak - minor cleanups * Sun Mar 5 2006 Piotr Eljasiak - added OMF files * Mon Feb 13 2006 Piotr Eljasiak - install "gnome-commander" icon to %%{_datadir}/pixmaps/ - install "gnome-commander".1* to %%{_mandir}/man1/ * Sat Feb 11 2006 Piotr Eljasiak - set default srcext to .bz2 * Fri Jan 28 2005 Piotr Eljasiak - fixed typo: rpm --> rpmbuild * Mon May 03 2004 Piotr Eljasiak - converted spec file to utf-8 - used RPM macros a bit more * Thu Jun 19 2003 Piotr Eljasiak - added libraries * Tue Mar 25 2003 Piotr Eljasiak - updated Sources * Mon Jan 20 2003 Piotr Eljasiak - added build dependencies * Fri Jan 10 2003 Piotr Eljasiak - added localization * Thu Jan 09 2003 Piotr Eljasiak - added dependencies * Mon Jun 24 2002 Piotr Eljasiak - more cleanup in install section * Sat Jun 15 2002 Piotr Eljasiak - simplified install and files sections * Mon Jun 10 2002 Piotr Eljasiak - .spec file is now generated from .spec.in * Mon Jun 10 2002 Marcus Bjurman - The default icon for this project is now called gnome-commander.png The xpm variant of the same icon is now also renamed in the same manner. * Sat Mar 9 2002 Marcus Bjurman - Pumped up the version nr * Sun Nov 4 2001 Marcus Bjurman - Initial build.