1 | %define dbus_version 1.4.0 |
---|
2 | %define dbus_glib_version 0.88 |
---|
3 | %define glib2_version 2.26.0 |
---|
4 | %define gtk2_version 2.22.0 |
---|
5 | %define gnome_doc_utils_version 0.3.2 |
---|
6 | %define libgnome_keyring_version 2.32 |
---|
7 | %define udisks_version 1.0.1 |
---|
8 | %define unique_version 1.0.4 |
---|
9 | %define libnotify_version 0.4.5 |
---|
10 | %define nautilus_version 2.32 |
---|
11 | %define libatasmart_version 0.14 |
---|
12 | %define avahi_version 0.6.25 |
---|
13 | |
---|
14 | Summary: Disk management application |
---|
15 | Summary(ja): ディスク管理アプリケーション |
---|
16 | Name: gnome-disk-utility |
---|
17 | Version: 2.32.0 |
---|
18 | Release: 1%{?_dist_release} |
---|
19 | License: LGPLv2+ |
---|
20 | Group: System Environment/Libraries |
---|
21 | URL: http://git.gnome.org/cgit/gnome-disk-utility |
---|
22 | Source0: %{name}-%{version}.tar.bz2 |
---|
23 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
24 | BuildRequires: dbus-devel >= %{dbus_version} |
---|
25 | BuildRequires: dbus-glib-devel >= %{dbus_glib_version} |
---|
26 | BuildRequires: dbus-glib >= %{dbus_glib_version} |
---|
27 | BuildRequires: glib2-devel >= %{glib2_version} |
---|
28 | BuildRequires: gtk2-devel >= %{gtk2_version} |
---|
29 | BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version} |
---|
30 | BuildRequires: gettext |
---|
31 | BuildRequires: desktop-file-utils |
---|
32 | BuildRequires: libgnome-keyring-devel >= %{libgnome_keyring_version} |
---|
33 | BuildRequires: udisks-devel >= %{udisks_version} |
---|
34 | BuildRequires: unique-devel >= %{unique_version} |
---|
35 | BuildRequires: libnotify-devel >= %{libnotify_version} |
---|
36 | BuildRequires: nautilus-devel >= %{nautilus_version} |
---|
37 | BuildRequires: libatasmart-devel >= %{libatasmart_version} |
---|
38 | BuildRequires: avahi-ui-devel >= %{avahi_version} |
---|
39 | BuildRequires: intltool |
---|
40 | Requires(post): scrollkeeper |
---|
41 | Requires(postun): scrollkeeper |
---|
42 | Requires: %{name}-libs = %{version}-%{release} |
---|
43 | Obsoletes: gnome-disk-utility-format |
---|
44 | Obsoletes: nautilus-gdu |
---|
45 | |
---|
46 | %description |
---|
47 | This package contains the Palimpsest disk management application. |
---|
48 | Palimpsest supports partitioning, file system creation, encryption, |
---|
49 | RAID, SMART monitoring, etc. |
---|
50 | |
---|
51 | %package libs |
---|
52 | Summary: Shared libraries used by Palimpsest |
---|
53 | Summary(ja): Shared libraries used by Palimpsest |
---|
54 | Group: Development/Libraries |
---|
55 | Requires: udisks |
---|
56 | Requires(post): /sbin/ldconfig |
---|
57 | Requires(postun): /sbin/ldconfig |
---|
58 | |
---|
59 | %description libs |
---|
60 | This package contains libraries that are used by the Palimpsest |
---|
61 | disk management application. The libraries in this package do not |
---|
62 | contain UI-related code. |
---|
63 | |
---|
64 | %package ui-libs |
---|
65 | Summary: Shared libraries used by Palimpsest |
---|
66 | Summary(ja): Shared libraries used by Palimpsest |
---|
67 | Group: Development/Libraries |
---|
68 | Requires: %{name}-libs = %{version}-%{release} |
---|
69 | Requires(post): /sbin/ldconfig |
---|
70 | Requires(postun): /sbin/ldconfig |
---|
71 | |
---|
72 | %description ui-libs |
---|
73 | This package contains libraries that are used by the Palimpsest |
---|
74 | disk management application. The libraries in this package contain |
---|
75 | disk-related widgets for use in GTK+ applications. |
---|
76 | |
---|
77 | %package devel |
---|
78 | Summary: Development files for gnome-disk-utility-libs |
---|
79 | Summary(ja): Development files for gnome-disk-utility-libs |
---|
80 | Group: Development/Libraries |
---|
81 | Requires: %{name}-libs = %{version}-%{release} |
---|
82 | Requires: glib2-devel |
---|
83 | Requires: pkgconfig |
---|
84 | |
---|
85 | %description devel |
---|
86 | This package contains header files and libraries needed to |
---|
87 | develop applications with gnome-disk-utility-libs. |
---|
88 | |
---|
89 | %package ui-devel |
---|
90 | Summary: Development files for gnome-disk-utility-ui-libs |
---|
91 | Summary(ja): Development files for gnome-disk-utility-ui-libs |
---|
92 | Group: Development/Libraries |
---|
93 | Requires: %{name}-ui-libs = %{version}-%{release} |
---|
94 | Requires: %{name}-devel = %{version}-%{release} |
---|
95 | Requires: gtk2-devel |
---|
96 | Requires: pkgconfig |
---|
97 | |
---|
98 | %description ui-devel |
---|
99 | This package contains header files and libraries needed to |
---|
100 | develop applications with gnome-disk-utility-ui-libs. |
---|
101 | |
---|
102 | %prep |
---|
103 | %setup -q |
---|
104 | |
---|
105 | %build |
---|
106 | %configure |
---|
107 | make |
---|
108 | |
---|
109 | %install |
---|
110 | rm -rf $RPM_BUILD_ROOT |
---|
111 | |
---|
112 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
113 | |
---|
114 | # TODO: upstream doesn't ship a HACKING file yet |
---|
115 | echo " " > HACKING |
---|
116 | |
---|
117 | desktop-file-install --delete-original \ |
---|
118 | --dir $RPM_BUILD_ROOT%{_datadir}/applications \ |
---|
119 | $RPM_BUILD_ROOT%{_datadir}/applications/palimpsest.desktop |
---|
120 | |
---|
121 | desktop-file-install --delete-original \ |
---|
122 | --dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \ |
---|
123 | $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop |
---|
124 | |
---|
125 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
126 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.a |
---|
127 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la |
---|
128 | rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.a |
---|
129 | |
---|
130 | |
---|
131 | %find_lang %{name} |
---|
132 | |
---|
133 | %clean |
---|
134 | rm -rf $RPM_BUILD_ROOT |
---|
135 | |
---|
136 | %post |
---|
137 | scrollkeeper-update |
---|
138 | update-desktop-database %{_datadir}/applications &> /dev/null |
---|
139 | |
---|
140 | %postun |
---|
141 | scrollkeeper-update |
---|
142 | update-desktop-database %{_datadir}/applications &> /dev/null |
---|
143 | |
---|
144 | %post libs |
---|
145 | touch --no-create %{_datadir}/icons/hicolor |
---|
146 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
147 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
148 | fi |
---|
149 | /sbin/ldconfig |
---|
150 | |
---|
151 | %postun libs |
---|
152 | touch --no-create %{_datadir}/icons/hicolor |
---|
153 | if [ -x /usr/bin/gtk-update-icon-cache ]; then |
---|
154 | gtk-update-icon-cache -q %{_datadir}/icons/hicolor |
---|
155 | fi |
---|
156 | /sbin/ldconfig |
---|
157 | |
---|
158 | %post ui-libs -p /sbin/ldconfig |
---|
159 | |
---|
160 | %postun ui-libs -p /sbin/ldconfig |
---|
161 | |
---|
162 | %files |
---|
163 | %defattr(-,root,root,-) |
---|
164 | |
---|
165 | %{_libexecdir}/gdu-notification-daemon |
---|
166 | %{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop |
---|
167 | %{_libdir}/nautilus/extensions-2.0/*.so |
---|
168 | %{_libexecdir}/gdu-format-tool |
---|
169 | |
---|
170 | %{_bindir}/palimpsest |
---|
171 | %{_datadir}/applications/palimpsest.desktop |
---|
172 | |
---|
173 | %dir %{_datadir}/gnome/help/palimpsest |
---|
174 | %{_datadir}/gnome/help/palimpsest/* |
---|
175 | |
---|
176 | %dir %{_datadir}/omf/palimpsest |
---|
177 | %{_datadir}/omf/palimpsest/* |
---|
178 | |
---|
179 | %files libs -f %{name}.lang |
---|
180 | %defattr(-,root,root,-) |
---|
181 | |
---|
182 | %doc README AUTHORS NEWS COPYING HACKING doc/TODO |
---|
183 | |
---|
184 | %{_libdir}/libgdu.so.* |
---|
185 | |
---|
186 | # Yes, it's a bit weird to include icons in the non-UI package but the |
---|
187 | # library returns references to these icons |
---|
188 | %{_datadir}/icons/hicolor/*/apps/*.png |
---|
189 | %{_datadir}/icons/hicolor/scalable/apps/*.svg |
---|
190 | |
---|
191 | %files ui-libs |
---|
192 | %defattr(-,root,root,-) |
---|
193 | |
---|
194 | %{_libdir}/libgdu-gtk.so.* |
---|
195 | |
---|
196 | %files devel |
---|
197 | %defattr(-,root,root,-) |
---|
198 | |
---|
199 | %{_libdir}/libgdu.so |
---|
200 | %{_libdir}/pkgconfig/gdu.pc |
---|
201 | |
---|
202 | %dir %{_includedir}/gnome-disk-utility |
---|
203 | %dir %{_includedir}/gnome-disk-utility/gdu |
---|
204 | %{_includedir}/gnome-disk-utility/gdu/* |
---|
205 | |
---|
206 | %files ui-devel |
---|
207 | %defattr(-,root,root,-) |
---|
208 | |
---|
209 | %{_libdir}/libgdu-gtk.so |
---|
210 | %{_libdir}/pkgconfig/gdu-gtk.pc |
---|
211 | |
---|
212 | %dir %{_includedir}/gnome-disk-utility/gdu-gtk |
---|
213 | %{_includedir}/gnome-disk-utility/gdu-gtk/* |
---|
214 | |
---|
215 | %changelog |
---|
216 | * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1 |
---|
217 | - new upstream release |
---|
218 | - fix %files |
---|
219 | |
---|
220 | * Thu Apr 08 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1 |
---|
221 | - new upstream release |
---|
222 | - change BuildRequires: DeviceKit-disks-devel -> udisks-devel |
---|
223 | - change Requires: DeviceKit-disks -> udisks |
---|
224 | - add BuildRequires: avahi-ui-devel |
---|
225 | |
---|
226 | * Wed Nov 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.1-1 |
---|
227 | - initial build for Vine Linux |
---|
228 | |
---|
229 | * Mon Nov 2 2009 David Zeuthen <davidz@redhat.com> - 2.28.1-1%{?dist} |
---|
230 | - Update to 2.28.1 |
---|
231 | |
---|
232 | * Tue Oct 13 2009 Tomas Bzatek <tbzatek@redhat.com> - 2.28.0-5%{?dist} |
---|
233 | - Fix nautilus crashes by proper object referencing |
---|
234 | |
---|
235 | * Mon Oct 5 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-4%{?dist} |
---|
236 | - Incorporate fixes for translation issues from the stable upstream branch |
---|
237 | |
---|
238 | * Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-2%{?dist} |
---|
239 | - BR libatasmart-devel |
---|
240 | |
---|
241 | * Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-1%{?dist} |
---|
242 | - Update to upstream release 2.28.0 |
---|
243 | - Compared to previous releases, this release should whine less about SMART |
---|
244 | |
---|
245 | * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-3%{?dist} |
---|
246 | - Drop upstreamed patch |
---|
247 | |
---|
248 | * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-2%{?dist} |
---|
249 | - Rebuild |
---|
250 | |
---|
251 | * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-1%{?dist} |
---|
252 | - Update to release 0.5 |
---|
253 | |
---|
254 | * Mon Jul 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.4-3%{?dist} |
---|
255 | - Drop PolicyKit from .pc files, too |
---|
256 | |
---|
257 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2 |
---|
258 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
259 | |
---|
260 | * Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 0.4-1%{?dist} |
---|
261 | - Update to release 0.4 |
---|
262 | |
---|
263 | * Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 0.3-1%{?dist} |
---|
264 | - Upstream release 0.3 |
---|
265 | |
---|
266 | * Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.5.20090415git%{?dist} |
---|
267 | - New snapshot |
---|
268 | |
---|
269 | * Sun Apr 12 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.4.20090412git%{?dist} |
---|
270 | - New snapshot |
---|
271 | |
---|
272 | * Fri Apr 10 2009 Matthias Clasen <mclasen@redhat.com> - 0.3-0.3.20090406git%{?dist} |
---|
273 | - Don't own directories that belong to hicolor-icon-theme |
---|
274 | |
---|
275 | * Wed Apr 08 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.2.20090406git%{?dist} |
---|
276 | - Fix bug in detecting when a PolicyKit error is returned (#494787) |
---|
277 | |
---|
278 | * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.1.20090406git%{?dist} |
---|
279 | - New snapshot |
---|
280 | |
---|
281 | * Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 0.2-2%{?dist} |
---|
282 | - Don't crash when changing the LUKS passphrase on a device |
---|
283 | |
---|
284 | * Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 0.2-1%{?dist} |
---|
285 | - Update to version 0.2 |
---|
286 | |
---|
287 | * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.git20080720.2.1 |
---|
288 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
289 | |
---|
290 | * Tue Jan 27 2009 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.2%{?dist} |
---|
291 | - Rebuild for pkgconfig provides |
---|
292 | |
---|
293 | * Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.1%{?dist} |
---|
294 | - Improve %%summary and %%description |
---|
295 | |
---|
296 | * Fri Jul 20 2008 David Zeuthen <davidz@redhat.com> - 0.1-0.git20080720%{?dist} |
---|
297 | - Initial Packaging |
---|