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