[8353] | 1 | %define glib2_version 2.40.0 |
---|
[7938] | 2 | %define dbus_version 1.6.14 |
---|
[6011] | 3 | %define dbus_glib_version 0.98 |
---|
| 4 | %define polkit_version 0.104 |
---|
| 5 | %define parted_version 2.3 |
---|
| 6 | %define mdadm_version 2.6.7 |
---|
| 7 | %define device_mapper_version 1.02 |
---|
| 8 | %define libatasmart_version 0.17 |
---|
| 9 | %define sg3_utils_version 1.27 |
---|
| 10 | %define smp_utils_version 0.94 |
---|
| 11 | %define lvm2_version 2.02.78 |
---|
| 12 | |
---|
| 13 | Summary: Storage Management Service |
---|
| 14 | Name: udisks2 |
---|
[9715] | 15 | Version: 2.1.6 |
---|
| 16 | Release: 1%{?_dist_release} |
---|
[6011] | 17 | License: GPLv2+ |
---|
| 18 | Group: System Environment/Libraries |
---|
| 19 | URL: http://www.freedesktop.org/wiki/Software/udisks |
---|
| 20 | |
---|
[6890] | 21 | Source0: http://udisks.freedesktop.org/releases/udisks-%{version}.tar.bz2 |
---|
[6011] | 22 | |
---|
| 23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
| 24 | |
---|
| 25 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
| 26 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
| 27 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
| 28 | BuildRequires: polkit-devel >= %{polkit_version} |
---|
| 29 | BuildRequires: parted-devel >= %{parted_version} |
---|
| 30 | BuildRequires: device-mapper-devel >= %{device_mapper_version} |
---|
[6304] | 31 | BuildRequires: libacl-devel |
---|
[6011] | 32 | BuildRequires: intltool |
---|
| 33 | BuildRequires: libatasmart-devel >= %{libatasmart_version} |
---|
[8732] | 34 | BuildRequires: eudev-libgudev1-devel |
---|
| 35 | BuildRequires: eudev-libudev-devel |
---|
[6011] | 36 | BuildRequires: sg3_utils-devel >= %{sg3_utils_version} |
---|
| 37 | BuildRequires: lvm2-devel >= %{lvm2_version} |
---|
| 38 | BuildRequires: gobject-introspection-devel |
---|
| 39 | |
---|
| 40 | # needed to pull in the system bus daemon |
---|
| 41 | Requires: dbus >= %{dbus_version} |
---|
| 42 | # needed to pull in the udev daemon |
---|
[8732] | 43 | Requires: eudev |
---|
[6011] | 44 | # we need at least this version for bugfixes / features etc. |
---|
| 45 | Requires: libatasmart >= %{libatasmart_version} |
---|
| 46 | Requires: mdadm >= %{mdadm_version} |
---|
| 47 | # for smp_rep_manufacturer |
---|
| 48 | Requires: smp_utils >= %{smp_utils_version} |
---|
| 49 | # for mount, umount, mkswap |
---|
| 50 | Requires: util-linux-ng |
---|
| 51 | # for mkfs.ext3, mkfs.ext3, e2label |
---|
| 52 | Requires: e2fsprogs |
---|
| 53 | # for mkfs.xfs, xfs_admin |
---|
| 54 | Requires: xfsprogs |
---|
| 55 | # for mkfs.vfat |
---|
| 56 | Requires: dosfstools |
---|
| 57 | # for mlabel |
---|
| 58 | Requires: mtools |
---|
| 59 | # for mkntfs - no ntfsprogs on ppc, though |
---|
| 60 | %ifnarch ppc ppc64 |
---|
| 61 | Requires: ntfsprogs |
---|
| 62 | %endif |
---|
| 63 | |
---|
| 64 | # for /proc/self/mountinfo, only available in 2.6.26 or higher |
---|
| 65 | Conflicts: kernel < 2.6.26 |
---|
| 66 | |
---|
| 67 | # we need liblvm2app at least this recent since the ABI changed (sizes |
---|
| 68 | # reported in number of bytes instead of number of sectors) without |
---|
| 69 | # the sonumber changing |
---|
| 70 | # |
---|
| 71 | Requires: lvm2-libs >= %{lvm2_version} |
---|
| 72 | |
---|
| 73 | Vendor: Project Vine |
---|
| 74 | Distribution: Vine Linux |
---|
| 75 | |
---|
| 76 | %description |
---|
| 77 | udisks provides a daemon, D-Bus API and command line tools |
---|
| 78 | for managing disks and storage devices. |
---|
| 79 | |
---|
| 80 | %package devel |
---|
| 81 | Summary: D-Bus interface definitions for udisks |
---|
| 82 | Group: Development/Libraries |
---|
| 83 | Requires: %{name} = %{version}-%{release} |
---|
| 84 | |
---|
| 85 | # See comment above |
---|
| 86 | # |
---|
| 87 | %description devel |
---|
| 88 | D-Bus interface definitions and documentation for udisks. |
---|
| 89 | |
---|
| 90 | |
---|
[7938] | 91 | %package docs |
---|
[6011] | 92 | Summary: Documentation for udisks2 |
---|
| 93 | Group: Documentation |
---|
| 94 | Requires: %{name} = %{version}-%{release} |
---|
[7938] | 95 | BuildArch: noarch |
---|
| 96 | Provides: %{name}-doc = %{version}-%{release} |
---|
[6011] | 97 | |
---|
[7938] | 98 | %description docs |
---|
[6011] | 99 | This package contains documentation for udisks2. |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %prep |
---|
| 103 | %setup -q -n udisks-%{version} |
---|
| 104 | |
---|
| 105 | %build |
---|
| 106 | %configure \ |
---|
[9578] | 107 | --sbindir=%{_syssbindir} \ |
---|
[6011] | 108 | --enable-gtk-doc |
---|
| 109 | make |
---|
| 110 | |
---|
| 111 | %install |
---|
| 112 | rm -rf $RPM_BUILD_ROOT |
---|
| 113 | |
---|
| 114 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 115 | |
---|
| 116 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
| 117 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
| 118 | |
---|
[6081] | 119 | mkdir $RPM_BUILD_ROOT/run |
---|
| 120 | |
---|
[6011] | 121 | %find_lang %{name} |
---|
| 122 | |
---|
| 123 | %clean |
---|
| 124 | rm -rf $RPM_BUILD_ROOT |
---|
| 125 | |
---|
| 126 | %post -p /sbin/ldconfig |
---|
| 127 | |
---|
| 128 | %postun -p /sbin/ldconfig |
---|
| 129 | |
---|
| 130 | %files -f %{name}.lang |
---|
| 131 | %defattr(-,root,root,-) |
---|
| 132 | %doc README AUTHORS NEWS COPYING HACKING |
---|
| 133 | %{_sysconfdir}/dbus-1/system.d/org.freedesktop.UDisks2.conf |
---|
| 134 | /lib/udev/rules.d/80-udisks2.rules |
---|
| 135 | %{_bindir}/udisksctl |
---|
[9578] | 136 | %{_syssbindir}/umount.udisks2 |
---|
[9715] | 137 | %{_libexecdir}/udisks2/udisksd |
---|
[6011] | 138 | %{_libdir}/libudisks2.so.* |
---|
| 139 | %{_libdir}/girepository-1.0/UDisks-2.0.typelib |
---|
[6951] | 140 | %{_datadir}/bash-completion/completions/udisksctl |
---|
[6011] | 141 | %{_datadir}/dbus-1/system-services/org.freedesktop.UDisks2.service |
---|
| 142 | %{_datadir}/polkit-1/actions/org.freedesktop.udisks2.policy |
---|
| 143 | %{_mandir}/man1/* |
---|
| 144 | %{_mandir}/man8/* |
---|
| 145 | %attr(0700,root,root) %dir %{_localstatedir}/lib/udisks2 |
---|
[6081] | 146 | %attr(0755,root,root) %dir /run |
---|
[6011] | 147 | |
---|
| 148 | %files devel |
---|
| 149 | %defattr(-,root,root,-) |
---|
| 150 | %{_includedir}/udisks2 |
---|
| 151 | %{_libdir}/libudisks2.so |
---|
| 152 | %{_libdir}/pkgconfig/udisks2.pc |
---|
| 153 | %{_datadir}/gir-1.0/UDisks-2.0.gir |
---|
| 154 | |
---|
[7938] | 155 | %files docs |
---|
[6011] | 156 | %defattr(-,root,root,-) |
---|
| 157 | %{_datadir}/gtk-doc/html/%{name} |
---|
| 158 | |
---|
| 159 | # |
---|
| 160 | %changelog |
---|
[9715] | 161 | * Sun Aug 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.6-1 |
---|
| 162 | - new upstream release |
---|
| 163 | |
---|
[9578] | 164 | * Sun May 24 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.5-2 |
---|
| 165 | - remove unused files |
---|
| 166 | - change path of umount.udisks2 |
---|
| 167 | |
---|
[9502] | 168 | * Sun Apr 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.5-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
[9192] | 171 | * Thu Dec 25 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.4-1 |
---|
| 172 | - new upstream release |
---|
| 173 | |
---|
[8732] | 174 | * Thu Jul 03 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.3-3 |
---|
| 175 | - change BuildRequires: eudev-libgudev1-devel instead of libgudev1-devel |
---|
| 176 | - change BuildRequires: eudev-libudev-devel instead of libudev-devel |
---|
| 177 | |
---|
[8353] | 178 | * Sun Mar 30 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.3-1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
[8119] | 181 | * Sat Jan 04 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-2 |
---|
| 182 | - rebuild with VineSeed environment |
---|
| 183 | |
---|
[7938] | 184 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.1-1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
[7582] | 187 | * Thu Mar 21 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.1.0-1 |
---|
| 188 | - new upstream release |
---|
| 189 | |
---|
[7294] | 190 | * Thu Jan 03 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.1-1 |
---|
| 191 | - new upstream release |
---|
| 192 | |
---|
[6951] | 193 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0-1 |
---|
| 194 | - new upstream release |
---|
| 195 | |
---|
[6890] | 196 | * Sat Sep 29 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.99.0-1 |
---|
| 197 | - new upstream release |
---|
| 198 | |
---|
[6304] | 199 | * Sun Jun 10 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.98.0-1 |
---|
| 200 | - new upstream release |
---|
| 201 | - add BuildRequires: libacl-devel |
---|
| 202 | |
---|
[6011] | 203 | * Sun Apr 15 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.94.0-1 |
---|
| 204 | - Initial build for Vine Linux |
---|
| 205 | |
---|