LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pcmanfm.spec of Package pcmanfm (Project X11:lxde)

# spec file for package pcmanfm
# Copyright (c) 2013 SUSE LINUX Products 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:           pcmanfm
Summary:        The next generation LXDE file manager
License:        GPL-2.0+
Group:          Productivity/File utilities
Version:        1.1.0
Release:        0
Url:            http://www.lxde.org/
Source0:        %{name}-%{version}.tar.gz
Source1:        %name-rpmlintrc
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  desktop-file-utils
BuildRequires:  fdupes
BuildRequires:  intltool
BuildRequires:  libtool
BuildRequires:  update-desktop-files
%if 0%{?suse_version} <= 1220
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(gtk+-3.0)
BuildRequires:  pkgconfig(libfm) >= 1.0
BuildRequires:  pkgconfig(libmenu-cache)
BuildRequires:  pkgconfig(x11)
Requires:       libfm
# needed for trash
Requires:       gvfs
Requires:       gvfs-backends
# needed to switch to root
Requires:       xdg-utils
# needed to mount devices
Requires:       menu-cache
Requires:       polkit-gnome
Recommends:     %name-lang

An extremly fast, lightweight, yet feature-rich
file manager with tabbed browsing. It's also the
LXDE default file manager. This is a complete
rewrite of the old pcmanfm 0.5.x series

%setup -q

%configure \
%if 0%{?suse_version} > 1220
	--with-gtk=3 \
%__make %{?_smp_mflags}

%suse_update_desktop_file %name Application System Utility GTK FileManager
%suse_update_desktop_file pcmanfm-desktop-pref
%fdupes -s %{buildroot}
%find_lang %name

%__rm -rf %buildroot



%dir %_datadir/%name
%dir %_datadir/%name/ui
%dir %_sysconfdir/xdg/pcmanfm
%dir %_sysconfdir/xdg/pcmanfm/default
%config %_sysconfdir/xdg/pcmanfm/default/pcmanfm.conf

%files lang -f %name.lang