]> git.pld-linux.org Git - packages/ocfs2-tools.git/blame - ocfs2-tools.spec
- initial pld release
[packages/ocfs2-tools.git] / ocfs2-tools.spec
CommitLineData
24b3a0d2
AM
1Summary: Tools for the OCFS2 filesystem
2Name: ocfs2-tools
3Version: 1.1.2
4Release: 1
5License: GPL v2
6Group: Applications/System
7Source0: http://oss.oracle.com/projects/ocfs2-tools/dist/files/source/v1.1/%{name}-%{version}.tar.gz
8# Source0-md5: f2412153cf33db29e10549c855c43e35
9URL: http://oss.oracle.com/projects/ocfs2-tools/
10BuildRequires: e2fsprogs-devel
11BuildRequires: glib2-devel
12BuildRequires: libcom_err-devel
13BuildRequires: libuuid-devel
14BuildRequires: pkgconfig
15BuildRequires: python-devel
16BuildRequires: readline-devel
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20Tools and support files for creating and managing OCFS2 volumes.
21
22%package gtk
23Summary: GTK interface to OCFS2 Tools
24Group: X11/Applications
25Requires: %{name} = %{version}-%{release}
26Requires: python-pygtk-gtk
27
28%description gtk
29GTK interface to OCFS2 Tools.
30
31%prep
32%setup -q
33
34%build
35%configure \
36 --enable-dynamic-fsck=yes \
37 --enable-dynamic-ctl=yes \
38 --enable-ocfs2console=yes
39%{__make}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
46
47%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
48%py_comp $RPM_BUILD_ROOT%{py_sitedir}
49
50%clean
51rm -rf $RPM_BUILD_ROOT
52
53%post -p /sbin/ldconfig
54%postun -p /sbin/ldconfig
55
56%files
57%defattr(644,root,root,755)
58%attr(755,root,root) /sbin/*
59%{_mandir}/man8/*
60
61%files gtk
62%defattr(644,root,root,755)
63%attr(755,root,root) %{_sbindir}/*
64%dir %{py_sitedir}/ocfs2interface
65%attr(755,root,root) %{py_sitedir}/ocfs2interface/*.so
66%{py_sitedir}/ocfs2interface/*.py[co]
This page took 0.111805 seconds and 4 git commands to generate.