-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtcplay-helper.spec
42 lines (32 loc) · 1.04 KB
/
tcplay-helper.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
%define commit 7e38c66c091657dcc5d8b2ba902d6ce37db8040d
%define shortcommit %(c=%{commit}; echo ${c:0:7})
%define date 20150328
Summary: A wrapper script for tc-play for pain free management of tc-play containers
Name: tcplay-helper
Version: 0_git%{date}
Release: 1
License: MIT
Group: File tools
URL: https://github.com/robertmuil/%{name}
Source0: https://github.com/robertmuil/%{name}/archive/%{commit}/%{name}-%{commit}.zip
BuildArch: noarch
Requires: tcplay
%description
tcplay-helper lets you easily manage truecrypt containers with tc-play. The
script currently supports creating, mounting and unmounting tc-play
containers. Usage is simple and the only requirement is that tcplay is
installed on the system.
NOTE: tcplay-helper is still a work in progress. Its been tested primarily
with containers formatted as ext4.
%files
%{_bindir}/%{name}
%doc README.rst
%doc LICENSE
%prep
%setup -q -n %{name}-%{commit}
%build
# Nothing to do here
%install
# binary
install -dm 0755 %{buildroot}%{_bindir}/
install -pm 0755 %{name} %{buildroot}%{_bindir}/