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