mfleetwo / rpms / gparted

Forked from rpms/gparted 3 years ago
Clone
5bda843
Summary: Gnome Partition Editor
5bda843
Name:    gparted
0fe7e8f
Version: 0.3.3
a109991
Release: 6%{?dist}
5bda843
Group:   Applications/System
5bda843
License: GPL
5bda843
URL:     http://gparted.sourceforge.net
5bda843
Source0: http://dl.sf.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2
5bda843
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
5bda843
BuildRequires: gtkmm24-devel parted-devel 
4df95bc
BuildRequires: e2fsprogs-devel gettext perl(XML::Parser) 
5bda843
BuildRequires: desktop-file-utils
5bda843
5bda843
%description
5bda843
GParted stands for Gnome Partition Editor and is a graphical frontend to
5bda843
libparted. Among other features it supports creating, resizing, moving
5bda843
and copying of partitions. Also several (optional) filesystem tools provide
5bda843
support for filesystems not included in libparted. These optional packages
5bda843
will be detected at runtime and don't require a rebuild of GParted
5bda843
5bda843
%prep
5bda843
%setup -q
5bda843
5bda843
%build
5bda843
%configure
5bda843
make %{?_smp_mflags} 
5bda843
5bda843
%install
5bda843
rm -rf %{buildroot}
5bda843
make DESTDIR=%{buildroot} install
5bda843
5bda843
desktop-file-install --delete-original                   \
5bda843
        --vendor fedora                                  \
5bda843
        --dir %{buildroot}%{_datadir}/applications       \
5bda843
	--mode 0644				         \
5bda843
        --add-category X-Fedora                          \
5bda843
        %{buildroot}%{_datadir}/applications/%{name}.desktop
5bda843
2327bf9
#### consolehelper stuff
5bda843
mkdir -p %{buildroot}%{_sbindir}
5bda843
mv %{buildroot}%{_bindir}/gparted %{buildroot}%{_sbindir}/
5bda843
ln -s consolehelper %{buildroot}%{_bindir}/gparted
5bda843
5bda843
mkdir -p %{buildroot}%{_sysconfdir}/security/console.apps
5bda843
cat << EOF > %{buildroot}%{_sysconfdir}/security/console.apps/gparted
5bda843
USER=root
5bda843
PROGRAM=%{_sbindir}/gparted
5bda843
SESSION=true
5bda843
EOF
5bda843
5bda843
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
5bda843
cat << EOF > %{buildroot}%{_sysconfdir}/pam.d/gparted
5bda843
#%PAM-1.0
2327bf9
auth	sufficient	pam_rootok.so
2327bf9
auth	sufficient	pam_timestamp.so
2327bf9
auth	include		system-auth
2327bf9
session	required	pam_permit.so
2327bf9
session	optional	pam_xauth.so
2327bf9
session	optional	pam_timestamp.so
2327bf9
account	required	pam_permit.so
5bda843
EOF
5bda843
5bda843
%find_lang %{name}
5bda843
5bda843
%clean
5bda843
rm -rf %{buildroot}
5bda843
5bda843
%files -f %{name}.lang
5bda843
%defattr(-,root,root,-)
5bda843
%doc AUTHORS COPYING ChangeLog README
5bda843
%{_bindir}/gparted
5bda843
%{_sbindir}/gparted
5bda843
%{_datadir}/applications/fedora-gparted.desktop
5bda843
%{_datadir}/pixmaps/gparted.png
5bda843
%config(noreplace) %{_sysconfdir}/pam.d/gparted
5bda843
%config(noreplace) %{_sysconfdir}/security/console.apps/gparted
5bda843
5bda843
%changelog
a109991
* Wed Mar 21 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.3-6
a109991
- Rebuild for GNU parted-1.8.6
a109991
fdd556e
* Tue Mar 20 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.3-5
fdd556e
- Rebuild for GNU parted-1.8.5
fdd556e
2327bf9
* Wed Jan 24 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.3-4
2327bf9
- Re-write the consolehelpher stuff to work with latest pam
2327bf9
06e2477
* Tue Jan 16 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.3-3
06e2477
- The new parted is back, rebuild again
06e2477
b4f210c
* Sat Jan 13 2007 Deji Akingunola <dakingun@gmail.com> - 0.3.3-2
b4f210c
- Rebuild for new parted
b4f210c
0fe7e8f
* Thu Dec 07 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.3-1
0fe7e8f
- Bug fix release
0fe7e8f
e5b4347
* Tue Dec 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.2-1
e5b4347
- New release
e5b4347
799f9ed
* Mon Nov 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.1-5
799f9ed
- Add more BRs
799f9ed
b41152c
* Mon Nov 27 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.1-4
b41152c
- Complete fix for parted check and apply patch on configure.in
b41152c
4cd5195
* Wed Nov 23 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.1-3
4cd5195
- Backport a fix from cvs to properly check for libparted version
4cd5195
8de8a86
* Mon Nov 21 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.1-2
8de8a86
- Rebuild for new parted
8de8a86
d987daa
* Wed Sep 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.3.1-1
d987daa
- New version 0.3.1
d987daa
c64b89e
* Tue Sep 05 2006 Deji Akingunola <dakingun@gmail.com> - 0.3-1
c64b89e
- New version 0.3
c64b89e
4df95bc
* Mon Aug 28 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.5-3
4df95bc
- Rebuild for FC6
4df95bc
857b782
* Mon May 22 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.5-2
857b782
- Rebuild
857b782
a71d903
* Mon May 22 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.5-1
a71d903
- Update to version 0.2.5
a71d903
b2cf688
* Mon Apr 17 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.4-2
b2cf688
- Rebuild for new parted
b2cf688
de1d92d
* Wed Apr 12 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.4-1
de1d92d
- Update to newer version
de1d92d
ad6af7c
* Thu Mar 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.3-1
ad6af7c
- Update to newer version
ad6af7c
450b8d6
* Mon Mar 07 2006 Deji Akingunola <dakingun@gmail.com> - 0.2.2-1
450b8d6
- New release
450b8d6
06be8b1
* Mon Feb 13 2006 Deji Akingunola <dakingun@gmail.com> - 0.2-2
06be8b1
- Rebuild for Fedora Extras 5
06be8b1
f8e9650
* Mon Jan 30 2006 Deji Akingunola <dakingun@gmail.com> - 0.2-1
f8e9650
- New release
f8e9650
d1a6d8a
* Wed Jan 11 2006 Deji Akingunola <dakingun@gmail.com> - 0.1-1
d1a6d8a
- New release
d1a6d8a
5bda843
* Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.0.9-3
5bda843
- Use correct source url
5bda843
5bda843
* Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.0.9-2
5bda843
- Add more buildrequires and cleanup spec file
5bda843
5bda843
* Fri Nov 25 2005 Deji Akingunola <dakingun@gmail.com> - 0.0.9-1
5bda843
- Update to latest released version
5bda843
5bda843
* Wed Oct 26 2005 Deji Akingunola <dakingun@gmail.com> - 0.0.8-1
5bda843
- initial Extras release