Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 1cb395d697c496f4a9de5386a34a1ff6 > files > 1

drupal6-yubikey-6.x.2.0.beta2-1.fc13.src.rpm

%global drupalver 6
%if 0%{?fedora} <= 14
%global drupal drupal
%else
# e.g. "drupal6"
%global drupal drupal%{drupalver}
%endif
# e.g. "/usr/share/drupal6"
%global drupaldir %{_datadir}/%{drupal}
# Use upstream name as expressed in URL and tarball
%global modname yubikey

Name:    drupal6-%{modname}
Version: 6.x.2.0.beta2
Release: 1%{?dist}
Summary: Provides YubiKey based strong two-factor user authentication capabilities
Group:   Applications/Publishing
License: GPLv2+
URL:     http://drupal.org/project/%{modname}
Source0: http://ftp.drupal.org/files/projects/yubikey-6.x-2.0-beta2.tar.gz
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires:  %{drupal} >= 6.0

%description
YubiKey is a secure method for logging into many websites using a 
cryptographically secure USB token. It does not require special 
software, and since it does not generate the same OTP (One Time 
Password) more than once, nothing is shared among associated sites.
Users can assign one or more YubiKeys to an existing account, and 
log in using a YubiKey. This offers additional security to the users 
even over insecure connections.

%prep
%setup -qn %{modname}

%build

%install
rm -rf %{buildroot}
install -d %{buildroot}%{drupaldir}/modules/%{modname}
cp -pr * %{buildroot}%{drupaldir}/modules/%{modname}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc LICENSE.txt 
%exclude %{drupaldir}/modules/%{modname}/LICENSE.txt
%{drupaldir}/modules/%{modname}

%changelog
* Wed Mar 02 2011 Eric "Sparks" Christensen - 6.x.2.0.beta2-1
- Initial package