[tcplay] Initial import (#743497).

Eric Smith brouhaha at fedoraproject.org
Wed Oct 12 17:50:33 UTC 2011


commit d3bb3396bda6aa16bb7ba8d41df57892b95aace0
Author: Eric Smith <eric at brouhaha.com>
Date:   Wed Oct 12 10:50:32 2011 -0700

    Initial import (#743497).

 .gitignore             |    1 +
 sources                |    1 +
 tcplay-get-snapshot.sh |    6 +++++
 tcplay.spec            |   57 ++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 65 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aeaff1c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tcplay-97ed5f9.tar.xz
diff --git a/sources b/sources
index e69de29..1b0e000 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+479cfdf84d136ab32feed394953c75da  tcplay-97ed5f9.tar.xz
diff --git a/tcplay-get-snapshot.sh b/tcplay-get-snapshot.sh
new file mode 100644
index 0000000..3f84866
--- /dev/null
+++ b/tcplay-get-snapshot.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+# usage: tcplay-get-snapshot.sh <hash>
+git clone git://github.com/bwalex/tc-play
+( cd tc-play && \
+  git archive --format=tar --prefix=tcplay-$1/ $1 \
+) | xz - >tcplay-$1.tar.xz
diff --git a/tcplay.spec b/tcplay.spec
new file mode 100644
index 0000000..dda9827
--- /dev/null
+++ b/tcplay.spec
@@ -0,0 +1,57 @@
+%global snapdate 20111007
+%global githash 97ed5f9
+
+Name:		tcplay
+Version:	0.9
+Release:	0.4.%{snapdate}git%{githash}%{?dist}
+Summary:	Utility to create/open/map TrueCrypt-compatible volumes
+Group:		Applications/System
+License:	BSD
+URL:		https://github.com/bwalex/tc-play
+BuildRequires:	device-mapper-devel libgcrypt-devel libuuid-devel
+BuildRequires:	openssl-devel
+
+Source0:	%{name}-%{githash}.tar.xz
+
+# Fedora-specific script for packaging:
+Source1000:	tcplay-get-snapshot.sh
+# To generate tarball for Source0:
+#   sh tcplay-get-snapshot.sh %{githash}
+
+
+%description
+The tcplay utility provides full support for creating and opening/mapping
+TrueCrypt-compatible volumes.
+
+%prep
+%setup -q -n %{name}-%{githash}
+
+%build
+make %{?_smp_mflags} CFLAGS="%{optflags}"
+
+%install
+install -d -m 755 %{buildroot}%{_bindir}
+install -p -m 755 %{name} %{buildroot}%{_bindir}
+
+install -d -m 755 %{buildroot}%{_mandir}/man8
+install -p -m 644 %{name}.8 %{buildroot}%{_mandir}/man8
+
+%files
+%doc README
+%doc LICENSE
+%{_bindir}/%{name}
+%{_mandir}/man8/%{name}.8*
+
+%changelog
+* Sat Oct 08 2011 Eric Smith <eric at brouhaha.com> - 0.9-0.4.20111007git97ed5f9
+- Removed more outdated items from spec, not intending to support RHEL5 or
+  earlier.
+
+* Thu Oct 06 2011 Eric Smith <eric at brouhaha.com> - 0.9-0.3.20111007git97ed5f9
+- updated to new upstream snapshot
+
+* Thu Oct 06 2011 Eric Smith <eric at brouhaha.com> - 0.9-0.2.20111004git59c6097
+- updated based on package review comments, bug 743497
+
+* Tue Oct 04 2011 Eric Smith <eric at brouhaha.com> - 0.9-0.1.20111004git59c6097
+- initial version


More information about the scm-commits mailing list