]>
Commit | Line | Data |
---|---|---|
e3346250 | 1 | Summary: Utilities belonging to the btrfs filesystem |
bc661915 | 2 | Summary(pl.UTF-8): Narzędzia należące do systemu plików btrfs |
e3346250 | 3 | Name: btrfs-progs |
299b85aa | 4 | Version: 4.1 |
82ef4e43 | 5 | Release: 1 |
e3346250 AM |
6 | License: GPL v2 |
7 | Group: Applications/System | |
1fff9453 | 8 | Source0: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/%{name}-v%{version}.tar.xz |
299b85aa | 9 | # Source0-md5: ff451f4a40ec0c1bdecf3224465a3376 |
7b8b71e8 | 10 | Patch0: %{name}-man.patch |
e3346250 | 11 | URL: http://btrfs.wiki.kernel.org/ |
7172bf1c | 12 | BuildRequires: acl-devel |
cae4ce1d | 13 | BuildRequires: asciidoc |
82ef4e43 | 14 | BuildRequires: autoconf >= 2.60 |
7172bf1c ER |
15 | BuildRequires: e2fsprogs-devel |
16 | BuildRequires: libblkid-devel | |
82ef4e43 | 17 | BuildRequires: libcom_err-devel |
e3346250 | 18 | BuildRequires: libuuid-devel |
a11951f7 | 19 | BuildRequires: lzo-devel >= 2 |
82ef4e43 | 20 | BuildRequires: pkgconfig |
7172bf1c | 21 | BuildRequires: tar >= 1:1.22 |
82ef4e43 | 22 | BuildRequires: xmlto |
7172bf1c | 23 | BuildRequires: xz |
1d46f4d5 | 24 | BuildRequires: zlib-devel |
e3346250 AM |
25 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
26 | ||
27 | %define _sbindir /sbin | |
28 | ||
29 | %description | |
30 | Btrfs is a new copy on write filesystem for Linux aimed at | |
31 | implementing advanced features while focusing on fault tolerance, | |
32 | repair and easy administration. | |
33 | ||
bc661915 JB |
34 | %description -l pl.UTF-8 |
35 | Btrfs to nowy system plików dla Linuksa oparty na zasadzie kopiowania | |
36 | przy zapisie (copy-on-write), którego celem jest zaimplementowanie | |
37 | zaawansowanych możliwości ze szczególnym naciskiem na odporność na | |
38 | awarie, naprawę i łatwe administrowanie. | |
39 | ||
7172bf1c | 40 | %package devel |
bc661915 JB |
41 | Summary: Header files for btrfs filesystem-specific library |
42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dla systemu plików btrfs | |
7172bf1c ER |
43 | Group: Development/Libraries |
44 | Requires: %{name} = %{version}-%{release} | |
45 | ||
46 | %description devel | |
bc661915 | 47 | This package contains the header files needed to develop btrfs |
7172bf1c ER |
48 | filesystem-specific programs. |
49 | ||
bc661915 JB |
50 | %description devel -l pl.UTF-8 |
51 | Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu programów | |
52 | przeznaczonych dla systemu plików btrfs. | |
53 | ||
54 | %package static | |
55 | Summary: Static btrfs filesystem library | |
56 | Summary(pl.UTF-8): Statyczna biblioteka dla systemu plików btrfs | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static btrfs filesystem library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka dla systemu plików btrfs. | |
65 | ||
7172bf1c ER |
66 | %prep |
67 | %setup -q -n %{name}-v%{version} | |
ada6dcaf | 68 | %patch0 -p1 |
e3346250 AM |
69 | |
70 | %build | |
82ef4e43 JP |
71 | %{__aclocal} |
72 | %{__autoconf} | |
73 | %configure | |
e3346250 | 74 | %{__make} \ |
82ef4e43 | 75 | V=1 |
e3346250 AM |
76 | |
77 | %install | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
e3346250 | 80 | %{__make} install \ |
1295fb7d | 81 | prefix=%{_prefix} \ |
e3346250 | 82 | bindir=%{_sbindir} \ |
1295fb7d | 83 | mandir=%{_mandir} \ |
7172bf1c | 84 | libdir=%{_libdir} \ |
e3346250 AM |
85 | DESTDIR=$RPM_BUILD_ROOT |
86 | ||
87 | ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs | |
88 | ||
89 | %clean | |
90 | rm -rf $RPM_BUILD_ROOT | |
91 | ||
92 | %files | |
93 | %defattr(644,root,root,755) | |
94 | %doc INSTALL | |
7172bf1c ER |
95 | %attr(755,root,root) %{_sbindir}/btrfsck |
96 | %attr(755,root,root) %{_sbindir}/mkfs.btrfs | |
97 | %attr(755,root,root) %{_sbindir}/fsck.btrfs | |
98 | %attr(755,root,root) %{_sbindir}/btrfs-debug-tree | |
99 | %attr(755,root,root) %{_sbindir}/btrfs-image | |
100 | %attr(755,root,root) %{_sbindir}/btrfs-convert | |
101 | %attr(755,root,root) %{_sbindir}/btrfstune | |
102 | %attr(755,root,root) %{_sbindir}/btrfs | |
103 | %attr(755,root,root) %{_sbindir}/btrfs-map-logical | |
104 | %attr(755,root,root) %{_sbindir}/btrfs-zero-log | |
105 | %attr(755,root,root) %{_sbindir}/btrfs-find-root | |
82ef4e43 | 106 | %attr(755,root,root) %{_sbindir}/btrfs-select-super |
7172bf1c ER |
107 | %attr(755,root,root) %{_sbindir}/btrfs-show-super |
108 | %attr(755,root,root) %{_libdir}/libbtrfs.so.*.* | |
bc661915 | 109 | %attr(755,root,root) %ghost %{_libdir}/libbtrfs.so.0 |
c3aff9a4 | 110 | %{_mandir}/man5/btrfs.5* |
7172bf1c | 111 | %{_mandir}/man8/btrfs.8* |
7b8b71e8 JB |
112 | %{_mandir}/man8/btrfs-*.8* |
113 | %{_mandir}/man8/btrfsck.8* | |
7172bf1c | 114 | %{_mandir}/man8/btrfstune.8* |
ada6dcaf | 115 | %{_mandir}/man8/fsck.btrfs.8* |
7b8b71e8 | 116 | %{_mandir}/man8/mkfs.btrfs.8* |
7172bf1c ER |
117 | |
118 | %files devel | |
119 | %defattr(644,root,root,755) | |
bc661915 | 120 | %attr(755,root,root) %{_libdir}/libbtrfs.so |
7172bf1c | 121 | %{_includedir}/btrfs |
bc661915 JB |
122 | |
123 | %files static | |
124 | %defattr(644,root,root,755) | |
125 | %{_libdir}/libbtrfs.a |