SPECS: pam-pam_mobile_otp.spec (NEW) - initial spec
grzegorz
grzegorz at pld-linux.org
Tue Mar 11 15:13:00 CET 2008
Author: grzegorz Date: Tue Mar 11 14:12:59 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial spec
---- Files affected:
SPECS:
pam-pam_mobile_otp.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/pam-pam_mobile_otp.spec
diff -u /dev/null SPECS/pam-pam_mobile_otp.spec:1.1
--- /dev/null Tue Mar 11 15:12:59 2008
+++ SPECS/pam-pam_mobile_otp.spec Tue Mar 11 15:12:54 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define modulename pam_mobile_otp
+Summary: Mobile-OTP PAM module
+Summary(pl.UTF-8): Moduł PAM Mobile-OTP
+Name: pam-%{modulename}
+Version: 0.2
+Release: 0.1
+License: waiting for reply from author
+Group: Applications
+Source0: %{modulename}-%{version}.tgz
+# Source0-md5: ce8fa3a59c0ee0ed0deef3a3092ffb03
+URL: http://motp.sourceforge.net/
+BuildRequires: pam-devel
+Patch0: %{modulename}-DESTDIR.patch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Mobile One Time Passwords - strong, two-factor authentication with
+mobile phones.
+
+%prep
+%setup -q -n %{modulename}
+%patch0 -p1
+
+%build
+
+cp Makefile.Linux Makefile
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# create directories if necessary
+install -d $RPM_BUILD_ROOT{/lib/security/,/etc/security,/var/cache/motp}
+
+%{__make} install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install motp.conf $RPM_BUILD_ROOT/etc/security
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG README MOTP.html
+
+%attr(755,root,root) /lib/security/pam_mobile_otp.so
+%attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/motp.conf
+%attr(750,root,root) %dir /var/cache/motp
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2008-03-11 14:12:54 grzegorz
+- initial spec
+
================================================================
More information about the pld-cvs-commit
mailing list