]> git.pld-linux.org Git - packages/gfs2-utils.git/blame - gfs2-utils.spec
- new URLs, updated to 3.1.10
[packages/gfs2-utils.git] / gfs2-utils.spec
CommitLineData
84994558
JB
1# TODO: PLDify and install init script(?)
2Summary: Global File System 2 (GFS2) utilities
3Summary(pl.UTF-8): Narzędzia do systemu plików GFS2 (Global File System 2)
4Name: gfs2-utils
3dabe3b3 5Version: 3.1.10
84994558
JB
6Release: 1
7License: LGPL v2.1+ (libraries), GPL v2+ (applications)
8Group: Applications/System
3dabe3b3
JB
9Source0: http://releases.pagure.org/gfs2-utils/%{name}-%{version}.tar.xz
10# Source0-md5: 31d330b1f69da8474a52bf36a824e9c1
11Patch0: %{name}-link.patch
12URL: https://pagure.io/gfs2-utils
84994558
JB
13BuildRequires: autoconf >= 2.63
14BuildRequires: automake >= 1:1.11
15BuildRequires: bison
16BuildRequires: flex
17BuildRequires: gettext-devel >= 0.18
18BuildRequires: libblkid-devel
19BuildRequires: libtool >= 2:2.2.6
3dabe3b3 20BuildRequires: libuuid-devel
84994558
JB
21# for gfs2 headers
22BuildRequires: linux-libc-headers >= 7:3.3
23BuildRequires: ncurses-devel >= 5
24BuildRequires: pkgconfig
25BuildRequires: sed >= 4.0
3dabe3b3
JB
26BuildRequires: tar >= 1:1.22
27BuildRequires: xz
84994558
JB
28BuildRequires: zlib-devel
29Requires: uname(release) >= 3.3
30Obsoletes: gfs2 < 1:3
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34GFS2 is a cluster file system. It allows a cluster of computers to
35simultaneously use a block device that is shared between them (with
36FC, iSCSI, NBD, etc). GFS2 reads and writes to the block device like a
37local file system, but also uses a lock module to allow the computers
38coordinate their I/O so file system consistency is maintained. One of
39the nifty features of GFS2 is perfect consistency - changes made to
40the file system on one machine show up immediately on all other
41machines in the cluster.
42
43%description -l pl.UTF-8
44GFS2 to klastrowy system plików. Pozwala klastrowi komputerów
45jednocześnie używać urządzenia blokowego współdzielonego między sobą
46(poprzez FC, iSCSI, NBD itp.). GFS2 wykonuje odczyty i zapisy na
47urządzeniu blokowym tak, jak na lokalnym systemie plików, ale
48wykorzystuje moduł blokujący, aby umożliwić komputerom koordynację
49operacji wejścia-wyjścia w celu zachowania spójności systemu plików.
50Jedną z bardziej istotnych cech systemu plików GFS2 jest idealna
51spójność - zmiany wykonane na jednej maszynie są natychmiast widoczne
52na wszystkich innych maszynach w klastrze.
53
54%prep
3dabe3b3
JB
55%setup -q
56%patch0 -p1
84994558
JB
57
58%{__sed} -i -e 's, po/Makefile.in$,,' configure.ac
59%{__sed} -i -e '1s,#!/usr/bin/env python,#!/usr/bin/python,' gfs2/scripts/gfs2_{lockcapture,trace}
60
61%build
62%{__gettextize}
63%{__libtoolize}
64%{__aclocal} -I m4
65%{__autoconf}
66%{__autoheader}
67%{__automake}
68%configure \
3dabe3b3
JB
69 --disable-silent-rules \
70 --with-udevdir=/lib/udev
84994558
JB
71
72%{__make}
73
74%install
75rm -rf $RPM_BUILD_ROOT
76
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
3dabe3b3
JB
80install -d $RPM_BUILD_ROOT/sbin
81%{__mv} $RPM_BUILD_ROOT%{_sbindir}/{fsck.gfs2,mkfs.gfs2,gfs2_{grow,jadd,lockcapture,trace}} $RPM_BUILD_ROOT/sbin
82
84994558
JB
83# packaged as %doc
84%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/gfs2-utils
85
86%clean
87rm -rf $RPM_BUILD_ROOT
88
89%files
90%defattr(644,root,root,755)
91%doc doc/{COPYRIGHT,README.contributing,README.licence,gfs2.txt,journaling.txt}
92%attr(755,root,root) /sbin/fsck.gfs2
93%attr(755,root,root) /sbin/gfs2_grow
94%attr(755,root,root) /sbin/gfs2_jadd
95%attr(755,root,root) /sbin/gfs2_lockcapture
96%attr(755,root,root) /sbin/gfs2_trace
97%attr(755,root,root) /sbin/mkfs.gfs2
98%attr(755,root,root) %{_sbindir}/gfs2_convert
99%attr(755,root,root) %{_sbindir}/gfs2_edit
3dabe3b3
JB
100%attr(755,root,root) %{_sbindir}/gfs2_withdraw_helper
101%attr(755,root,root) %{_sbindir}/glocktop
84994558 102%attr(755,root,root) %{_sbindir}/tunegfs2
3dabe3b3 103/lib/udev/rules.d/82-gfs2-withdraw.rules
84994558
JB
104%{_mandir}/man5/gfs2.5*
105%{_mandir}/man8/fsck.gfs2.8*
106%{_mandir}/man8/gfs2_convert.8*
107%{_mandir}/man8/gfs2_edit.8*
108%{_mandir}/man8/gfs2_grow.8*
109%{_mandir}/man8/gfs2_jadd.8*
110%{_mandir}/man8/gfs2_lockcapture.8*
111%{_mandir}/man8/gfs2_trace.8*
3dabe3b3 112%{_mandir}/man8/glocktop.8*
84994558
JB
113%{_mandir}/man8/mkfs.gfs2.8*
114%{_mandir}/man8/tunegfs2.8*
This page took 0.059683 seconds and 4 git commands to generate.