File gnome-commander.spec of Package gnome-commander
#
# spec file for package gnome-commander
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gnome-commander
Version: 1.4.8
Release: 0
Summary: Nice and Fast File Manager for the GNOME Desktop
License: GPL-2.0+
Group: Productivity/File utilities
Url: http://www.nongnu.org/gcmd/
Source: http://download.gnome.org/sources/gnome-commander/1.4/%{name}-%{version}.tar.xz
BuildRequires: chmlib-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool
BuildRequires: libexiv2-devel >= 0.14
BuildRequires: libgnomeui-devel >= 2.4.0
BuildRequires: libgsf-devel >= 1.12.0
BuildRequires: libxslt
BuildRequires: python-devel >= 2.5
BuildRequires: taglib-devel >= 1.4
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(gnome-keyring-1) >= 2.22
BuildRequires: pkgconfig(poppler-glib) >= 0.19
BuildRequires: pkgconfig(unique-1.0) >= 0.9.3
Recommends: %{name}-lang
# For xdg-su
Recommends: xdg-utils
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
GNOME Commander is a nice and fast file manager for the GNOME desktop.
In addition to basic file manager functions, the program is also an FTP
client and can browse SMB networks.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure\
--disable-static\
--disable-scrollkeeper
make %{?_smp_mflags}
%install
%make_install
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%suse_update_desktop_file gnome-commander
%find_lang %{name} %{?no_lang_C}
%clean
rm -rf %{buildroot}
%if 0%{?suse_version} > 1130
%post
%desktop_database_post
%endif
%if 0%{?suse_version} > 1130
%postun
%desktop_database_postun
%endif
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%dir %{_datadir}/gnome/
%dir %{_datadir}/gnome/help/
%dir %{_datadir}/gnome/help/%{name}/
%doc %{_datadir}/gnome/help/%{name}/C/
%dir %{_datadir}/omf/
%dir %{_datadir}/omf/%{name}/
%doc %{_datadir}/omf/%{name}/%{name}-C.omf
%dir %{_datadir}/appdata
%{_datadir}/appdata/%{name}.appdata.xml
%{_bindir}/*
%{_datadir}/%{name}/
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%{_datadir}/pixmaps/gnome-commander
%{_libdir}/gnome-commander
%doc %{_mandir}/man1/gnome-commander.1.gz
%files lang -f %{name}.lang
%changelog