|
|
@ -8,7 +8,6 @@ URL: http://gparted.sourceforge.net
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
Source1: gparted-console.apps
|
|
|
|
Source1: gparted-console.apps
|
|
|
|
Source2: gparted-pam.d
|
|
|
|
Source2: gparted-pam.d
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: gtkmm24-devel parted-devel
|
|
|
|
BuildRequires: gtkmm24-devel parted-devel
|
|
|
|
BuildRequires: libuuid-devel gettext perl(XML::Parser)
|
|
|
|
BuildRequires: libuuid-devel gettext perl(XML::Parser)
|
|
|
|
BuildRequires: desktop-file-utils gnome-doc-utils intltool
|
|
|
|
BuildRequires: desktop-file-utils gnome-doc-utils intltool
|
|
|
@ -30,21 +29,17 @@ will be detected at runtime and don't require a rebuild of GParted
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
make DESTDIR=%{buildroot} install
|
|
|
|
|
|
|
|
|
|
|
|
sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
sed -i 's#_X-GNOME-FullName#X-GNOME-FullName#' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?fedora} && 0%{?fedora} < 18
|
|
|
|
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
desktop-file-install --delete-original \
|
|
|
|
--vendor fedora \
|
|
|
|
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
--dir %{buildroot}%{_datadir}/applications \
|
|
|
|
--mode 0644 \
|
|
|
|
--mode 0644 \
|
|
|
|
--add-category X-Fedora \
|
|
|
|
--add-category X-Fedora \
|
|
|
|
--add-category GTK \
|
|
|
|
--add-category GTK \
|
|
|
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
%endif
|
|
|
|
sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/%{name}.desktop
|
|
|
|
sed -i 's#sbin#bin#' %{buildroot}%{_datadir}/applications/fedora-%{name}.desktop
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#### consolehelper stuff
|
|
|
|
#### consolehelper stuff
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
|
mkdir -p %{buildroot}%{_bindir}
|
|
|
@ -58,9 +53,6 @@ cp %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/gparted
|
|
|
|
|
|
|
|
|
|
|
|
%find_lang %{name}
|
|
|
|
%find_lang %{name}
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
touch --no-create %{_datadir}/icons/hicolor || :
|
|
|
|
|
|
|
|
|
|
|
@ -78,7 +70,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%{_bindir}/gparted
|
|
|
|
%{_bindir}/gparted
|
|
|
|
%{_sbindir}/gparted
|
|
|
|
%{_sbindir}/gparted
|
|
|
|
%{_sbindir}/gpartedbin
|
|
|
|
%{_sbindir}/gpartedbin
|
|
|
|
%{_datadir}/applications/fedora-gparted.desktop
|
|
|
|
%{_datadir}/applications/gparted.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gparted.*
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/gparted.*
|
|
|
|
%{_datadir}/gnome/help/gparted/
|
|
|
|
%{_datadir}/gnome/help/gparted/
|
|
|
|
%{_datadir}/omf/gparted/
|
|
|
|
%{_datadir}/omf/gparted/
|
|
|
@ -89,6 +81,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Fri Feb 22 2013 Deji Akingunola <dakingun@gmail.com> - 0.14.1-1
|
|
|
|
* Fri Feb 22 2013 Deji Akingunola <dakingun@gmail.com> - 0.14.1-1
|
|
|
|
- Update to version 0.14.1
|
|
|
|
- Update to version 0.14.1
|
|
|
|
|
|
|
|
- Clean-up spec
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-2
|
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13.1-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|