gnome-disk-utility/gnome-disk-utility.spec

357 lines
11 KiB
RPMSpec
Raw Normal View History

2010-01-18 16:49:51 +00:00
%define dbus_version 1.2
%define dbus_glib_version 0.76
2008-07-22 19:38:35 +00:00
%define glib2_version 2.16
2011-02-02 22:47:51 +00:00
%define gtk3_version 2.99
2008-07-22 19:38:35 +00:00
%define gnome_doc_utils_version 0.3.2
%define gnome_keyring_version 2.22
%define udisks_version 1.0.3
2009-04-07 00:30:46 +00:00
%define unique_version 1.0.4
2010-11-03 20:43:34 +00:00
%define libnotify_version 0.7.0
2009-05-01 22:29:11 +00:00
%define nautilus_version 2.26
2009-09-19 00:29:52 +00:00
%define libatasmart_version 0.14
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
Version: 3.0.2
Release: 1%{?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
2011-04-04 17:22:06 +00:00
Source0: http://download.gnome.org/sources/gnome-disk-utility/3.0/%{name}-%{version}.tar.bz2
2011-02-02 22:47:51 +00:00
2008-07-22 19:38:35 +00:00
BuildRequires: dbus-devel >= %{dbus_version}
BuildRequires: dbus-glib-devel >= %{dbus_glib_version}
BuildRequires: dbus-glib >= %{dbus_glib_version}
BuildRequires: glib2-devel >= %{glib2_version}
2011-02-02 22:47:51 +00:00
BuildRequires: gtk3-devel >= %{gtk3_version}
2008-07-22 19:38:35 +00:00
BuildRequires: gnome-doc-utils >= %{gnome_doc_utils_version}
BuildRequires: gettext
BuildRequires: desktop-file-utils
BuildRequires: gnome-keyring-devel >= %{gnome_keyring_version}
BuildRequires: udisks-devel >= %{udisks_version}
2011-02-02 22:47:51 +00:00
BuildRequires: unique3-devel >= %{unique_version}
2009-04-15 19:09:55 +00:00
BuildRequires: libnotify-devel >= %{libnotify_version}
2009-05-01 22:29:11 +00:00
BuildRequires: nautilus-devel >= %{nautilus_version}
2009-09-19 00:29:52 +00:00
BuildRequires: libatasmart-devel >= %{libatasmart_version}
2010-01-15 20:19:57 +00:00
BuildRequires: avahi-ui-devel
2008-07-22 19:38:35 +00:00
BuildRequires: intltool
2010-02-16 01:09:07 +00:00
BuildRequires: rarian-compat
2011-02-02 22:47:51 +00:00
BuildRequires: automake autoconf libtool
2009-04-12 20:10:09 +00:00
Requires: %{name}-libs = %{version}-%{release}
2009-05-01 22:29:11 +00:00
Obsoletes: gnome-disk-utility-format
Obsoletes: nautilus-gdu
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: udisks >= %{udisks_version}
2008-07-22 19:38:35 +00:00
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}
%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}
%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
%package nautilus
Summary: Nautilus extension
Group: Applications/File
Obsoletes: %{name} < 2.91.6-5
Requires: %{name} = %{version}-%{release}
%description nautilus
This package contains a Nautilus extension providing formatting
functionality.
2008-07-22 19:38:35 +00:00
%prep
%setup -q
2011-02-02 22:47:51 +00:00
aclocal
automake
2008-07-22 19:38:35 +00:00
%build
2010-09-28 14:37:16 +00:00
%configure
2010-01-18 16:49:51 +00:00
make %{?_smp_mflags}
2008-07-22 19:38:35 +00:00
%install
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
2011-02-02 22:47:51 +00:00
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.la
rm -f $RPM_BUILD_ROOT%{_libdir}/nautilus/extensions-3.0/*.a
2008-07-22 19:38:35 +00:00
2009-05-01 22:29:11 +00:00
%find_lang %{name}
2008-07-22 19:38:35 +00:00
%post
update-desktop-database %{_datadir}/applications &> /dev/null
%postun
update-desktop-database %{_datadir}/applications &> /dev/null
%post libs
2011-02-02 22:47:51 +00:00
touch --no-create %{_datadir}/icons/hicolor || :
2008-07-22 19:38:35 +00:00
/sbin/ldconfig
%postun libs
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
2008-07-22 19:38:35 +00:00
/sbin/ldconfig
2011-02-02 22:47:51 +00:00
%posttrans libs
gtk-update-icon-cache -q %{_datadir}/icons/hicolor || :
2008-07-22 19:38:35 +00:00
%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
2009-05-01 22:29:11 +00:00
%{_libexecdir}/gdu-format-tool
2009-04-12 20:10:09 +00:00
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/*
2009-05-01 22:29:11 +00:00
%files libs -f %{name}.lang
2008-07-22 19:38:35 +00:00
%defattr(-,root,root,-)
2010-03-15 23:35:57 +00:00
%doc README AUTHORS NEWS COPYING HACKING TODO
2008-07-22 19:38:35 +00:00
%{_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/*
%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/*
%files nautilus
%defattr(-,root,root,-)
%{_libdir}/nautilus/extensions-3.0/*.so
2008-07-22 19:38:35 +00:00
%changelog
* Mon Jul 11 2011 David Zeuthen <davidz@redhat.com> - 3.0.2-1%{?dist}
- Update to 3.0.2
* Sat May 07 2011 Christopher Aillon <caillon@redhat.com> - 3.0.0-2
- Update icon cache scriptlet
2011-04-04 17:22:06 +00:00
* Mon Apr 4 2011 Matthias Clasen <mclasen@redhat.com> - 3.0.0-1
- Update to 3.0.0
2011-03-21 23:09:36 +00:00
* Mon Mar 21 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.7-1
- Update to 2.91.7
* Mon Mar 14 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.91.6-5
- Fix gnome-disk-utility-nautilus upgrade path
* Tue Feb 22 2011 Tomas Bzatek <tbzatek@redhat.com> - 2.91.6-4
- Split nautilus extension into a separate package
2011-02-11 05:04:15 +00:00
* Fri Feb 11 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-3
- Rebuild against newer gtk
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.91.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2011-02-02 22:47:51 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 2.91.6-1%{?dist}
- Update to 2.91.6
2011-02-02 14:26:06 +00:00
* Wed Feb 2 2011 Matthias Clasen <mclasen@redhat.com> - 2.32.1-4%{?dist}
- Rebuild against newer gtk
2011-01-08 04:15:09 +00:00
* Fri Jan 7 2011 Matthias Clasen <mclasen@redhat.com> - 2.32.1-3%{?dist}
- Rebuild against new gtk
2010-12-03 16:51:49 +00:00
* Fri Dec 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.1-2%{?dist}
- Rebuild against new gtk
2010-11-11 16:16:12 +00:00
* Thu Nov 11 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.1-1%{?dist}
- 2.32.1
2010-11-05 15:41:03 +00:00
* Fri Nov 5 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-3%{?dist}
- Fix a problem with 'disk failure' notifications
2010-11-03 20:43:34 +00:00
* Wed Nov 3 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-2%{?dist}
- Rebuild against libnotify 0.7.0
2010-09-28 12:14:20 +00:00
* Tue Sep 28 2010 Matthias Clasen <mclasen@redhat.com> - 2.32.0-1%{?dist}
- Update to 2.32.0
2010-06-17 03:09:39 +00:00
* Wed Jun 16 2010 Matthias Clasen <mclasen@redhat.com> - 2.30.1-2%{?dist}
- Kill the scrollkeeper runtime dep
2010-03-22 16:03:34 +00:00
* Mon Mar 22 2010 David Zeuthen <davidz@redhat.com> - 2.30.1-1%{?dist}
- Update to 2.30.1
2010-03-15 23:35:57 +00:00
* Mon Mar 15 2010 David Zeuthen <davidz@redhat.com> - 2.30.0-1%{?dist}
- Update to 2.30.0
2010-02-23 18:26:34 +00:00
* Tue Feb 23 2010 David Zeuthen <davidz@redhat.com> - 2.29.90-1%{?dist}
- Update to 2.29.90
2010-02-16 01:09:07 +00:00
* Mon Feb 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100215.3%{?dist}
- Add rarian-compat to BR
* Mon Feb 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100215.1%{?dist}
- Update to git snapshot
- Drop upstreamed patches
2010-01-18 16:49:51 +00:00
* Mon Jan 18 2010 Tomas Bzatek <tbzatek@redhat.com> - 2.29.0-0.git20100115.2%{?dist}
- Install missing include
2010-01-15 20:19:57 +00:00
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100115.1%{?dist}
- BR avahi-ui-devel
2010-01-15 20:07:40 +00:00
* Fri Jan 15 2010 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20100115%{?dist}
- Update to git snapshot
* Wed Dec 2 2009 David Zeuthen <davidz@redhat.com> - 2.29.0-0.git20091202%{?dist}
- Update to git snapshot that requires udisks instead of DeviceKit-disks
- The UI has been completely revamped
2009-09-19 00:29:52 +00:00
* 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
2009-08-17 21:49:19 +00:00
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-3%{?dist}
- Drop upstreamed patch
2009-08-17 18:16:13 +00:00
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-2%{?dist}
- Rebuild
2009-08-17 18:15:06 +00:00
* Mon Aug 17 2009 David Zeuthen <davidz@redhat.com> - 0.5-1%{?dist}
- Update to release 0.5
2009-07-27 05:18:23 +00:00
* 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
2009-06-20 00:15:27 +00:00
* Fri Jun 19 2009 David Zeuthen <davidz@redhat.com> - 0.4-1%{?dist}
- Update to release 0.4
2009-05-01 22:29:11 +00:00
* Fri May 01 2009 David Zeuthen <davidz@redhat.com> - 0.3-1%{?dist}
- Upstream release 0.3
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
* 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
* 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
* 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