Package btrfs-progs

Download btrfs-progs.spec
  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
%ifarch x86_64 aarch64
%def_with check
%else
%def_without check
%endif

%define _unpackaged_files_terminate_build 0
Name: btrfs-progs
Version: 5.16.2
Release: alt1

Summary: Utilities for managing the Btrfs filesystem
License: GPLv2
Group: System/Kernel and hardware
Url: http://btrfs.wiki.kernel.org/
VCS: git://git.kernel.org/pub/scm/linux/kernel/git/kdave/btrfs-progs.git
Source: %name-%version.tar
Patch0: %name-%version-alt.patch

BuildRequires: libacl-devel
BuildRequires: libe2fs-devel
BuildRequires: libuuid-devel
BuildRequires: zlib-devel
BuildRequires: libblkid-devel
BuildRequires: libattr-devel
BuildRequires: liblzo2-devel
BuildRequires: asciidoc
BuildRequires: xmlto
BuildRequires: libzstd-devel
BuildRequires: libudev-devel
BuildRequires: libselinux-devel
%if_with check
BuildRequires: /proc /dev/kvm
BuildRequires: /sbin/dmsetup
BuildRequires: /usr/bin/getfacl
BuildRequires: /sbin/udevadm
BuildRequires: rpm-build-vm
%endif

%description
Btrfs (B-tree FS or usually pronounced "Butter FS") is a copy-on-write
file system for Linux. It was created as a response to the ZFS filesystem,
in order to replace the ext3 file system while removing a number of its
limitations, particularly with respect to file size, total file system size
and filesystem check duration; it is also expected to implement modern
filesystem features not supported by ext3, like writable snapshots,
snapshots of snapshots, builtin RAID support, and subvolumes. In addition,
Btrfs claims a "focus on fault tolerance, repair and easy administration.

This package contains utilities for managing the Btrfs filesystem

%package -n libbtrfs-devel
Summary:	btrfs filesystem-specific libraries and headers
Group:		Development/C
Requires:	libbtrfs = %version-%release
Provides:	%name-devel

%description -n libbtrfs-devel
btrfs-progs-devel contains the libraries and header files needed to
develop btrfs filesystem-specific programs.

You should install btrfs-progs-devel if you want to develop
btrfs filesystem-specific programs.


%package -n libbtrfs
Summary:	btrfs filesystem-specific libraries and headers
Group:		System/Kernel and hardware

%description -n libbtrfs
btrfs-progs-devel contains shared libraries needed to
btrfs filesystem-specific programs.


%prep
%setup -q
%patch0 -p1

%build
autoreconf -fisv -I m4
automake --add-missing ||:
%configure --disable-python \
	   --disable-static \
	   --with-pkgconfigdir=%_pkgconfigdir \
	   #
%make_build

%install
%makeinstall_std bindir=/sbin libdir=/%_lib incdir=/%_includedir/
mkdir -p %buildroot%_libdir %buildroot%_bindir
LIBNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libbtrfs.so.*.*\``
ln -s ../../%_lib/$LIBNAME %buildroot%_libdir/libbtrfs.so 
LIBUTILNAME=`basename \`ls $RPM_BUILD_ROOT/%{_lib}/libbtrfsutil.so.*.*\``
ln -s ../../%_lib/$LIBUTILNAME %buildroot%_libdir/libbtrfsutil.so
ln -s ../../sbin/btrfs %buildroot%_bindir/btrfs
rm -f %buildroot/%{_lib}/libbtrfs.so
rm -f %buildroot/%{_lib}/libbtrfsutil.so

%check
# failed: setfattr -n user.foo -v bar1 /usr/src/RPM/BUILD/btrfs-progs-5.16/tests/mnt/acls/acls.1
rm -rf tests/convert-tests/001-ext2-basic
rm -rf tests/convert-tests/002-ext3-basic
rm -rf tests/convert-tests/003-ext4-basic
rm -rf tests/convert-tests/005-delete-all-rollback

# mknod is not allowed in virtual environment
rm -rf tests/mkfs-tests/009-special-files-for-rootdir
# don't run all fuzzing tests
rm -rf tests/fuzz-tests/0*

vm-run --sbin --udevd --kvm=cond make test

%files
/sbin/*
%_bindir/btrfs
%_bindir/*
%_udevrulesdir/*.rules
%_man8dir/*
%_man5dir/*

%files -n libbtrfs
/%_lib/*.so.*

%files -n libbtrfs-devel
%_libdir/*.so
%_pkgconfigdir/libbtrfsutil.pc
%_includedir/*

%changelog
* Sat Feb 19 2022 Anton Farygin <rider@altlinux.ru> 5.16.2-alt1
- 5.16.1 -> 5.16.2

* Thu Feb 10 2022 Anton Farygin <rider@altlinux.ru> 5.16.1-alt1
- 5.16 -> 5.16.1

* Mon Jan 17 2022 Anton Farygin <rider@altlinux.ru> 5.16-alt1
- 5.15.1 -> 5.16
- enabled tests

* Thu Nov 25 2021 Anton Farygin <rider@altlinux.ru> 5.15.1-alt1
- 5.15 -> 5.15.1

* Sat Nov 06 2021 Anton Farygin <rider@altlinux.ru> 5.15-alt1
- 5.14.2 -> 5.15

* Sun Oct 17 2021 Anton Farygin <rider@altlinux.ru> 5.14.2-alt3
- fixed typo in libbtrfsutil.so symlink (closes: #41143)

* Sun Oct 17 2021 Anton Farygin <rider@altlinux.ru> 5.14.2-alt2
- added libbtrfsutil.so to the devel package (closes: #41137)

* Sat Oct 16 2021 Anton Farygin <rider@altlinux.ru> 5.14.2-alt1
- 5.14.2

* Fri Sep 24 2021 Anton Farygin <rider@altlinux.ru> 5.14.1-alt1
- 5.14.1

* Tue Sep 14 2021 Anton Farygin <rider@altlinux.ru> 5.14-alt1
- 5.14

* Mon Aug 02 2021 Anton Farygin <rider@altlinux.ru> 5.13.1-alt1
- 5.13.1

* Mon Jul 26 2021 Anton Farygin <rider@altlinux.ru> 5.13-alt1
- 5.13

* Mon May 17 2021 Anton Farygin <rider@altlinux.ru> 5.12.1-alt1
- 5.12.1

* Thu Mar 25 2021 Anton Farygin <rider@altlinux.org> 5.11.1-alt1
- 5.11.1

* Tue Mar 09 2021 Anton Farygin <rider@altlinux.org> 5.11-alt1
- 5.11

* Mon Mar 01 2021 Anton Farygin <rider@altlinux.org> 5.10.1-alt1
- 5.10.1

* Fri Jan 22 2021 Anton Farygin <rider@altlinux.org> 5.10-alt1
- 5.10

* Mon Nov 02 2020 Anton Farygin <rider@altlinux.ru> 5.9-alt1
- 5.9

* Fri Jul 10 2020 Anton Farygin <rider@altlinux.ru> 5.7-alt1
- 5.7

* Wed May 20 2020 Anton Farygin <rider@altlinux.ru> 5.6.1-alt1
- 5.6.1

* Mon Apr 20 2020 Anton Farygin <rider@altlinux.ru> 5.6-alt1
- 5.6

* Fri Feb 21 2020 Anton Farygin <rider@altlinux.ru> 5.4.1-alt1
- 5.4.1

* Tue Dec 10 2019 Anton Farygin <rider@altlinux.ru> 5.4-alt1
- 5.4

* Wed Nov 20 2019 Anton Farygin <rider@altlinux.ru> 5.3.1-alt1
- 5.3.1

* Sun Sep 08 2019 Anton Farygin <rider@altlinux.ru> 5.2.2-alt1
- 5.2.2

* Mon Aug 05 2019 Anton Farygin <rider@altlinux.ru> 5.2.1-alt1
- 5.2.1

* Tue Jun 18 2019 Anton Farygin <rider@altlinux.ru> 5.1.1-alt1
- 5.1.1

* Tue May 28 2019 Anton Farygin <rider@altlinux.ru> 5.1-alt1
- 5.1

* Tue Mar 12 2019 Anton Farygin <rider@altlinux.ru> 4.20.2-alt1
- 4.20.2

* Fri Jan 25 2019 Anton Farygin <rider@altlinux.ru> 4.20.1-alt1
- 4.20.1

* Mon Dec 10 2018 Anton Farygin <rider@altlinux.ru> 4.19.1-alt1
- 4.19.1

* Mon Nov 26 2018 Anton Farygin <rider@altlinux.ru> 4.19-alt2
- added symlink %_bindir/btrfs to /sbin/btrfs (closes: #35641)
- added udev rules for frendly names in /dev/mapper (closes: #35646)

* Mon Nov 12 2018 Anton Farygin <rider@altlinux.ru> 4.19-alt1
- 4.19

* Sat Aug 11 2018 Anton Farygin <rider@altlinux.ru> 4.17.1-alt1
- 4.17.1

* Tue Jun 26 2018 Anton Farygin <rider@altlinux.ru> 4.17-alt1
- 4.17

* Tue May 22 2018 Anton Farygin <rider@altlinux.ru> 4.16.1-alt1
- 4.16.1

* Wed Apr 11 2018 Anton Farygin <rider@altlinux.ru> 4.16-alt2
- Fix up headers location (closes: #34792)

* Tue Apr 10 2018 Anton Farygin <rider@altlinux.ru> 4.16-alt1
- 4.16
- new feature - python bindings was temporary disabled (for sisyphus migration to python 3.6)
 
* Thu Feb 22 2018 Anton Farygin <rider@altlinux.ru> 4.15.1-alt1
- new version

* Wed Jan 10 2018 Anton Farygin <rider@altlinux.ru> 4.14.1-alt1
- new version

* Sun Dec 10 2017 Anton Farygin <rider@altlinux.ru> 4.14-alt1
- new version

* Mon Oct 23 2017 Anton Farygin <rider@altlinux.ru> 4.13.3-alt1
- new version

* Tue Oct 10 2017 Anton Farygin <rider@altlinux.ru> 4.13.2-alt1
- new version

* Mon Oct 02 2017 Anton Farygin <rider@altlinux.ru> 4.13.1-alt1
- new version

* Mon Sep 18 2017 Anton Farygin <rider@altlinux.ru> 4.13-alt1
- new version

* Fri Aug 04 2017 Anton Farygin <rider@altlinux.ru> 4.12-alt1
- new version

* Tue Jul 11 2017 Anton Farygin <rider@altlinux.ru> 4.11.1-alt1
- new version

* Wed May 24 2017 Anton Farygin <rider@altlinux.ru> 4.11-alt1
- new version

* Tue May 09 2017 Anton Farygin <rider@altlinux.ru> 4.10.2-alt1
- new version

* Mon Mar 27 2017 Anton Farygin <rider@altlinux.ru> 4.10.1-alt1
- new version

* Mon Mar 13 2017 Anton Farygin <rider@altlinux.ru> 4.10-alt1
- new version

* Sat Feb 04 2017 Anton Farygin <rider@altlinux.ru> 4.9.1-alt1
- new version

* Mon Dec 26 2016 Anton Farygin <rider@altlinux.ru> 4.9-alt1
- new version

* Wed Dec 14 2016 Anton Farygin <rider@altlinux.ru> 4.8.5-alt1
- new version

* Tue Nov 29 2016 Anton Farygin <rider@altlinux.ru> 4.8.4-alt1
- new version (closes: #32818)

* Wed Nov 16 2016 Anton Farygin <rider@altlinux.ru> 4.8.3-alt1
- new version

* Mon Oct 17 2016 Anton Farygin <rider@altlinux.ru> 4.8.1-alt1
- new version

* Sun Oct 02 2016 Anton Farygin <rider@altlinux.ru> 4.7.3-alt1
- new version

* Tue Sep 13 2016 Anton Farygin <rider@altlinux.ru> 4.7.2-alt1
- new version

* Fri Aug 26 2016 Anton Farygin <rider@altlinux.ru> 4.7.1-alt1
- new version

* Wed Jun 29 2016 Anton Farygin <rider@altlinux.ru> 4.6.1-alt1
- new version

* Mon Jun 20 2016 Anton Farygin <rider@altlinux.ru> 4.6-alt1
- new version

* Mon May 30 2016 Anton Farygin <rider@altlinux.ru> 4.5.3-alt1
- new version

* Tue May 10 2016 Anton Farygin <rider@altlinux.ru> 4.4.2-alt1
- new version

* Wed Apr 06 2016 Anton Farygin <rider@altlinux.ru> 4.4.1-alt1
- new version

* Mon Nov 23 2015 Anton Farygin <rider@altlinux.ru> 4.3.1-alt1
- new version

* Sat Oct 17 2015 Anton Farygin <rider@altlinux.ru> 4.2.2-alt1
- new version

* Thu Jun 25 2015 Anton Farygin <rider@altlinux.ru> 4.1-alt1
- new version

* Mon May 25 2015 Anton Farygin <rider@altlinux.ru> 4.0.1-alt1
- new version

* Wed May 20 2015 Anton Farygin <rider@altlinux.ru> 4.0-alt1
- new version

* Tue Mar 31 2015 Anton Farygin <rider@altlinux.ru> 3.19.1-alt1
- new version

* Sun Mar 15 2015 Anton Farygin <rider@altlinux.ru> 3.19-alt1
- new version

* Fri Jan 30 2015 Anton Farygin <rider@altlinux.ru> 3.18.2-alt1
- new version

* Mon Jan 19 2015 Anton Farygin <rider@altlinux.ru> 3.18.1-alt1
- new version

* Fri Jan 16 2015 Anton Farygin <rider@altlinux.ru> 3.18-alt1
- new version

* Tue Nov 18 2014 Anton Farygin <rider@altlinux.ru> 3.17.1-alt1
- new version

* Mon Oct 06 2014 Anton Farygin <rider@altlinux.ru> 3.16.2-alt1
- new version

* Mon Sep 08 2014 Anton Farygin <rider@altlinux.ru> 3.16-alt1
- new version

* Thu Jun 05 2014 Anton Farygin <rider@altlinux.ru> 3.14.2-alt1
- new version

* Mon Apr 21 2014 Anton Farygin <rider@altlinux.ru> 3.14.1-alt1
- new version

* Fri Apr 18 2014 Anton Farygin <rider@altlinux.ru> 3.14-alt1
- new version

* Wed Mar 26 2014 Anton Farygin <rider@altlinux.ru> 3.12-alt2
- fixed build on ARM

* Tue Mar 25 2014 Anton Farygin <rider@altlinux.ru> 3.12-alt1
- new version

* Tue Jul 17 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 0.19-alt3.1
- Fixed build

* Sun Feb 20 2011 Kirill A. Shutemov <kas@altlinux.org> 0.19-alt3
- v0.19-35-g1b444cd
- Relocate binaries to /sbin

* Tue Nov 24 2009 Kirill A. Shutemov <kas@altlinux.org> 0.19-alt2
- v0.19-4-gab8fb4c
- Fix BuildRequires

* Sun Sep 06 2009 Kirill A. Shutemov <kas@altlinux.org> 0.19-alt1
- v0.19-1-g4f89b6e

* Thu Jan 29 2009 Kirill A. Shutemov <kas@altlinux.ru> 0.18-alt1
- 0.18

* Wed Jan 21 2009 Kirill A. Shutemov <kas@altlinux.ru> 0.17-alt2
- Fixed typo in package name
- Fixed URL

* Tue Jan 13 2009 Kirill A. Shutemov <kas@altlinux.ru> 0.17-alt1
- Initial build for ALT Linux
Back to Top