123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297 |
- %define dbus_version 1.2
- %define dbus_glib_version 0.76
- %define glib2_version 2.24
- %define gtk2_version 2.17.2
- %define gnome_doc_utils_version 0.3.2
- %define libgnome_keyring_version 2.30
- %define udisks_version 1.0.0
- %define unique_version 1.0.4
- %define libnotify_version 0.4.5
- %define nautilus_version 2.30
- %define libatasmart_version 0.14
- %define avahi_version 0.6.25
- Summary: Disk management application
- Summary(ja): ディスク管理アプリケーション
- Name: gnome-disk-utility
- Version: 2.30.1
- Release: 1%{?_dist_release}
- License: LGPLv2+
- Group: System Environment/Libraries
- URL: http://git.gnome.org/cgit/gnome-disk-utility
- Source0: %{name}-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
- BuildRequires: dbus-devel >= %{dbus_version}
- BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
- BuildRequires: dbus-glib >= %{dbus_glib_version}
- BuildRequires: glib2-devel >= %{glib2_version}
- BuildRequires: gtk2-devel >= %{gtk2_version}
- BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
- BuildRequires: gettext
- BuildRequires: desktop-file-utils
- BuildRequires: libgnome-keyring-devel >= %{libgnome_keyring_version}
- BuildRequires: udisks-devel >= %{udisks_version}
- BuildRequires: unique-devel >= %{unique_version}
- BuildRequires: libnotify-devel >= %{libnotify_version}
- BuildRequires: nautilus-devel >= %{nautilus_version}
- BuildRequires: libatasmart-devel >= %{libatasmart_version}
- BuildRequires: avahi-ui-devel >= %{avahi_version}
- BuildRequires: intltool
- Requires(post): scrollkeeper
- Requires(postun): scrollkeeper
- Requires: %{name}-libs = %{version}-%{release}
- Obsoletes: gnome-disk-utility-format
- Obsoletes: nautilus-gdu
- %description
- This package contains the Palimpsest disk management application.
- Palimpsest supports partitioning, file system creation, encryption,
- RAID, SMART monitoring, etc.
- %package libs
- Summary: Shared libraries used by Palimpsest
- Summary(ja): Shared libraries used by Palimpsest
- Group: Development/Libraries
- Requires: udisks
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- %description libs
- This package contains libraries that are used by the Palimpsest
- disk management application. The libraries in this package do not
- contain UI-related code.
- %package ui-libs
- Summary: Shared libraries used by Palimpsest
- Summary(ja): Shared libraries used by Palimpsest
- Group: Development/Libraries
- Requires: %{name}-libs = %{version}-%{release}
- Requires(post): /sbin/ldconfig
- Requires(postun): /sbin/ldconfig
- %description ui-libs
- This package contains libraries that are used by the Palimpsest
- disk management application. The libraries in this package contain
- disk-related widgets for use in GTK+ applications.
- %package devel
- Summary: Development files for gnome-disk-utility-libs
- Summary(ja): Development files for gnome-disk-utility-libs
- Group: Development/Libraries
- Requires: %{name}-libs = %{version}-%{release}
- Requires: glib2-devel
- Requires: pkgconfig
- %description devel
- This package contains header files and libraries needed to
- develop applications with gnome-disk-utility-libs.
- %package ui-devel
- Summary: Development files for gnome-disk-utility-ui-libs
- Summary(ja): Development files for gnome-disk-utility-ui-libs
- Group: Development/Libraries
- Requires: %{name}-ui-libs = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- Requires: gtk2-devel
- Requires: pkgconfig
- %description ui-devel
- This package contains header files and libraries needed to
- develop applications with gnome-disk-utility-ui-libs.
- %prep
- %setup -q
- %build
- %configure
- make
- %install
- rm -rf $RPM_BUILD_ROOT
- make install DESTDIR=$RPM_BUILD_ROOT
- # TODO: upstream doesn't ship a HACKING file yet
- echo " " > HACKING
- desktop-file-install --delete-original \
- --dir $RPM_BUILD_ROOT%{_datadir}/applications \
- $RPM_BUILD_ROOT%{_datadir}/applications/palimpsest.desktop
- desktop-file-install --delete-original \
- --dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \
- $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
- rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
- rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
- rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.la
- rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-2.0/*.a
- %find_lang %{name}
- %clean
- rm -rf $RPM_BUILD_ROOT
- %post
- scrollkeeper-update
- update-desktop-database %{_datadir}/applications &> /dev/null
- %postun
- scrollkeeper-update
- update-desktop-database %{_datadir}/applications &> /dev/null
- %post libs
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- /sbin/ldconfig
- %postun libs
- touch --no-create %{_datadir}/icons/hicolor
- if [ -x /usr/bin/gtk-update-icon-cache ]; then
- gtk-update-icon-cache -q %{_datadir}/icons/hicolor
- fi
- /sbin/ldconfig
- %post ui-libs -p /sbin/ldconfig
- %postun ui-libs -p /sbin/ldconfig
- %files
- %defattr(-,root,root,-)
- %{_libexecdir}/gdu-notification-daemon
- %{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
- %{_libdir}/nautilus/extensions-2.0/*.so
- %{_libexecdir}/gdu-format-tool
- %{_bindir}/palimpsest
- %{_datadir}/applications/palimpsest.desktop
- %dir %{_datadir}/gnome/help/palimpsest
- %{_datadir}/gnome/help/palimpsest/*
- %dir %{_datadir}/omf/palimpsest
- %{_datadir}/omf/palimpsest/*
- %files libs -f %{name}.lang
- %defattr(-,root,root,-)
- %doc README AUTHORS NEWS COPYING HACKING doc/TODO
- %{_libdir}/libgdu.so.*
- # Yes, it's a bit weird to include icons in the non-UI package but the
- # library returns references to these icons
- %{_datadir}/icons/hicolor/*/apps/*.png
- %{_datadir}/icons/hicolor/scalable/apps/*.svg
- %files ui-libs
- %defattr(-,root,root,-)
- %{_libdir}/libgdu-gtk.so.*
- %files devel
- %defattr(-,root,root,-)
- %{_libdir}/libgdu.so
- %{_libdir}/pkgconfig/gdu.pc
- %dir %{_includedir}/gnome-disk-utility
- %dir %{_includedir}/gnome-disk-utility/gdu
- %{_includedir}/gnome-disk-utility/gdu/*
- # TODO: upstream needs to split docs for libgdu and libgdu-gtk
- %dir %{_datadir}/gtk-doc/html/gnome-disk-utility
- %{_datadir}/gtk-doc/html/gnome-disk-utility/*
- %files ui-devel
- %defattr(-,root,root,-)
- %{_libdir}/libgdu-gtk.so
- %{_libdir}/pkgconfig/gdu-gtk.pc
- %dir %{_includedir}/gnome-disk-utility/gdu-gtk
- %{_includedir}/gnome-disk-utility/gdu-gtk/*
- %changelog
- * Thu Apr 08 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.1-1
- - new upstream release
- - change BuildRequires: DeviceKit-disks-devel -> udisks-devel
- - change Requires: DeviceKit-disks -> udisks
- - add BuildRequires: avahi-ui-devel
- * Wed Nov 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.28.1-1
- - initial build for Vine Linux
- * Mon Nov 2 2009 David Zeuthen <davidz@redhat.com> - 2.28.1-1%{?dist}
- - Update to 2.28.1
- * Tue Oct 13 2009 Tomas Bzatek <tbzatek@redhat.com> - 2.28.0-5%{?dist}
- - Fix nautilus crashes by proper object referencing
- * Mon Oct 5 2009 Matthias Clasen <mclasen@redhat.com> - 2.28.0-4%{?dist}
- - Incorporate fixes for translation issues from the stable upstream branch
- * Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-2%{?dist}
- - BR libatasmart-devel
- * Fri Sep 18 2009 David Zeuthen <davidz@redhat.com> - 2.28.0-1%{?dist}
- - Update to upstream release 2.28.0
- - Compared to previous releases, this release should whine less about SMART
- * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-3%{?dist}
- - Drop upstreamed patch
- * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-2%{?dist}
- - Rebuild
- * Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-1%{?dist}
- - Update to release 0.5
- * Mon Jul 27 2009 Matthias Clasen <mclasen@redhat.com> - 0.4-3%{?dist}
- - Drop PolicyKit from .pc files, too
- * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4-2
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 0.4-1%{?dist}
- - Update to release 0.4
- * Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 0.3-1%{?dist}
- - Upstream release 0.3
- * Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.5.20090415git%{?dist}
- - New snapshot
- * Sun Apr 12 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.4.20090412git%{?dist}
- - New snapshot
- * Fri Apr 10 2009 Matthias Clasen <mclasen@redhat.com> - 0.3-0.3.20090406git%{?dist}
- - Don't own directories that belong to hicolor-icon-theme
- * Wed Apr 08 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.2.20090406git%{?dist}
- - Fix bug in detecting when a PolicyKit error is returned (#494787)
- * Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.1.20090406git%{?dist}
- - New snapshot
- * Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 0.2-2%{?dist}
- - Don't crash when changing the LUKS passphrase on a device
- * Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 0.2-1%{?dist}
- - Update to version 0.2
- * Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-0.git20080720.2.1
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Tue Jan 27 2009 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.2%{?dist}
- - Rebuild for pkgconfig provides
- * Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.1%{?dist}
- - Improve %%summary and %%description
- * Fri Jul 20 2008 David Zeuthen <davidz@redhat.com> - 0.1-0.git20080720%{?dist}
- - Initial Packaging
|