LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File gigolo.spec of Package gigolo (Project openSUSE:11.4)

# spec file for package gigolo
# Copyright (c) 2011 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:           gigolo
Version:        0.4.1
Release:        9.<RELEASE3>
License:        GPLv2+
Summary:        Frontend to easily manage connections to remote filesystems
Url:            http://www.uvena.de/gigolo/
Group:          System/Filesystems
Source:         http://files.uvena.de/gigolo/%{name}-%{version}.tar.bz2
Source1:        %{name}.png
Patch0:         %{name}-desktop.patch
BuildRequires:  gvfs-devel
BuildRequires:  intltool
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  python
BuildRequires:  update-desktop-files
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     %{name}-lang = %{version}

Gigolo is a frontend to easily manage connections to remote filesystems using
GIO/GVFS. It allows you to quickly connect/mount a remote filesystem and manage
bookmarks of such.

%setup -q

sh autogen.sh
./waf configure \
    --nocache \
    --prefix=%{_prefix} \
    --sysconfdir=%{_sysconfdir} \
    --localstatedir=%{_localstatedir} \
    --libdir=%{_libdir} \
./waf build -v --nocache %{?_smp_mflags}

./waf install --nocache --destdir=%{buildroot}
install -D -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png
rm -rf %{buildroot}%{_datadir}/doc
rm -rf %{buildroot}%{_datadir}/locale/{ast,kk,ur_PK}
%suse_update_desktop_file -i %{name} System GTK Filesystem
%find_lang %{name}

rm -rf %{buildroot}

%if 0%{?suse_version} >= 1140



%doc %{_mandir}/man1/*

%files lang -f %{name}.lang