Compare commits

...
Sign in to create a new pull request.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
1e8eca87fe dist-git conversion 2010-07-29 16:21:39 +00:00
Bill Nottingham
78963d94d5 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:12:25 +00:00
7a71ad1a5b use %{version} in source 2009-06-21 19:28:23 +00:00
c3acbfc5db update to release 2.3 2009-06-21 18:27:57 +00:00
8141b5a2d8 initial build 2009-05-01 21:23:41 +00:00
de6e5f4d28 Initialize branch F-11 for ykclient 2009-05-01 20:43:24 +00:00
4 changed files with 65 additions and 21 deletions

View file

View file

@ -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)

View file

@ -0,0 +1 @@
7de70fb19e1a1857689afaec74def7fb ykclient-2.3.tar.gz

64
ykclient.spec Normal file
View 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