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