automatic version update by autodist [release 3.14.1-1mamba;Tue May 06 2014]

This commit is contained in:
Automatic Build System 2024-01-05 21:00:47 +01:00
parent ae6b4f0532
commit f1479ca7c7
3 changed files with 144 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# btrfs-progs
The btrfs-progs package provides all the userpsace programs needed to create, check, modify and correct any inconsistencies in the btrfs filesystem.

View File

@ -0,0 +1,12 @@
Solo in btrfs-progs-0.19: btrfsck
diff -ru btrfs-progs-0.19.orig/btrfsck.c btrfs-progs-0.19/btrfsck.c
--- btrfs-progs-0.19.orig/btrfsck.c 2009-06-11 18:56:15.000000000 +0200
+++ btrfs-progs-0.19/btrfsck.c 2011-09-01 12:32:52.147573980 +0200
@@ -28,6 +28,7 @@
#include "transaction.h"
#include "list.h"
#include "version.h"
+#include "sys/stat.h"
static u64 bytes_used = 0;
static u64 total_csum_bytes = 0;

130
btrfs-progs.spec Normal file
View File

@ -0,0 +1,130 @@
Name: btrfs-progs
Version: 3.14.1
Release: 1mamba
Summary: Userspace utilities for btrfs filesystem
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://btrfs.wiki.kernel.org/index.php/Main_Page
# git clone git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git
# tar cJf ../SOURCES/btrfs-progs-0.19.git20120702.tar.xz btrfs-progs/
Source: git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs.git/v%{version}/btrfs-progs-%{version}.tar.bz2
#Source: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/btrfs-progs-%{version}.tar.xz
Patch0: %{name}-0.19-glibc-2.12.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libe2fs-devel
BuildRequires: libuuid-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libacl-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The btrfs-progs package provides all the userpsace programs needed to create, check, modify and correct any inconsistencies in the btrfs filesystem.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%prep
%setup -q
#%patch0 -p1
%build
%make \
prefix=%{_prefix} \
bindir=/sbin \
mandir=%{_mandir} \
incdir=%{_includedir}/btrfs \
libdir=%{_libdir}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall \
prefix=%{_prefix} \
bindir=/sbin \
mandir=%{_mandir} \
incdir=%{_includedir}/btrfs \
libdir=%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%files
%defattr(-,root,root)
/sbin/btrfs
/sbin/btrfs-find-root
/sbin/btrfs-image
/sbin/btrfs-map-logical
/sbin/btrfs-show-super
#/sbin/btrfs-restore
/sbin/btrfs-zero-log
/sbin/btrfstune
/sbin/btrfsck
/sbin/btrfs-convert
#/sbin/btrfsctl
/sbin/btrfs-debug-tree
#/sbin/btrfs-show
#/sbin/btrfs-vol
/sbin/fsck.btrfs
/sbin/mkfs.btrfs
%{_mandir}/man8/btrfs.8*
%{_mandir}/man8/btrfs-*.8*
%{_mandir}/man8/btrfstune.8*
%{_mandir}/man8/btrfsck.8*
%{_mandir}/man8/fsck.btrfs.8*
%{_mandir}/man8/mkfs.btrfs.8*
%doc COPYING
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libbtrfs.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_includedir}/btrfs
%{_includedir}/btrfs/*.h
%{_libdir}/libbtrfs.a
%{_libdir}/libbtrfs.so
%changelog
* Tue May 06 2014 Automatic Build System <autodist@mambasoft.it> 3.14.1-1mamba
- automatic version update by autodist
* Sun Apr 13 2014 Automatic Build System <autodist@mambasoft.it> 3.14-1mamba
- automatic version update by autodist
* Mon Dec 23 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 3.12-1mamba
- update to 3.12
* Mon Jul 02 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19.git20120702-1mamba
- update to 0.19.git20120702
* Thu Sep 01 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 0.19-2mamba
- added build patch for glibc >= 2.12
* Tue Aug 25 2009 Davide Madrisan <davide.madrisan@gmail.com> 0.19-1mamba
- package created by autospec