%global author bwalex %global snapdate 20111004 %global githash 59c6097 Name: tc-play Version: 0.9 Release: 0.1.%{snapdate}git%{githash}%{?dist} Summary: Utility to create/open/map TrueCrypt-compatible volumes Group: Applications/System License: BSD URL: https://github.com/%{author}/%{name} Source0: bwalex-%{name}-%{githash}.tar.gz # Source0: https://github.com/bwalex/tc-play/tarball/master BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: device-mapper-devel libgcrypt-devel libuuid-devel BuildRequires: openssl-devel %description The tcplay utility provides full support for creating and opening/mapping TrueCrypt-compatible volumes. %prep %setup -q -n %{author}-%{name}-%{githash} %build make %{?_smp_mflags} CFLAGS="%{optflags}" %install rm -rf %{buildroot} install -d -m 755 %{buildroot}%{_bindir} install -p -m 755 tcplay %{buildroot}%{_bindir} %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %doc README %{_bindir}/tcplay %changelog * Tue Oct 04 2011 Eric Smith - 0.9-0.1.20111004git59c6097 - initial version