[tcplay] Update to latest upstream snapshot.
Eric Smith
brouhaha at fedoraproject.org
Wed Jul 24 04:40:14 UTC 2013
commit afde7aff90a1962c92b9977d1f05ef7e0e598a20
Author: Eric Smith <brouhaha at fedoraproject.org>
Date: Tue Jul 23 22:39:38 2013 -0600
Update to latest upstream snapshot.
.gitignore | 1 +
sources | 2 +-
tcplay-get-snapshot.sh | 6 ------
tcplay.spec | 40 ++++++++++++++++++++++++----------------
4 files changed, 26 insertions(+), 23 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index aeaff1c..a1d52a4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/tcplay-97ed5f9.tar.xz
+/bwalex-tc-play-59c6097.tar.gz
diff --git a/sources b/sources
index 1b0e000..78eb1be 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-479cfdf84d136ab32feed394953c75da tcplay-97ed5f9.tar.xz
+4f4412bd31a07f518e98781e0f71f4b7 bwalex-tc-play-59c6097.tar.gz
diff --git a/tcplay.spec b/tcplay.spec
index 7cc7b64..f6c0285 100644
--- a/tcplay.spec
+++ b/tcplay.spec
@@ -1,32 +1,38 @@
-%global snapdate 20111007
-%global githash 97ed5f9
+%global git_date 20130629
+%global git_hash b44b1fa
+%global git_user bwalex
+%global git_project tc-play
+
+%if 0%{?rhel}
+%global cmake %cmake28
+%endif
Name: tcplay
-Version: 0.9
-Release: 0.7.%{snapdate}git%{githash}%{?dist}
+Version: 1.1
+Release: 0.1.%{git_date}git%{git_hash}%{?dist}
Summary: Utility to create/open/map TrueCrypt-compatible volumes
Group: Applications/System
License: BSD
-URL: https://github.com/bwalex/tc-play
+URL: https://github.com/%{git_user}/%{git_project}
+Source0: https://github.com/%{git_user}/%{git_project}/tarball/%{git_hash}/%{git_project}-%{git_hash}.tar.gz
+
+%if 0%{?rhel}
+BuildRequires: cmake28
+%else
+BuildRequires: cmake
+%endif
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}
+%setup -q -n %{git_user}-%{git_project}-%{git_hash}
%build
+%{cmake}
make %{?_smp_mflags} CFLAGS="%{optflags}"
%install
@@ -37,12 +43,14 @@ install -d -m 755 %{buildroot}%{_mandir}/man8
install -p -m 644 %{name}.8 %{buildroot}%{_mandir}/man8
%files
-%doc README
-%doc LICENSE
+%doc README.md LICENSE
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8*
%changelog
+* Tue Jul 23 2013 Eric Smith <brouhaha at fedoraproject.org> - 1.1-0.1.20130629gitb44b1fa
+- Updated to latest upstream snapshot.
+
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.9-0.7.20111007git97ed5f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list