/[pkgs]/devel/DeviceKit-disks/DeviceKit-disks.spec
ViewVC logotype

Contents of /devel/DeviceKit-disks/DeviceKit-disks.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.34 - (show annotations) (download)
Mon Oct 5 18:42:18 2009 UTC (6 weeks, 6 days ago) by davidz
Branch: MAIN
CVS Tags: DeviceKit-disks-007-2_fc12, HEAD
Changes since 1.33: +7 -1 lines
* Mon Oct 05 2009 David Zeuthen <davidz@redhat.com> - 007-2%{?dist}
- Actually inhibit the daemon (#527091)
1 %define glib2_version 2.6.0
2 %define dbus_version 1.2
3 %define dbus_glib_version 0.76
4 %define polkit_version 0.92
5 %define parted_version 1.8.8
6 %define udev_version 145
7 %define mdadm_version 2.6.7
8 %define device_mapper_version 1.02
9 %define libatasmart_version 0.12
10 %define sg3_utils_version 1.27
11
12 Summary: Disk Management Service
13 Name: DeviceKit-disks
14 Version: 007
15 Release: 2%{?dist}
16 License: GPLv2+
17 Group: System Environment/Libraries
18 URL: http://cgit.freedesktop.org/DeviceKit/DeviceKit-disks/
19 Source0: %{name}-%{version}.tar.gz
20 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
21 BuildRequires: glib2-devel >= %{glib2_version}
22 BuildRequires: dbus-devel >= %{dbus_version}
23 BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
24 BuildRequires: polkit-devel >= %{polkit_version}
25 BuildRequires: parted-devel >= %{parted_version}
26 BuildRequires: device-mapper-devel >= %{device_mapper_version}
27 BuildRequires: intltool
28 BuildRequires: libatasmart-devel >= %{libatasmart_version}
29 BuildRequires: zlib-devel
30 BuildRequires: libgudev1-devel >= %{udev_version}
31 BuildRequires: libudev-devel >= %{udev_version}
32 BuildRequires: sg3_utils-devel >= %{sg3_utils_version}
33 Requires: dbus >= %{dbus_version}
34 Requires: dbus-glib >= %{dbus_glib_version}
35 Requires: glib2 >= %{glib2_version}
36 Requires: polkit >= %{polkit_version}
37 Requires: parted >= %{parted_version}
38 Requires: udev >= %{udev_version}
39 Requires: mdadm >= %{mdadm_version}
40 Requires: libatasmart >= %{libatasmart_version}
41 Requires: zlib
42 # for mount, umount, mkswap
43 Requires: util-linux-ng
44 # for mkfs.ext3, mkfs.ext3, e2label
45 Requires: e2fsprogs
46 # for mkfs.xfs, xfs_admin
47 Requires: xfsprogs
48 # for mkfs.vfat
49 Requires: dosfstools
50 # for mlabel
51 Requires: mtools
52 # for mkntfs
53 # no ntfsprogs on ppc, though
54 %ifnarch ppc ppc64
55 Requires: ntfsprogs
56 %endif
57
58 Patch0: 0001-Actually-inhibit-the-daemon-when-Inhibit-is-called.patch
59
60 # for /proc/self/mountinfo, only available in 2.6.26 or higher
61 Conflicts: kernel < 2.6.26
62
63 %description
64 DeviceKit-disks provides a daemon, D-Bus API and command line tools
65 for managing disks and storage devices.
66
67 %package devel
68 Summary: D-Bus interface definitions for DeviceKit-disks
69 Group: Development/Libraries
70 Requires: %{name} = %{version}-%{release}
71 # stupid guidelines require this for ownership of /usr/share/gtk-doc
72 Requires: gtk-doc
73
74 %description devel
75 D-Bus interface definitions for DeviceKit-disks.
76
77 %prep
78 %setup -q
79 %patch0 -p1
80
81 %build
82 %configure --enable-gtk-doc
83 make
84
85 %install
86 rm -rf $RPM_BUILD_ROOT
87
88 make install DESTDIR=$RPM_BUILD_ROOT
89
90 rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
91 rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
92
93 rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.la
94 rm -f $RPM_BUILD_ROOT%{_libdir}/polkit-1/extensions/*.a
95
96 # TODO: should be fixed upstream
97 chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/profile.d/devkit-disks-bash-completion.sh
98
99 %find_lang %{name}
100
101 %clean
102 rm -rf $RPM_BUILD_ROOT
103
104 %files -f %{name}.lang
105 %defattr(-,root,root,-)
106
107 %doc README AUTHORS NEWS COPYING HACKING doc/TODO
108
109 %{_sysconfdir}/dbus-1/system.d/*.conf
110 %{_sysconfdir}/profile.d/*.sh
111 /lib/udev/rules.d/*.rules
112
113 /lib/udev/devkit-disks-part-id
114 /lib/udev/devkit-disks-dm-export
115 /lib/udev/devkit-disks-probe-ata-smart
116 /sbin/umount.devkit
117
118 %{_bindir}/*
119 %{_libexecdir}/*
120
121 %{_mandir}/man1/*
122 %{_mandir}/man7/*
123 %{_mandir}/man8/*
124
125 %{_datadir}/pkgconfig/DeviceKit-disks.pc
126
127 %{_datadir}/polkit-1/actions/*.policy
128
129 %{_libdir}/polkit-1/extensions/*.so
130
131 %{_datadir}/dbus-1/system-services/*.service
132
133 %attr(0770,root,root) %dir %{_localstatedir}/run/DeviceKit-disks
134 %attr(0770,root,root) %dir %{_localstatedir}/lib/DeviceKit-disks
135
136 %files devel
137 %defattr(-,root,root,-)
138
139 %{_datadir}/dbus-1/interfaces/*.xml
140
141 %dir %{_datadir}/gtk-doc/html/devkit-disks
142 %{_datadir}/gtk-doc/html/devkit-disks/*
143
144 # Note: please don't forget the %{?dist} in the changelog. Thanks
145 %changelog
146 * Mon Oct 05 2009 David Zeuthen <davidz@redhat.com> - 007-2%{?dist}
147 - Actually inhibit the daemon (#527091)
148
149 * Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 007-1%{?dist}
150 - Update to release 007
151
152 * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 006-1%{?dist}
153 - Update to release 006
154
155 * Fri Aug 07 2009 David Zeuthen <davidz@redhat.com> - 005-5%{?dist}
156 - Update for new libatasmart version
157
158 * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 005-4
159 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
160
161 * Sun Jul 12 2009 Matthias Clasen <mclasen@redhat.com> - 005-3.f12
162 - Rebuild
163
164 * Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 005-2%{?dist}
165 - Fix BR
166
167 * Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 005-1%{?dist}
168 - Update to release 005
169
170 * Tue May 19 2009 David Zeuthen <davidz@redhat.com> - 004-3%{?dist}
171 - Avoid checking whether device is ATA SMART capable if the device reports
172 removable media (#494932)
173
174 * Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 004-2%{?dist}
175 - Rebuild
176
177 * Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 004-1%{?dist}
178 - Upstream release 004
179
180 * Thu Apr 16 2009 David Zeuthen <davidz@redhat.com> - 004-0.10.20090415git%{?dist}
181 - Properly detect vfat on whole disk devices (#495876)
182
183 * Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 004-0.9.20090415git%{?dist}
184 - Rebuild
185
186 * Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 004-0.8.20090415git%{?dist}
187 - New snapshot
188
189 * Sun Apr 12 2009 David Zeuthen <davidz@redhat.com> - 004-0.7.20090412git%{?dist}
190 - New snapshot
191
192 * Thu Apr 09 2009 David Zeuthen <davidz@redhat.com> - 004-0.6.20090408git%{?dist}
193 - use correct dmode for iso9660 mounts (#495018)
194
195 * Wed Apr 08 2009 David Zeuthen <davidz@redhat.com> - 004-0.5.20090408git%{?dist}
196 - New snapshot
197
198 * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 004-0.4.20090406git%{?dist}
199 - Rebuild
200
201 * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 004-0.3.20090406git%{?dist}
202 - BR libudev-devel
203
204 * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 004-0.2.20090406git%{?dist}
205 - New snapshot, this time with the right date
206
207 * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 004-0.1.20080406git%{?dist}
208 - New snapshot
209
210 * Fri Mar 27 2009 Matthias Clasen <mclasen@redhat.com> - 003-9.f11
211 - Don't require ntfsprogs on ppc, where it doesn't exist
212
213 * Wed Mar 25 2009 Matthias Clasen <mclasen@redhat.com> - 003-8.f11
214 - Add dependencies to for all the cmdline tools we use (#490670)
215
216 * Thu Mar 19 2009 David Zeuthen <davidz@redhat.com> - 003-7%{?dist}
217 - Make sure dm devices are marked as system-internal (#489397)
218
219 * Tue Mar 10 2009 Matthias Clasen <mclasen@redhat.com> - 003-6%{?dist}
220 - Fix the previous patch
221
222 * Fri Mar 6 2009 Matthias Clasen <mclasen@redhat.com> - 003-5%{?dist}
223 - Handle -- correctly in devkit-disks
224
225 * Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 003-3%{?dist}
226 - Add --dump option to devkit-disks(1) to help with debugging
227 - Allow authorized users to unmount /etc/fstab mounts
228
229 * Tue Mar 03 2009 David Zeuthen <davidz@redhat.com> - 003-2%{?dist}
230 - Identify mounts using dev_t, not device files (#488258)
231
232 * Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 003-1%{?dist}
233 - Update to version 003
234
235 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-3.git20080720
236 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
237
238 * Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 002-2.git20080720
239 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
240
241 * Thu Dec 11 2008 Colin Walters <walters@verbum.org> - 002-1.git20080720
242 - Add dbus permissions patch
243
244 * Fri Jul 20 2008 David Zeuthen <davidz@redhat.com> - 002-0.git20080720%{?dist}
245 - Initial packaging

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2