bcachefs-tools/bcache-tools.spec

32 lines
805 B
RPMSpec
Raw Normal View History

Summary: bcache-tools: manage local bcache devices
Name: %{package_name}
Version: 0.datera.%{datera_version}
2014-03-21 01:28:57 +04:00
Release: %{?release:%{release}}%{!?release:eng}
Source0: %{name}-%{version}.tar.gz
License: GPLv2
2014-03-21 01:28:57 +04:00
Group: tools
BuildRoot: %{_tmppath}/%{name}-root
2014-03-29 03:51:17 +04:00
Requires: libblkid
BuildRequires: pkgconfig libblkid-devel linux-headers libnih-devel
Summary: tools to manage bcache
Epoch: 5
2014-03-21 01:28:57 +04:00
%description
bcache tools
2014-03-21 01:28:57 +04:00
%install
make DESTDIR=%buildroot INSTALL=/usr/bin/install -C /bld/$RPM_PACKAGE_NAME install
2014-03-21 01:28:57 +04:00
%files
%_bindir/bcacheadm
%_bindir/bcachectl
%_bindir/make-bcache
%_bindir/probe-bcache
%_bindir/bcache-super-show
%_libdir/libbcache.a
%_mandir/man8/*.gz
%exclude %_prefix/etc/initramfs-tools/hooks/bcache
%exclude %_prefix/lib/udev/bcache-register
%exclude %_prefix/lib/udev/rules.d/69-bcache.rules