2008-07-22 19:38:35 +00:00
|
|
|
%define dbus_version 1.2
|
|
|
|
%define dbus_glib_version 0.76
|
|
|
|
%define glib2_version 2.16
|
|
|
|
%define gtk2_version 2.12
|
|
|
|
%define gnome_doc_utils_version 0.3.2
|
|
|
|
%define polkit_version 0.8
|
|
|
|
%define polkit_gnome_version 0.8
|
|
|
|
%define gnome_keyring_version 2.22
|
2009-04-07 00:30:46 +00:00
|
|
|
%define devicekit_disks_version 004
|
|
|
|
%define unique_version 1.0.4
|
2009-04-15 19:09:55 +00:00
|
|
|
%define libnotify_version 0.4.5
|
2008-07-22 19:38:35 +00:00
|
|
|
|
2008-11-23 05:53:00 +00:00
|
|
|
Summary: Disk management application
|
2008-07-22 19:38:35 +00:00
|
|
|
Name: gnome-disk-utility
|
2009-04-07 00:30:46 +00:00
|
|
|
Version: 0.3
|
2009-04-15 19:09:55 +00:00
|
|
|
Release: 0.5.20090415git%{?dist}
|
2008-07-22 19:38:35 +00:00
|
|
|
License: LGPLv2+
|
|
|
|
Group: System Environment/Libraries
|
2009-04-07 00:30:46 +00:00
|
|
|
URL: http://git.gnome.org/cgit/gnome-disk-utility
|
2009-04-15 19:09:55 +00:00
|
|
|
Source0: %{name}-%{version}.20090415git.tar.bz2
|
2008-07-22 19:38:35 +00:00
|
|
|
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: PolicyKit-devel >= %{polkit_version}
|
|
|
|
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
|
|
|
|
BuildRequires: gettext
|
|
|
|
BuildRequires: desktop-file-utils
|
|
|
|
BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version}
|
|
|
|
BuildRequires: DeviceKit-disks-devel >= %{devicekit_disks_version}
|
|
|
|
BuildRequires: PolicyKit-gnome-devel >= %{polkit_gnome_version}
|
2009-04-07 00:30:46 +00:00
|
|
|
BuildRequires: unique-devel >= %{unique_version}
|
2009-04-15 19:09:55 +00:00
|
|
|
BuildRequires: libnotify-devel >= %{libnotify_version}
|
2008-07-22 19:38:35 +00:00
|
|
|
BuildRequires: libsexy-devel
|
|
|
|
BuildRequires: intltool
|
|
|
|
Requires(post): scrollkeeper
|
|
|
|
Requires(postun): scrollkeeper
|
2009-04-12 20:10:09 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2009-04-08 16:11:38 +00:00
|
|
|
|
2008-07-22 19:38:35 +00:00
|
|
|
%description
|
2008-11-23 05:53:00 +00:00
|
|
|
This package contains the Palimpsest disk management application.
|
2009-03-02 21:42:15 +00:00
|
|
|
Palimpsest supports partitioning, file system creation, encryption,
|
2008-11-23 05:53:00 +00:00
|
|
|
RAID, SMART monitoring, etc.
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%package libs
|
2008-11-23 05:53:00 +00:00
|
|
|
Summary: Shared libraries used by Palimpsest
|
2008-07-22 19:38:35 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: DeviceKit-disks >= %{devicekit_disks_version}
|
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%description libs
|
2008-11-23 05:53:00 +00:00
|
|
|
This package contains libraries that are used by the Palimpsest
|
|
|
|
disk management application. The libraries in this package do not
|
|
|
|
contain UI-related code.
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%package ui-libs
|
2008-11-23 05:53:00 +00:00
|
|
|
Summary: Shared libraries used by Palimpsest
|
2008-07-22 19:38:35 +00:00
|
|
|
Group: Development/Libraries
|
2009-04-12 20:10:09 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
2008-07-22 19:38:35 +00:00
|
|
|
Requires(post): /sbin/ldconfig
|
|
|
|
Requires(postun): /sbin/ldconfig
|
|
|
|
|
|
|
|
%description ui-libs
|
2008-11-23 05:53:00 +00:00
|
|
|
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.
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%package devel
|
2008-11-23 05:53:00 +00:00
|
|
|
Summary: Development files for gnome-disk-utility-libs
|
2008-07-22 19:38:35 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: glib2-devel >= %{glib2_version}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description devel
|
2008-11-23 05:53:00 +00:00
|
|
|
This package contains header files and libraries needed to
|
|
|
|
develop applications with gnome-disk-utility-libs.
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%package ui-devel
|
2008-11-23 05:53:00 +00:00
|
|
|
Summary: Development files for gnome-disk-utility-ui-libs
|
2008-07-22 19:38:35 +00:00
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name}-ui-libs = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: gtk2-devel >= %{gtk2_version}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
%description ui-devel
|
2008-11-23 05:53:00 +00:00
|
|
|
This package contains header files and libraries needed to
|
|
|
|
develop applications with gnome-disk-utility-ui-libs.
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2009-04-12 20:10:09 +00:00
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--dir $RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart \
|
|
|
|
$RPM_BUILD_ROOT%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
|
|
|
|
|
2008-07-22 19:38:35 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
|
|
|
|
|
|
|
|
# TODO: no translations yet
|
|
|
|
#%find_lang --with-gnome %{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,-)
|
|
|
|
|
2009-04-12 20:10:09 +00:00
|
|
|
%{_libexecdir}/gdu-notification-daemon
|
|
|
|
%{_sysconfdir}/xdg/autostart/gdu-notification-daemon.desktop
|
|
|
|
|
2008-07-22 19:38:35 +00:00
|
|
|
%{_bindir}/palimpsest
|
|
|
|
%{_datadir}/applications/palimpsest.desktop
|
|
|
|
|
|
|
|
%dir %{_datadir}/gnome/help/palimpsest
|
|
|
|
%{_datadir}/gnome/help/palimpsest/*
|
|
|
|
|
|
|
|
%dir %{_datadir}/omf/palimpsest
|
|
|
|
%{_datadir}/omf/palimpsest/*
|
|
|
|
|
|
|
|
# TODO: no translations yet
|
|
|
|
#%files libs -f %{name}.lang
|
|
|
|
|
|
|
|
%files libs
|
|
|
|
%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
|
2009-04-11 02:19:23 +00:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
2008-07-22 19:38:35 +00:00
|
|
|
|
|
|
|
%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
|
2009-04-15 19:09:55 +00:00
|
|
|
* Wed Apr 15 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.5.20090415git%{?dist}
|
|
|
|
- New snapshot
|
|
|
|
|
2009-04-12 20:10:09 +00:00
|
|
|
* Sun Apr 12 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.4.20090412git%{?dist}
|
|
|
|
- New snapshot
|
|
|
|
|
2009-04-11 02:19:23 +00:00
|
|
|
* 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
|
|
|
|
|
2009-04-08 16:11:38 +00:00
|
|
|
* 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)
|
|
|
|
|
2009-04-07 00:30:46 +00:00
|
|
|
* Mon Apr 06 2009 David Zeuthen <davidz@redhat.com> - 0.3-0.1.20090406git%{?dist}
|
|
|
|
- New snapshot
|
|
|
|
|
2009-03-04 22:07:28 +00:00
|
|
|
* Wed Mar 04 2009 David Zeuthen <davidz@redhat.com> - 0.2-2%{?dist}
|
|
|
|
- Don't crash when changing the LUKS passphrase on a device
|
|
|
|
|
2009-03-02 21:42:15 +00:00
|
|
|
* Mon Mar 02 2009 David Zeuthen <davidz@redhat.com> - 0.2-1%{?dist}
|
|
|
|
- Update to version 0.2
|
|
|
|
|
2009-02-24 22:51:24 +00:00
|
|
|
* 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
|
|
|
|
|
2009-01-27 16:08:00 +00:00
|
|
|
* Tue Jan 27 2009 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.2%{?dist}
|
|
|
|
- Rebuild for pkgconfig provides
|
|
|
|
|
2008-11-23 05:53:00 +00:00
|
|
|
* Sun Nov 23 2008 Matthias Clasen <mclasen@redhat.com> 0.1-0.git20080720.1%{?dist}
|
|
|
|
- Improve %%summary and %%description
|
|
|
|
|
2008-07-22 19:38:35 +00:00
|
|
|
* Fri Jul 20 2008 David Zeuthen <davidz@redhat.com> - 0.1-0.git20080720%{?dist}
|
|
|
|
- Initial Packaging
|