gvfs/gvfs.spec

393 lines
13 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f 1-2)
Name: gvfs
Version: 1.52.0
Release: 1mamba
Summary: Backends for the gio framework in GLib
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.gnome.org
Source: http://ftp.acc.umu.se/pub/GNOME/sources/gvfs/%{majver}/gvfs-%{version}.tar.xz
# http://bugzilla.gnome.org/show_bug.cgi?id=567235
Patch0: gvfs-1.3.2-archive-integration.patch
Patch1: gvfs-1.5.1-gphoto2-no-storageinfo-support.patch
Patch2: gvfs-1.6.6-glib.patch
Patch3: gvfs-1.12.2-glib-2.32.2.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gnome-online-accounts-devel
BuildRequires: libarchive-devel
BuildRequires: libavahi-devel
BuildRequires: libavahi-glib-devel
BuildRequires: libbluray-devel
BuildRequires: libcdio-devel
BuildRequires: libcdio-paranoia-devel
BuildRequires: libfuse3-devel
BuildRequires: libgcr3-devel
BuildRequires: libgcrypt-devel
BuildRequires: libgdata-devel
BuildRequires: libglib-devel
BuildRequires: libgphoto2-devel
BuildRequires: libgudev-devel
BuildRequires: libimobiledevice-devel
BuildRequires: libmtp-devel
BuildRequires: libnfs-devel
BuildRequires: libplist-devel
BuildRequires: libpolkit-devel
BuildRequires: libsecret-devel
BuildRequires: libsmbclient-devel
BuildRequires: libsoup-devel
BuildRequires: libsystemd-devel
BuildRequires: libusb-devel
BuildRequires: libxml2-devel
BuildRequires: udisks-devel
## AUTOBUILDREQ-END
BuildRequires: libgphoto2-devel >= 1:2.5.19-1mamba
BuildRequires: gettext-devel
BuildRequires: gtk-doc
BuildRequires: intltool
BuildRequires: libtalloc-devel
BuildRequires: pkgconfig
BuildRequires: polkit-devel
BuildRequires: libimobiledevice-devel >= 1.1.4
BuildRequires: /usr/bin/ssh
BuildRequires: udisks2-devel
BuildRequires: libbluray-devel
BuildRequires: gnome-online-accounts-devel
BuildRequires: libcdio-paranoia-devel
BuildRequires: libfuse3-devel
BuildConflicts: hal-devel
#BuildConflicts: gvfs-devel < 1.22
Requires(post):libglib
Requires(post):desktop-file-utils
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
# gvfs configuration summary:
# gio module directory : /usr/lib/gio/modules
# hotplug backend: gudev
# FTP/HTTP/WebDAV support yes
# ObexFTP support yes
# Samba support: yes
# FUSE support: yes
# CDDA support: yes
# Gphoto2 support: yes
# archive support: yes
# AFC support: yes
# GConf support: yes
# DNS-SD support: yes
# Build HAL volume monitor: no (with fast init path: no)
# Build GDU volume monitor: yes
# GNOME Keyring support: yes
# Bash-completion support: yes
%description
The gvfs package provides backend implementations for the gio framework in GLib. It includes ftp, sftp, cifs.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: gvfs-devel
Obsoletes: gvfs-devel
%description -n lib%{name}-devel
The gvfs package provides backend implementations for the gio framework in GLib. It includes ftp, sftp, cifs.
This package contains libraries and header files needed for development.
%prep
%setup -q
#%patch0 -p1 -b .archive-integration
#%patch3 -p1
%build
%meson
#./autogen.sh
#% configure \
# --enable-gdu \
# --enable-afc \
# --with-bash-completion-dir=%{_sysconfdir}/bash_completion.d/
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%meson_install
#rm %{buildroot}%{_libdir}/*.la
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
killall -USR1 gvfsd >&/dev/null || :
if [ $1 -ge 1 ]; then
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
update-desktop-database &> /dev/null || :
# update-gio-modules "$host" &> /dev/null || :
fi
:
%postun
if [ $1 -eq 0 ]; then
update-desktop-database &> /dev/null ||:
# update-gio-modules "$host" &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas || :
fi
:
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%files -f %{name}.lang
%defattr(-,root,root)
#%{_sysconfdir}/bash_completion.d/gvfs*
#%{_bindir}/gvfs-*
%{_prefix}/lib/tmpfiles.d/gvfsd-fuse-tmpfiles.conf
%{_prefix}/lib/systemd/user/gvfs-*.service
%{_datadir}/dbus-1/services/org.gtk.vfs.*.service
%{_datadir}/polkit-1/actions/org.gtk.vfs.file-operations.policy
%{_datadir}/polkit-1/rules.d/org.gtk.vfs.file-operations.rules
%{_datadir}/GConf/gsettings/gvfs-dns-sd.convert
%{_datadir}/GConf/gsettings/gvfs-smb.convert
%{_datadir}/glib-2.0/schemas/org.gnome.system.*.xml
%dir %{_datadir}/gvfs
%dir %{_datadir}/gvfs/mounts
%{_datadir}/gvfs/mounts/*.mount
%dir %{_datadir}/gvfs/remote-volume-monitors
%{_datadir}/gvfs/remote-volume-monitors/*.monitor
#%{_mandir}/man1/gvfs-*.1*
#%{_mandir}/man1/gvfsd-fuse.1*
#%{_mandir}/man1/gvfsd-metadata.1*
#%{_mandir}/man1/gvfsd.1*
#%{_mandir}/man7/gvfs.7*
%files -n lib%{name}
%defattr(-,root,root)
#%{_libdir}/gio/modules/libgiogconf.so
%{_libdir}/gio/modules/libgioremote-volume-monitor.so
%{_libdir}/gio/modules/libgvfsdbus.so
#%{_libdir}/libgvfscommon-dnssd.so.*
%dir %{_libdir}/gvfs
%{_libdir}/gvfs/libgvfscommon.so
%{_libdir}/gvfs/libgvfsdaemon.so
%{_libexecdir}/gvfs-*
%{_libexecdir}/gvfsd
%{_libexecdir}/gvfsd-*
%doc COPYING
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/gvfs-client/
%dir %{_includedir}/gvfs-client/gvfs
%{_includedir}/gvfs-client/gvfs/*.h
#%{_libdir}/libgvfscommon-dnssd.so
#%doc ChangeLog ChangeLog.pre-1-2 NEWS README README.commits TODO
%changelog
* Sat Sep 16 2023 Automatic Build System <autodist@mambasoft.it> 1.52.0-1mamba
- automatic version update by autodist
* Sun Aug 06 2023 Automatic Build System <autodist@mambasoft.it> 1.50.6-1mamba
- automatic version update by autodist
* Sat Jul 01 2023 Automatic Build System <autodist@mambasoft.it> 1.50.5-1mamba
- automatic version update by autodist
* Sat Mar 18 2023 Automatic Build System <autodist@mambasoft.it> 1.50.4-1mamba
- automatic version update by autodist
* Sat Jan 07 2023 Automatic Build System <autodist@mambasoft.it> 1.50.3-1mamba
- automatic version update by autodist
* Thu May 26 2022 Automatic Build System <autodist@mambasoft.it> 1.50.2-1mamba
- automatic version update by autodist
* Sat Apr 23 2022 Automatic Build System <autodist@mambasoft.it> 1.50.1-1mamba
- automatic version update by autodist
* Sat Mar 19 2022 Automatic Build System <autodist@mambasoft.it> 1.50.0-1mamba
- automatic version update by autodist
* Fri Apr 30 2021 Automatic Build System <autodist@mambasoft.it> 1.48.1-1mamba
- automatic version update by autodist
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 1.48.0-1mamba
- automatic version update by autodist
* Sat Jan 09 2021 Automatic Build System <autodist@mambasoft.it> 1.46.2-1mamba
- automatic version update by autodist
* Thu Oct 22 2020 Automatic Build System <autodist@mambasoft.it> 1.46.1-1mamba
- automatic version update by autodist
* Fri Mar 27 2020 Automatic Build System <autodist@mambasoft.it> 1.44.1-1mamba
- automatic version update by autodist
* Sun Mar 08 2020 Automatic Build System <autodist@mambasoft.it> 1.44.0-1mamba
- automatic version update by autodist
* Sun Dec 01 2019 Automatic Build System <autodist@mambasoft.it> 1.42.2-1mamba
- automatic version update by autodist
* Thu Aug 29 2019 Automatic Build System <autodist@mambasoft.it> 1.40.2-1mamba
- automatic version update by autodist
* Tue Oct 09 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.36.2-2mamba
- rebuilt by autoport with build requirements: libgphoto2-devel>=2.5.19-1mamba
* Sun Aug 12 2018 Automatic Build System <autodist@mambasoft.it> 1.36.2-1mamba
- automatic version update by autodist
* Sun Dec 03 2017 Automatic Build System <autodist@mambasoft.it> 1.30.4-1mamba
- automatic update by autodist
* Thu Dec 22 2016 Automatic Build System <autodist@mambasoft.it> 1.30.3-1mamba
- automatic version update by autodist
* Tue Nov 08 2016 Automatic Build System <autodist@mambasoft.it> 1.30.2-1mamba
- automatic version update by autodist
* Mon Oct 17 2016 Automatic Build System <autodist@mambasoft.it> 1.30.1.1-1mamba
- automatic version update by autodist
* Thu Oct 13 2016 Automatic Build System <autodist@mambasoft.it> 1.30.1-1mamba
- automatic version update by autodist
* Fri Aug 12 2016 Automatic Build System <autodist@mambasoft.it> 1.28.3-1mamba
- automatic version update by autodist
* Tue May 10 2016 Automatic Build System <autodist@mambasoft.it> 1.28.2-1mamba
- automatic version update by autodist
* Mon Apr 11 2016 Automatic Build System <autodist@mambasoft.it> 1.28.1-1mamba
- automatic version update by autodist
* Sat Apr 09 2016 Automatic Build System <autodist@mambasoft.it> 1.28.0-1mamba
- automatic version update by autodist
* Thu Feb 18 2016 Automatic Build System <autodist@mambasoft.it> 1.26.3-1mamba
- automatic version update by autodist
* Sun Jan 24 2016 Automatic Build System <autodist@mambasoft.it> 1.26.2-1mamba
- automatic version update by autodist
* Fri Aug 21 2015 Automatic Build System <autodist@mambasoft.it> 1.24.2-1mamba
- automatic version update by autodist
* Sun Apr 26 2015 Automatic Build System <autodist@mambasoft.it> 1.24.1-1mamba
- automatic version update by autodist
* Sun Jan 18 2015 Automatic Build System <autodist@mambasoft.it> 1.22.3-1mamba
- automatic version update by autodist
* Wed Dec 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.2-1mamba
- update to 1.22.2
- added libgvfs and libgvfs-devel
* Sat Dec 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22.0-3mamba
- rebuilt with libgphoto2 2.5.5.1
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.22.0-2mamba
- automatic version update by autodist
* Mon Sep 22 2014 Automatic Build System <autodist@mambasoft.it> 1.22.0-1mamba
- automatic version update by autodist
* Fri Aug 29 2014 Automatic Build System <autodist@mambasoft.it> 1.21.91-1mamba
- automatic version update by autodist
* Sat Aug 16 2014 Automatic Build System <autodist@mambasoft.it> 1.21.90-1mamba
- automatic version update by autodist
* Fri Jul 18 2014 Automatic Build System <autodist@mambasoft.it> 1.21.4-1mamba
- automatic version update by autodist
* Mon Jun 23 2014 Automatic Build System <autodist@mambasoft.it> 1.21.3-1mamba
- automatic version update by autodist
* Sat May 24 2014 Automatic Build System <autodist@mambasoft.it> 1.21.2-1mamba
- automatic version update by autodist
* Mon Apr 28 2014 Automatic Build System <autodist@mambasoft.it> 1.21.1-1mamba
- automatic version update by autodist
* Fri Apr 11 2014 Automatic Build System <autodist@mambasoft.it> 1.20.1-1mamba
- automatic version update by autodist
* Tue Apr 01 2014 Automatic Build System <autodist@mambasoft.it> 1.20.0-1mamba
- automatic version update by autodist
* Fri Nov 08 2013 Automatic Build System <autodist@mambasoft.it> 1.18.3-1mamba
- automatic version update by autodist
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 1.18.2-1mamba
- automatic version update by autodist
* Fri Jun 14 2013 Automatic Build System <autodist@mambasoft.it> 1.16.3-1mamba
- automatic version update by autodist
* Wed May 15 2013 Automatic Build System <autodist@mambasoft.it> 1.16.2-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 1.16.1-1mamba
- automatic version update by autodist
* Sun Mar 31 2013 Automatic Build System <autodist@mambasoft.it> 1.16.0-1mamba
- automatic version update by autodist
* Wed Nov 14 2012 Automatic Build System <autodist@mambasoft.it> 1.14.2-1mamba
- automatic version update by autodist
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 1.14.1-1mamba
- automatic version update by autodist
* Fri Sep 28 2012 Automatic Build System <autodist@mambasoft.it> 1.14.0-1mamba
- automatic version update by autodist
* Sun Sep 16 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.3-3mamba
- rebuilt with gnome 3 (updates build requirements)
* Thu May 31 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.3-2mamba
- rebuilt with gnome-disk-utility 2.32 (previously was built with wrong local gnome-disk-utility 3.0)
* Wed May 23 2012 Automatic Build System <autodist@mambasoft.it> 1.12.3-1mamba
- automatic version update by autodist
* Mon May 14 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.12.2-1mamba
- update to 1.12.2
* Mon Oct 17 2011 Automatic Build System <autodist@mambasoft.it> 1.10.1-1mamba
- automatic version update by autodist
* Sat Oct 01 2011 Automatic Build System <autodist@mambasoft.it> 1.10.0-1mamba
- update to 1.10.0
* Tue Sep 20 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-2mamba
- run glib-compile-schemas in %post and %postun scripts
* Tue Aug 23 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.2-1mamba
- update to 1.8.2
* Thu Mar 03 2011 gil <puntogil@libero.it> 1.6.6-1mamba
- package created by autospec