]>
Commit | Line | Data |
---|---|---|
1 | Summary: Utilities belonging to the btrfs filesystem | |
2 | Summary(pl.UTF-8): Narzędzia należące do systemu plików btrfs | |
3 | Name: btrfs-progs | |
4 | Version: 3.17.3 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: Applications/System | |
8 | Source0: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/%{name}-v%{version}.tar.xz | |
9 | # Source0-md5: 6716b4b109dd909af63ab3becbad67a6 | |
10 | Patch0: %{name}-man.patch | |
11 | URL: http://btrfs.wiki.kernel.org/ | |
12 | BuildRequires: acl-devel | |
13 | BuildRequires: asciidoc | |
14 | BuildRequires: e2fsprogs-devel | |
15 | BuildRequires: libblkid-devel | |
16 | BuildRequires: libuuid-devel | |
17 | BuildRequires: lzo-devel >= 2 | |
18 | BuildRequires: tar >= 1:1.22 | |
19 | BuildRequires: xz | |
20 | BuildRequires: zlib-devel | |
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 | ||
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 | ||
36 | %package devel | |
37 | Summary: Header files for btrfs filesystem-specific library | |
38 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dla systemu plików btrfs | |
39 | Group: Development/Libraries | |
40 | Requires: %{name} = %{version}-%{release} | |
41 | ||
42 | %description devel | |
43 | This package contains the header files needed to develop btrfs | |
44 | filesystem-specific programs. | |
45 | ||
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 | ||
62 | %prep | |
63 | %setup -q -n %{name}-v%{version} | |
64 | %patch0 -p1 | |
65 | ||
66 | %build | |
67 | %{__make} \ | |
68 | V=1 \ | |
69 | CC="%{__cc}" \ | |
70 | CFLAGS="%{rpmcppflags} %{rpmcflags} -fno-strict-aliasing" | |
71 | ||
72 | %install | |
73 | rm -rf $RPM_BUILD_ROOT | |
74 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
75 | %{__make} install \ | |
76 | prefix=%{_prefix} \ | |
77 | bindir=%{_sbindir} \ | |
78 | mandir=%{_mandir} \ | |
79 | libdir=%{_libdir} \ | |
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 | |
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.*.* | |
103 | %attr(755,root,root) %ghost %{_libdir}/libbtrfs.so.0 | |
104 | %{_mandir}/man5/btrfs.5* | |
105 | %{_mandir}/man8/btrfs.8* | |
106 | %{_mandir}/man8/btrfs-*.8* | |
107 | %{_mandir}/man8/btrfsck.8* | |
108 | %{_mandir}/man8/btrfstune.8* | |
109 | %{_mandir}/man8/fsck.btrfs.8* | |
110 | %{_mandir}/man8/mkfs.btrfs.8* | |
111 | ||
112 | %files devel | |
113 | %defattr(644,root,root,755) | |
114 | %attr(755,root,root) %{_libdir}/libbtrfs.so | |
115 | %{_includedir}/btrfs | |
116 | ||
117 | %files static | |
118 | %defattr(644,root,root,755) | |
119 | %{_libdir}/libbtrfs.a |