97 lines
2.0 KiB
RPMSpec
97 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package gvfs (Version 0.1.4)
|
|
#
|
|
# 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.4
|
|
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
|
|
* Tue Jan 22 2008 maw@suse.de
|
|
- Initial package, version 0.1.4.
|