gvfs/gvfs.spec

106 lines
2.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gvfs (Version 0.1.6)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gvfs
BuildRequires: dbus-1-devel fuse-devel glib2-devel hal-devel intltool libsmbclient-devel libsoup-devel pkg-config
%if %suse_version <= 1020
%define _prefix /opt/gnome
%define _sysconfdir /etc/%_prefix
BuildRequires: extra-rpm-macros
%endif
Summary: VFS functionality for GLib
Version: 0.1.6
Release: 1
License: LGPL v2.0 or later
Group: Development/Libraries/C and C++
Source0: %{name}-%{version}.tar.bz2
Url: http://www.gnome.org
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: on
Requires: %{name}-lang = %{version}
%description
VFS functionality for GLib.
Authors:
--------
Alexander Larsson <alexl@redhat.com>
%package devel
Summary: VFS functionality for GLib
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
%description devel
VFS functionality for GLib.
Authors:
--------
Alexander Larsson <alexl@redhat.com>
%lang_package
%prep
%setup -n %{name}-%{version}
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
--libexecdir=%{_libdir}/%{name}
make
%install
%makeinstall
rm $RPM_BUILD_ROOT/%{_libdir}/*.*a
%find_lang %{name}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc AUTHORS NEWS README TODO
%{_bindir}/*
%{_datadir}/dbus-1/services/*.service
%{_datadir}/gvfs
%{_libdir}/gvfs
%{_libdir}/*.so.*
%files devel
%defattr(-, root, root)
%{_includedir}/gvfs-client
%{_libdir}/gio
# %{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%files lang -f %{name}.lang
%changelog
* Wed Jan 30 2008 maw@suse.de
- Update to version 0.1.6:
+ Updates to work with more recent glib
+ Fix sftp error handling on reading directories
+ Use correct file info attribute name style
+ Add gvfs-mkdir app
+ hal: Don't show drives if all volumes are hidden
+ Enable translations
+ Plus some files that were missing in 0.1.5.
* Tue Jan 22 2008 maw@suse.de
- Initial package, version 0.1.4.