]> git.pld-linux.org Git - packages/btrfs-progs.git/blame - btrfs-progs.spec
- updated to 4.1
[packages/btrfs-progs.git] / btrfs-progs.spec
CommitLineData
e3346250 1Summary: Utilities belonging to the btrfs filesystem
bc661915 2Summary(pl.UTF-8): Narzędzia należące do systemu plików btrfs
e3346250 3Name: btrfs-progs
299b85aa 4Version: 4.1
82ef4e43 5Release: 1
e3346250
AM
6License: GPL v2
7Group: Applications/System
1fff9453 8Source0: https://www.kernel.org/pub/linux/kernel/people/kdave/btrfs-progs/%{name}-v%{version}.tar.xz
299b85aa 9# Source0-md5: ff451f4a40ec0c1bdecf3224465a3376
7b8b71e8 10Patch0: %{name}-man.patch
e3346250 11URL: http://btrfs.wiki.kernel.org/
7172bf1c 12BuildRequires: acl-devel
cae4ce1d 13BuildRequires: asciidoc
82ef4e43 14BuildRequires: autoconf >= 2.60
7172bf1c
ER
15BuildRequires: e2fsprogs-devel
16BuildRequires: libblkid-devel
82ef4e43 17BuildRequires: libcom_err-devel
e3346250 18BuildRequires: libuuid-devel
a11951f7 19BuildRequires: lzo-devel >= 2
82ef4e43 20BuildRequires: pkgconfig
7172bf1c 21BuildRequires: tar >= 1:1.22
82ef4e43 22BuildRequires: xmlto
7172bf1c 23BuildRequires: xz
1d46f4d5 24BuildRequires: zlib-devel
e3346250
AM
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%define _sbindir /sbin
28
29%description
30Btrfs is a new copy on write filesystem for Linux aimed at
31implementing advanced features while focusing on fault tolerance,
32repair and easy administration.
33
bc661915
JB
34%description -l pl.UTF-8
35Btrfs to nowy system plików dla Linuksa oparty na zasadzie kopiowania
36przy zapisie (copy-on-write), którego celem jest zaimplementowanie
37zaawansowanych możliwości ze szczególnym naciskiem na odporność na
38awarie, naprawę i łatwe administrowanie.
39
7172bf1c 40%package devel
bc661915
JB
41Summary: Header files for btrfs filesystem-specific library
42Summary(pl.UTF-8): Pliki nagłówkowe biblioteki dla systemu plików btrfs
7172bf1c
ER
43Group: Development/Libraries
44Requires: %{name} = %{version}-%{release}
45
46%description devel
bc661915 47This package contains the header files needed to develop btrfs
7172bf1c
ER
48filesystem-specific programs.
49
bc661915
JB
50%description devel -l pl.UTF-8
51Ten pakiet zawiera pliki nagłówkowe potrzebne przy tworzeniu programów
52przeznaczonych dla systemu plików btrfs.
53
54%package static
55Summary: Static btrfs filesystem library
56Summary(pl.UTF-8): Statyczna biblioteka dla systemu plików btrfs
57Group: Development/Libraries
58Requires: %{name}-devel = %{version}-%{release}
59
60%description static
61Static btrfs filesystem library.
62
63%description static -l pl.UTF-8
64Statyczna 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
78rm -rf $RPM_BUILD_ROOT
79install -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
87ln -sf btrfsck $RPM_BUILD_ROOT%{_sbindir}/fsck.btrfs
88
89%clean
90rm -rf $RPM_BUILD_ROOT
91
92%files
93%defattr(644,root,root,755)
94%doc INSTALL
7172bf1c
ER
95%attr(755,root,root) %{_sbindir}/btrfsck
96%attr(755,root,root) %{_sbindir}/mkfs.btrfs
97%attr(755,root,root) %{_sbindir}/fsck.btrfs
98%attr(755,root,root) %{_sbindir}/btrfs-debug-tree
99%attr(755,root,root) %{_sbindir}/btrfs-image
100%attr(755,root,root) %{_sbindir}/btrfs-convert
101%attr(755,root,root) %{_sbindir}/btrfstune
102%attr(755,root,root) %{_sbindir}/btrfs
103%attr(755,root,root) %{_sbindir}/btrfs-map-logical
104%attr(755,root,root) %{_sbindir}/btrfs-zero-log
105%attr(755,root,root) %{_sbindir}/btrfs-find-root
82ef4e43 106%attr(755,root,root) %{_sbindir}/btrfs-select-super
7172bf1c
ER
107%attr(755,root,root) %{_sbindir}/btrfs-show-super
108%attr(755,root,root) %{_libdir}/libbtrfs.so.*.*
bc661915 109%attr(755,root,root) %ghost %{_libdir}/libbtrfs.so.0
c3aff9a4 110%{_mandir}/man5/btrfs.5*
7172bf1c 111%{_mandir}/man8/btrfs.8*
7b8b71e8
JB
112%{_mandir}/man8/btrfs-*.8*
113%{_mandir}/man8/btrfsck.8*
7172bf1c 114%{_mandir}/man8/btrfstune.8*
ada6dcaf 115%{_mandir}/man8/fsck.btrfs.8*
7b8b71e8 116%{_mandir}/man8/mkfs.btrfs.8*
7172bf1c
ER
117
118%files devel
119%defattr(644,root,root,755)
bc661915 120%attr(755,root,root) %{_libdir}/libbtrfs.so
7172bf1c 121%{_includedir}/btrfs
bc661915
JB
122
123%files static
124%defattr(644,root,root,755)
125%{_libdir}/libbtrfs.a
This page took 0.066641 seconds and 4 git commands to generate.