]> git.pld-linux.org Git - packages/bcache-tools.git/blame - bcache-tools.spec
dracut version
[packages/bcache-tools.git] / bcache-tools.spec
CommitLineData
aa797fcf
JB
1Summary: Userspace tools for bcache
2Summary(pl.UTF-8): Narzędzia przestrzeni użytkownika do bcache
3Name: bcache-tools
f20dd951 4Version: 1.0.5
aa797fcf
JB
5Release: 1
6License: GPL v2
7Group: Applications/System
8Source0: https://github.com/g2p/bcache-tools/archive/v%{version}/%{name}-%{version}.tar.gz
f20dd951 9# Source0-md5: 5f013fa499d1923a5bf282b59fbcf7ba
aa797fcf
JB
10URL: http://bcache.evilpiepirate.org/
11BuildRequires: libblkid-devel
12BuildRequires: libuuid-devel
13BuildRequires: openssl-devel
14BuildRequires: pkgconfig
12364da6 15Requires: uname(release) >= 3.10
0da02813 16Requires: util-linux >= 2.24
aa797fcf
JB
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%description
20These are the userspace tools required for bcache.
21
22Bcache is a patch for the Linux kernel to use SSDs to cache other
23block devices.
24
25%description -l pl.UTF-8
26Ten pakiet zawiera narzędzia przestrzeni użytkownika wymagane przez
27mechanizm bcache.
28
29Bcache to łata na jądro Linuksa, pozwalająca wykorzystywać dyski SSD
30jako pamięć podręczną dla innych urządzeń blokowych.
31
f20dd951
ER
32%package -n dracut-bcache
33Summary: bcache support for Dracut
34Summary(pl.UTF-8): Obsługa bcache dla Dracuta
35Group: Applications/System
36Requires: %{name} = %{version}-%{release}
64a037cb 37Requires: dracut >= 0.31
f20dd951
ER
38
39%description -n dracut-bcache
40bcache support for Dracut.
41
42%description -n dracut-bcache -l pl.UTF-8
43Obsługa bcache dla Dracuta.
44
aa797fcf
JB
45%prep
46%setup -q
47
48%build
49CC="%{__cc}" \
50CFLAGS="%{rpmcflags}" \
51%{__make}
52
53%install
54rm -rf $RPM_BUILD_ROOT
55install -d $RPM_BUILD_ROOT{%{_sbindir},/lib/udev/rules.d,%{_datadir}/initramfs-tools/hooks,/lib/dracut/modules.d,%{_mandir}/man8}
56
57%{__make} install \
58 DESTDIR=$RPM_BUILD_ROOT
59
f20dd951
ER
60# not supported in pld
61# initramfs-tools subpackage?
62%{__rm} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/hooks/bcache
63
64# not supported in pld
65%{__rm} $RPM_BUILD_ROOT%{_prefix}/lib/initcpio/install/bcache
66
aa797fcf
JB
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%files
71%defattr(644,root,root,755)
72%doc README
73%attr(755,root,root) %{_sbindir}/bcache-super-show
74%attr(755,root,root) %{_sbindir}/make-bcache
75%attr(755,root,root) /lib/udev/bcache-register
76%attr(755,root,root) /lib/udev/probe-bcache
77/lib/udev/rules.d/69-bcache.rules
78%{_mandir}/man8/bcache-super-show.8*
79%{_mandir}/man8/make-bcache.8*
80%{_mandir}/man8/probe-bcache.8*
f20dd951
ER
81
82%files -n dracut-bcache
83%defattr(644,root,root,755)
aa797fcf
JB
84%dir /lib/dracut/modules.d/90bcache
85%attr(755,root,root) /lib/dracut/modules.d/90bcache/module-setup.sh
This page took 0.085957 seconds and 4 git commands to generate.