btrfs-progs/btrfs-progs.spec

187 lines
5.7 KiB
RPMSpec

Name: btrfs-progs
Version: 4.2.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/kdave/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: libblkid-devel
BuildRequires: libe2fs-devel
BuildRequires: liblzo-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
./autogen.sh
%configure \
CFLAGS="%{optflags} -fno-strict-aliasing -rdynamic" \
--bindir=/sbin
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%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-select-super
/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}/man5/btrfs.5*
%{_mandir}/man8/btrfs.8*
%{_mandir}/man8/btrfs-*.8*
%{_mandir}/man8/btrfsck.8*
%{_mandir}/man8/btrfstune.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
* Mon Sep 28 2015 Automatic Build System <autodist@mambasoft.it> 4.2.1-1mamba
- automatic version update by autodist
* Fri Sep 11 2015 Automatic Build System <autodist@mambasoft.it> 4.2-1mamba
- automatic version update by autodist
* Thu Jul 16 2015 Automatic Build System <autodist@mambasoft.it> 4.1.2-1mamba
- automatic version update by autodist
* Mon Jul 13 2015 Automatic Build System <autodist@mambasoft.it> 4.1.1-1mamba
- automatic version update by autodist
* Sat Jun 27 2015 Automatic Build System <autodist@mambasoft.it> 4.1-1mamba
- automatic version update by autodist
* Mon May 25 2015 Automatic Build System <autodist@mambasoft.it> 4.0.1-1mamba
- automatic version update by autodist
* Fri May 08 2015 Automatic Build System <autodist@mambasoft.it> 4.0-1mamba
- automatic version update by autodist
* Mon Apr 20 2015 Automatic Build System <autodist@mambasoft.it> 3.19.1-1mamba
- automatic version update by autodist
* Fri Apr 03 2015 Automatic Build System <autodist@mambasoft.it> 3.19-1mamba
- automatic version update by autodist
* Fri Feb 06 2015 Automatic Build System <autodist@mambasoft.it> 3.18.2-1mamba
- automatic version update by autodist
* Mon Jan 26 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 3.18.1-1mamba
- update to 3.18.1
* Thu Dec 11 2014 Automatic Build System <autodist@mambasoft.it> 3.17.3-1mamba
- automatic version update by autodist
* Wed Nov 26 2014 Automatic Build System <autodist@mambasoft.it> 3.17.2-1mamba
- automatic version update by autodist
* Fri Nov 07 2014 Automatic Build System <autodist@mambasoft.it> 3.17.1-1mamba
- automatic version update by autodist
* Tue Oct 28 2014 Automatic Build System <autodist@mambasoft.it> 3.17-1mamba
- automatic version update by autodist
* Sun Oct 05 2014 Automatic Build System <autodist@mambasoft.it> 3.16.2-1mamba
- automatic version update by autodist
* Thu Oct 02 2014 Automatic Build System <autodist@mambasoft.it> 3.16.1-1mamba
- automatic version update by autodist
* Fri Sep 05 2014 Automatic Build System <autodist@mambasoft.it> 3.16-1mamba
- automatic version update by autodist
* Sat Jun 07 2014 Automatic Build System <autodist@mambasoft.it> 3.14.2-1mamba
- automatic version update by autodist
* 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