]>
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 |
35aaeb32 | 4 | Version: 4.12 |
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 |
35aaeb32 | 9 | # Source0-md5: 4b1a143677597de413381118db8c10bb |
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 |
35aaeb32 | 15 | BuildRequires: e2fsprogs-devel >= 1.42.0 |
7172bf1c | 16 | BuildRequires: libblkid-devel |
82ef4e43 | 17 | BuildRequires: libcom_err-devel |
e3346250 | 18 | BuildRequires: libuuid-devel |
a11951f7 | 19 | BuildRequires: lzo-devel >= 2 |
35aaeb32 | 20 | BuildRequires: pkgconfig >= 0.9.0 |
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 | ||
e3346250 AM |
87 | %clean |
88 | rm -rf $RPM_BUILD_ROOT | |
89 | ||
90 | %files | |
91 | %defattr(644,root,root,755) | |
35aaeb32 TP |
92 | %doc CHANGES README.md |
93 | %attr(755,root,root) %{_sbindir}/btrfs | |
94 | %attr(755,root,root) %{_sbindir}/btrfs-convert | |
7172bf1c | 95 | %attr(755,root,root) %{_sbindir}/btrfs-debug-tree |
35aaeb32 | 96 | %attr(755,root,root) %{_sbindir}/btrfs-find-root |
7172bf1c | 97 | %attr(755,root,root) %{_sbindir}/btrfs-image |
7172bf1c | 98 | %attr(755,root,root) %{_sbindir}/btrfs-map-logical |
82ef4e43 | 99 | %attr(755,root,root) %{_sbindir}/btrfs-select-super |
35aaeb32 TP |
100 | %attr(755,root,root) %{_sbindir}/btrfs-zero-log |
101 | %attr(755,root,root) %{_sbindir}/btrfsck | |
102 | %attr(755,root,root) %{_sbindir}/btrfstune | |
103 | %attr(755,root,root) %{_sbindir}/fsck.btrfs | |
104 | %attr(755,root,root) %{_sbindir}/mkfs.btrfs | |
7172bf1c | 105 | %attr(755,root,root) %{_libdir}/libbtrfs.so.*.* |
bc661915 | 106 | %attr(755,root,root) %ghost %{_libdir}/libbtrfs.so.0 |
ca4b502a | 107 | /lib/udev/rules.d/64-btrfs-dm.rules |
c3aff9a4 | 108 | %{_mandir}/man5/btrfs.5* |
7172bf1c | 109 | %{_mandir}/man8/btrfs.8* |
7b8b71e8 JB |
110 | %{_mandir}/man8/btrfs-*.8* |
111 | %{_mandir}/man8/btrfsck.8* | |
7172bf1c | 112 | %{_mandir}/man8/btrfstune.8* |
ada6dcaf | 113 | %{_mandir}/man8/fsck.btrfs.8* |
7b8b71e8 | 114 | %{_mandir}/man8/mkfs.btrfs.8* |
7172bf1c ER |
115 | |
116 | %files devel | |
117 | %defattr(644,root,root,755) | |
bc661915 | 118 | %attr(755,root,root) %{_libdir}/libbtrfs.so |
7172bf1c | 119 | %{_includedir}/btrfs |
bc661915 JB |
120 | |
121 | %files static | |
122 | %defattr(644,root,root,755) | |
123 | %{_libdir}/libbtrfs.a |