source: projects/specs/trunk/D/DeviceKit-disks/DeviceKit-disks-vl.spec @ 521

Revision 521, 7.9 KB checked in by daisuke, 12 years ago (diff)

import VineSeed package specs

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