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