|
@@ -1,48 +1,42 @@
|
|
|
-%define dbus_version 1.4.0
|
|
|
-%define dbus_glib_version 0.88
|
|
|
-%define glib2_version 2.26.0
|
|
|
-%define gtk2_version 2.22.0
|
|
|
+%define glib2_version 2.32.0
|
|
|
+%define gtk3_version 3.4.0
|
|
|
%define gnome_doc_utils_version 0.3.2
|
|
|
-%define libgnome_keyring_version 2.32
|
|
|
-%define udisks_version 1.0.1
|
|
|
-%define unique_version 1.0.4
|
|
|
-%define libnotify_version 0.4.5
|
|
|
-%define nautilus_version 2.32
|
|
|
-%define libatasmart_version 0.14
|
|
|
-%define avahi_version 0.6.30
|
|
|
+%define udisks2_version 1.90.0
|
|
|
|
|
|
Summary: Disk management application
|
|
|
Summary(ja): ディスク管理アプリケーション
|
|
|
Name: gnome-disk-utility
|
|
|
-Version: 3.0.2
|
|
|
+Version: 3.4.0
|
|
|
Release: 1%{?_dist_release}
|
|
|
License: LGPLv2+
|
|
|
Group: System Environment/Libraries
|
|
|
URL: http://git.gnome.org/cgit/gnome-disk-utility
|
|
|
+
|
|
|
Source0: %{name}-%{version}.tar.xz
|
|
|
+
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
|
|
-BuildRequires: dbus-devel >= %{dbus_version}
|
|
|
-BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
|
|
|
-BuildRequires: dbus-glib >= %{dbus_glib_version}
|
|
|
+
|
|
|
+Requires: desktop-file-utils
|
|
|
+
|
|
|
BuildRequires: glib2-devel >= %{glib2_version}
|
|
|
BuildRequires: gtk3-devel >= %{gtk3_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: unique3-devel >= %{unique3_version}
|
|
|
-BuildRequires: libnotify-devel >= %{libnotify_version}
|
|
|
-BuildRequires: nautilus-devel >= %{nautilus_version}
|
|
|
-BuildRequires: libatasmart-devel >= %{libatasmart_version}
|
|
|
-BuildRequires: avahi-ui-devel >= %{avahi_version}
|
|
|
+BuildRequires: udisks2-devel >= %{udisks2_version}
|
|
|
BuildRequires: intltool
|
|
|
-Requires(post): scrollkeeper
|
|
|
-Requires(postun): scrollkeeper
|
|
|
-Requires: %{name}-libs = %{version}-%{release}
|
|
|
+
|
|
|
Obsoletes: gnome-disk-utility-format
|
|
|
Obsoletes: nautilus-gdu
|
|
|
|
|
|
+Obsoletes: %{name}-libs < 3.4.0
|
|
|
+Provides: %{name}-libs = %{version}
|
|
|
+Obsoletes: %{name}-ui-libs < 3.4.0
|
|
|
+Provides: %{name}-ui-libs = %{version}
|
|
|
+
|
|
|
+Obsoletes: %{name}-devel < 3.4.0
|
|
|
+Obsoletes: %{name}-ui-devel < 3.4.0
|
|
|
+
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
|
Packager: Takemikaduchi
|
|
@@ -52,56 +46,6 @@ 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
|
|
@@ -115,111 +59,43 @@ rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
|
|
-# TODO: upstream doesn't ship a HACKING file yet
|
|
|
-echo " " > HACKING
|
|
|
-
|
|
|
-perl -pi -e 's/OnlyShowIn=GNOME;Unity;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_datadir}/applications/palimpsest.desktop
|
|
|
-perl -pi -e 's/OnlyShowIn=GNOME;Unity;/OnlyShowIn=GNOME;/' $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
|
|
|
-
|
|
|
-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-3.0/*.la
|
|
|
-rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.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
|
|
|
+%post
|
|
|
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
|
|
|
+update-desktop-database %{_datadir}/applications &> /dev/null
|
|
|
|
|
|
-%postun libs
|
|
|
+%postun
|
|
|
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
|
|
|
+update-desktop-database %{_datadir}/applications &> /dev/null
|
|
|
|
|
|
-%postun ui-libs -p /sbin/ldconfig
|
|
|
|
|
|
-%files
|
|
|
+%files -f %{name}.lang
|
|
|
%defattr(-,root,root,-)
|
|
|
-
|
|
|
-%{_libexecdir}/gdu-notification-daemon
|
|
|
-%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
|
|
|
-%{_libdir}/nautilus/extensions-3.0/*.so
|
|
|
-%{_libexecdir}/gdu-format-tool
|
|
|
-
|
|
|
+%doc COPYING NEWS README
|
|
|
%{_bindir}/palimpsest
|
|
|
%{_datadir}/applications/palimpsest.desktop
|
|
|
+%{_datadir}/%{name}
|
|
|
+%{_datadir}/icons/hicolor/*/apps/*
|
|
|
|
|
|
-%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/*
|
|
|
-
|
|
|
-%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
|
|
|
+* Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.0-1
|
|
|
+- new upstream release
|
|
|
+- change BuildRequires: udisks2-devel instead of udisks-devel
|
|
|
+- remove -libs, -ui-libs, -devel, -ui-devel sub packages
|
|
|
+
|
|
|
* Tue Aug 16 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.0.2-1
|
|
|
- new upstream release
|
|
|
- change BuildRequires: gtk3-devel instead of gtk2-devel
|