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