]> git.pld-linux.org Git - packages/sedutil.git/blob - sedutil.spec
e985bfa6de8ea4da0dc08a8bb210d8ae24fdfbec
[packages/sedutil.git] / sedutil.spec
1 # TODO: build PBAs
2 Summary:        Self encrypting drive software
3 Name:           sedutil
4 Version:        1.12
5 Release:        1
6 License:        GPL v3+
7 Group:          Applications/System
8 Source0:        https://github.com/Drive-Trust-Alliance/sedutil/archive/%{version}.tar.gz
9 # Source0-md5:  ea8c3c6ae806a00feb292c6970f93e09
10 # https://github.com/JanLuca/sedutil/commit/44e144ae2b85dc541bd09945311a2030ab412e98.patch
11 Patch0:         44e144ae2b85dc541bd09945311a2030ab412e98.patch
12 URL:            https://github.com/Drive-Trust-Alliance/sedutil
13 BuildRequires:  libstdc++-devel
14 ExclusiveArch:  %{ix86} %{x8664}
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 The Drive Trust Alliance Self Encrypting Drive Utility.
19
20 This program and it's accompanying Pre-Boot Authorization image allow
21 you to enable the locking in SED's that comply with the TCG OPAL 2.00
22 standard on BIOS machines.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 %{__make} -C linux/CLI \
30 %ifarch %{x8664}
31         CONF=Release_x86_64
32 %else
33         CONF=Release_i686
34 %endif
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT%{_bindir}
39
40 install linux/CLI/dist/Release_*/GNU-Linux/%{name}-cli $RPM_BUILD_ROOT%{_bindir}
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %files
46 %defattr(644,root,root,755)
47 %doc README.md
48 %attr(755,root,root) %{_bindir}/%{name}-cli
This page took 0.019222 seconds and 2 git commands to generate.