Accepting request 518062 from home:tsaupe:branches:openSUSE:Factory:udisks2-fate323354
Update to version 2.6.5 (fate#323354) OBS-URL: https://build.opensuse.org/request/show/518062 OBS-URL: https://build.opensuse.org/package/show/Base:System/udisks2?expand=0&rev=56
This commit is contained in:
parent
6d7a3ab940
commit
60a49fe43a
6
_service
Normal file
6
_service
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<services>
|
||||||
|
<service name="download_files" mode="localonly">
|
||||||
|
<param name="enforceupstream">yes</param>
|
||||||
|
</service>
|
||||||
|
</services>
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:da416914812a77e5f4d82b81deb8c25799fd3228d27d52f7bf89a501b1857dda
|
|
||||||
size 931110
|
|
@ -1,16 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
|
|
||||||
iQIcBAABCAAGBQJYOAllAAoJENFO8V2v4RNH/3EP/RwaqcxnHDN2bID0D+xMd4d1
|
|
||||||
30G4mkowOu2pR5iJfViu8qopNqZSjOlMkyUOgXpgCqbaNjaXp62CEqf9lNYdq1zk
|
|
||||||
EG6f5H3Ypt6nxXdBnCwDngwJLgIUmrruoLwSMH4XYxEuP4ZQNrQ/uzpMWwL1BpnA
|
|
||||||
cLBAhOynTSEi0+QMrDgrG8GKJ2DV65p/oq+fcntn/BdvtBunf3kC0rHv8IZO6pFA
|
|
||||||
7kEiYDBw+VLJEqvIIfIGGJR814oVTPkWrwTyb++YavcfqehZKpbDSAGzpQ3sYR67
|
|
||||||
JCY++btlqTw9eaaiASjzd1mhr4xR+3vpICyDHt35CDrFvv5RrNvlnbLAYcqxJK4X
|
|
||||||
8ctb9iPOxQPI7y2V+LP+tvRi8wWVgOi4/8h11Ew2vjmeemTDZzBHVNvLNZdFvsfB
|
|
||||||
hVgTdqYOSDMkgpMCdjTLZex9FuurSYXi0Z0gX9oUzEDO2wlnqyUTeqcJfza1kECF
|
|
||||||
ArfwFEwAl61uDDMyWTC0kO9JWhq+tucpk4hYUI2D1Y1ChuooSmuDc3sUg3zq+3Io
|
|
||||||
Ucpq+c5Rn1jB18VLyALyx6mvWX5TCxiuRGEM+Od9dK0H+2ZiRLCXGVGfyt6xCFXY
|
|
||||||
EnJhEpr2R6a4liGXh9GrXANhhMBteHC3mp9V1M/f499i5Z+rvDmDRmJhS4ztvfaP
|
|
||||||
aehTb4/DzfZbgo49TPrG
|
|
||||||
=lpHN
|
|
||||||
-----END PGP SIGNATURE-----
|
|
3
udisks-2.6.5.tar.bz2
Normal file
3
udisks-2.6.5.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cbc3cd1600a39e168175b1f22bdda7bc9c3feea0f3ed0556001f8b23ee73a7d1
|
||||||
|
size 1215793
|
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jul 5 10:03:57 UTC 2017 - Thomas.Blume@suse.com
|
||||||
|
|
||||||
|
- Update to version 2.6.5 (fate#323354)
|
||||||
|
* switch to new maintained codestream at
|
||||||
|
https://github.com/storaged-project/udisks
|
||||||
|
* Detailed changelog in /usr/share/doc/packages/udisks2/NEWS
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Dec 9 09:44:18 UTC 2016 - dimstar@opensuse.org
|
Fri Dec 9 09:44:18 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
2235
udisks2.keyring
2235
udisks2.keyring
File diff suppressed because it is too large
Load Diff
171
udisks2.spec
171
udisks2.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package udisks2
|
# spec file for package udisks2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -16,59 +16,78 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define _name udisks
|
%{!?_udevrulesdir: %global _udevrulesdir %(pkg-config --variable=udevdir udev)/rules.d}
|
||||||
|
|
||||||
Name: udisks2
|
Name: udisks2
|
||||||
Version: 2.1.8
|
Summary: Disk Manager
|
||||||
Release: 0
|
|
||||||
Summary: Disk Management Service, version 2
|
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Daemons
|
Group: System Environment/Daemons
|
||||||
Url: http://freedesktop.org/wiki/Software/udisks
|
Version: 2.6.5
|
||||||
Source: http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2
|
Release: 0
|
||||||
Source1: http://udisks.freedesktop.org/releases/%{_name}-%{version}.tar.bz2.sign
|
Url: https://github.com/storaged-project/udisks
|
||||||
Source2: %{name}.keyring
|
Source0: https://github.com/storaged-project/udisks/releases/download/udisks-%{version}/udisks-%{version}.tar.bz2
|
||||||
# Needed to build the man pages.
|
|
||||||
|
# Needed to build the man pages
|
||||||
|
BuildRequires: chrpath
|
||||||
BuildRequires: docbook-xsl-stylesheets
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: gnome-common
|
||||||
|
BuildRequires: gobject-introspection-devel
|
||||||
|
BuildRequires: gtk-doc
|
||||||
BuildRequires: intltool
|
BuildRequires: intltool
|
||||||
BuildRequires: libacl-devel
|
BuildRequires: libacl-devel
|
||||||
# For xsltproc.
|
BuildRequires: libgudev-1_0-devel
|
||||||
BuildRequires: xsltproc
|
BuildRequires: xsltproc
|
||||||
BuildRequires: pkgconfig(gio-unix-2.0) >= 2.36
|
BuildRequires: pkgconfig(glib-2.0) >= 2.31.13
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.36
|
|
||||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
|
||||||
BuildRequires: pkgconfig(gudev-1.0) >= 165
|
|
||||||
BuildRequires: pkgconfig(libatasmart) >= 0.17
|
BuildRequires: pkgconfig(libatasmart) >= 0.17
|
||||||
BuildRequires: pkgconfig(libsystemd) >= 209
|
BuildRequires: pkgconfig(polkit-agent-1) >= 0.92
|
||||||
BuildRequires: pkgconfig(polkit-agent-1) >= 0.102
|
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.92
|
||||||
BuildRequires: pkgconfig(polkit-gobject-1) >= 0.102
|
|
||||||
BuildRequires: pkgconfig(systemd)
|
BuildRequires: pkgconfig(systemd)
|
||||||
BuildRequires: pkgconfig(udev)
|
BuildRequires: pkgconfig(udev)
|
||||||
|
|
||||||
|
# Needed to pull in the system bus daemon
|
||||||
|
Requires: dbus-1
|
||||||
|
# We need at least this version for bugfixes/features etc.
|
||||||
|
Requires: libatasmart4
|
||||||
|
# For mount, umount, mkswap
|
||||||
|
Requires: util-linux
|
||||||
# sgdisk is called by udisksd to modify the partition tables... thus a needed tool.
|
# sgdisk is called by udisksd to modify the partition tables... thus a needed tool.
|
||||||
Requires: gptfdisk
|
Requires: gptfdisk
|
||||||
|
# For LUKS devices
|
||||||
|
Requires: cryptsetup
|
||||||
|
# For ejecting removable disks
|
||||||
|
Requires: eject
|
||||||
|
|
||||||
|
Requires: libudisks2-0 = %{version}
|
||||||
Recommends: %{name}-lang
|
Recommends: %{name}-lang
|
||||||
|
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
%{?systemd_requires}
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
# For /proc/self/mountinfo, only available in 2.6.26 or higher
|
||||||
|
Conflicts: kernel < 2.6.26
|
||||||
|
|
||||||
# Upstream First - Policy:
|
# Upstream First - Policy:
|
||||||
# Never add any patches to this package without the upstream commit id
|
# Never add any patches to this package without the upstream commit id
|
||||||
# in the patch. Any patches added here without a very good reason to make
|
# in the patch. Any patches added here without a very good reason to make
|
||||||
# an exception will be silently removed with the next version update.
|
# an exception will be silently removed with the next version update.
|
||||||
|
|
||||||
%description
|
%description
|
||||||
udisks provides a daemon, D-Bus API and command line tools
|
The Udisks project provides a daemon, tools and libraries to access and
|
||||||
for managing disks and storage devices.
|
manipulate disks, storage devices and technologies.
|
||||||
|
|
||||||
%package -n libudisks2-0
|
%package -n libudisks2-0
|
||||||
Summary: UDisks Client Library, version 2
|
Summary: Dynamic library to access the udisksd daemon
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Recommends: %{name} = %{version}
|
Recommends: %{name} = %{version}
|
||||||
|
|
||||||
%description -n libudisks2-0
|
%description -n libudisks2-0
|
||||||
udisks provides a daemon, D-Bus API and command line tools
|
This package contains the dynamic library, which provides
|
||||||
for managing disks and storage devices.
|
access to the udisksd daemon.
|
||||||
|
|
||||||
%package -n typelib-1_0-UDisks-2_0
|
%package -n typelib-1_0-UDisks-2_0
|
||||||
Summary: UDisks Client Library, version 2 -- Introspection bindings
|
Summary: UDisks Client Library, version 2 -- Introspection bindings
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.1+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
|
|
||||||
%description -n typelib-1_0-UDisks-2_0
|
%description -n typelib-1_0-UDisks-2_0
|
||||||
@ -79,85 +98,107 @@ This package provides the GObject Introspection bindings for
|
|||||||
the UDisks client library.
|
the UDisks client library.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Disk Management Service, version 2 -- Development Files
|
Summary: Development files for lib%{name}
|
||||||
License: LGPL-2.0+
|
License: LGPL-2.1+
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: libudisks2-0 = %{version}
|
Requires: libudisks2-0 = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
udisks provides a daemon, D-Bus API and command line tools
|
This package contains the development files for the library lib%{name}, a
|
||||||
for managing disks and storage devices.
|
dynamic library, which provides access to the udisksd daemon.
|
||||||
|
|
||||||
%lang_package
|
%lang_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{_name}-%{version}
|
%setup -q -n udisks-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export V=1
|
%configure \
|
||||||
%configure \
|
--sysconfdir=/etc \
|
||||||
--disable-static
|
--enable-gtk-doc
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
make install DESTDIR=%{buildroot}
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
|
||||||
ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rcudisks2
|
find %{buildroot} -name \*.la -o -name \*.a | xargs rm
|
||||||
%find_lang %{name}
|
|
||||||
|
chrpath --delete %{buildroot}/%{_sbindir}/umount.udisks2
|
||||||
|
chrpath --delete %{buildroot}/%{_bindir}/udisksctl
|
||||||
|
chrpath --delete %{buildroot}/%{_libexecdir}/udisks2/udisksd
|
||||||
|
|
||||||
|
%find_lang udisks2
|
||||||
|
|
||||||
|
#we don't want to load storaged modules
|
||||||
|
rm -r %{buildroot}/etc/udisks2
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre udisks2.service
|
%service_add_pre udisks2.service
|
||||||
|
|
||||||
%post
|
%post -n %{name}
|
||||||
%udev_rules_update
|
%{?udev_rules_update:%udev_rules_update}
|
||||||
%service_add_post udisks2.service
|
%service_add_post udisks2.service
|
||||||
|
|
||||||
|
%post -n libudisks2-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun udisks2.service
|
%service_del_preun udisks2.service
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%service_del_postun udisks2.service
|
%service_del_postun udisks2.service
|
||||||
|
|
||||||
%post -n libudisks2-0 -p /sbin/ldconfig
|
|
||||||
%postun -n libudisks2-0 -p /sbin/ldconfig
|
%postun -n libudisks2-0 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING NEWS README
|
%doc README.md AUTHORS NEWS HACKING COPYING
|
||||||
%{_sbindir}/rcudisks2
|
|
||||||
%{_sbindir}/umount.udisks2
|
%dir %{_libexecdir}/udisks2
|
||||||
%{_bindir}/udisksctl
|
%{_libexecdir}/udisks2/udisksd
|
||||||
%{_libexecdir}/udisks2/
|
|
||||||
%{_unitdir}/udisks2.service
|
|
||||||
%{_udevrulesdir}/80-udisks2.rules
|
|
||||||
%{_datadir}/bash-completion/completions/udisksctl
|
|
||||||
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
|
%config %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf
|
||||||
|
%{_datadir}/bash-completion/completions/udisksctl
|
||||||
|
%{_unitdir}/udisks2.service
|
||||||
|
%dir %{_udevrulesdir}
|
||||||
|
%{_udevrulesdir}/80-udisks2.rules
|
||||||
|
%{_sbindir}/umount.udisks2
|
||||||
|
|
||||||
|
%dir %{_libexecdir}/udisks2
|
||||||
|
%{_libexecdir}/udisks2/udisksd
|
||||||
|
|
||||||
|
%{_bindir}/udisksctl
|
||||||
|
|
||||||
|
%{_mandir}/man1/udisksctl.1*
|
||||||
|
%{_mandir}/man5/udisks2.conf.5*
|
||||||
|
%{_mandir}/man8/udisksd.8*
|
||||||
|
%{_mandir}/man8/udisks.8*
|
||||||
|
%{_mandir}/man8/umount.udisks2.8*
|
||||||
|
|
||||||
|
%{_datadir}/polkit-1/actions/org.freedesktop.UDisks2.policy
|
||||||
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
|
%{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service
|
||||||
%{_datadir}/polkit-1/actions/org.freedesktop.udisks2.policy
|
|
||||||
%{_mandir}/man1/udisksctl.1%{?ext_man}
|
# Permissions for local state data are 0700 to avoid leaking information
|
||||||
%{_mandir}/man8/udisks.8%{?ext_man}
|
# about e.g. mounts to unprivileged users
|
||||||
%{_mandir}/man8/udisksd.8%{?ext_man}
|
%attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2
|
||||||
%{_mandir}/man8/umount.udisks2.8%{?ext_man}
|
|
||||||
%attr(0770,root,root) %dir %{_localstatedir}/lib/udisks2/
|
|
||||||
|
|
||||||
%files -n libudisks2-0
|
%files -n libudisks2-0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%doc AUTHORS COPYING NEWS README
|
|
||||||
%{_libdir}/libudisks2.so.*
|
%{_libdir}/libudisks2.so.*
|
||||||
|
|
||||||
%files -n typelib-1_0-UDisks-2_0
|
%files -n typelib-1_0-UDisks-2_0
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
|
%{_libdir}/girepository-1.0/UDisks-2.0.typelib
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root,-)
|
||||||
%{_includedir}/udisks2/
|
|
||||||
%{_libdir}/libudisks2.so
|
%{_libdir}/libudisks2.so
|
||||||
%{_libdir}/pkgconfig/udisks2.pc
|
%dir %{_includedir}/udisks2
|
||||||
|
%dir %{_includedir}/udisks2/udisks
|
||||||
|
%{_includedir}/udisks2/udisks/*.h
|
||||||
%{_datadir}/gir-1.0/UDisks-2.0.gir
|
%{_datadir}/gir-1.0/UDisks-2.0.gir
|
||||||
%doc %{_datadir}/gtk-doc/html/udisks2/
|
|
||||||
|
|
||||||
%files lang -f %{name}.lang
|
%doc %{_datadir}/gtk-doc/html/udisks2/
|
||||||
%defattr(-,root,root)
|
%{_libdir}/pkgconfig/udisks2.pc
|
||||||
|
|
||||||
|
%files lang -f udisks2.lang
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user