Compare commits
6 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1e8eca87fe | ||
|
|
78963d94d5 | ||
| 7a71ad1a5b | |||
| c3acbfc5db | |||
| 8141b5a2d8 | |||
| de6e5f4d28 |
4 changed files with 65 additions and 21 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
|||
# Makefile for source rpm: ykclient
|
||||
# $Id$
|
||||
NAME := ykclient
|
||||
SPECFILE = $(firstword $(wildcard *.spec))
|
||||
|
||||
define find-makefile-common
|
||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
||||
|
||||
ifeq ($(MAKEFILE_COMMON),)
|
||||
# attept a checkout
|
||||
define checkout-makefile-common
|
||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
||||
endef
|
||||
|
||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
||||
endif
|
||||
|
||||
include $(MAKEFILE_COMMON)
|
||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
|||
7de70fb19e1a1857689afaec74def7fb ykclient-2.3.tar.gz
|
||||
64
ykclient.spec
Normal file
64
ykclient.spec
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
Name: ykclient
|
||||
Version: 2.3
|
||||
Release: 1%{?dist}
|
||||
Summary: Yubikey management library and client
|
||||
|
||||
Group: Applications/System
|
||||
License: BSD
|
||||
URL: http://yubico-c-client.googlecode.com/
|
||||
Source0: http://yubico-c-client.googlecode.com/files/ykclient-%{version}.tar.gz
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
|
||||
BuildRequires: curl-devel, chrpath
|
||||
|
||||
%description
|
||||
commandline for yubikeys
|
||||
|
||||
%package devel
|
||||
|
||||
Summary: Development headers and libraries for ykclient
|
||||
Group: Development/System
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
development files for ykclient needed to build applications to
|
||||
take advantage of yubikey authentication.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure --enable-static=no
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
rm $RPM_BUILD_ROOT%{_libdir}/libykclient.la
|
||||
chrpath -d $RPM_BUILD_ROOT%{_bindir}/ykclient
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc COPYING AUTHORS NEWS README
|
||||
%{_bindir}/ykclient
|
||||
%{_libdir}/libykclient.so.3*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
%doc README COPYING NEWS AUTHORS
|
||||
%{_includedir}/ykclient.h
|
||||
%{_libdir}/libykclient.so
|
||||
|
||||
%changelog
|
||||
* Sun Jun 21 2009 Dennis Gilmore <dennis@ausil.us> - 2.3-1
|
||||
- update to 2.3 release
|
||||
|
||||
* Wed Apr 29 2009 Dennis Gilmore <dennis@ausil.us> - 2.2-1
|
||||
- initial packaging
|
||||
Loading…
Add table
Add a link
Reference in a new issue