Index: build/makearch.info ================================================================== --- build/makearch.info +++ build/makearch.info @@ -23,11 +23,11 @@ DOCS="README.txt LICENSE" DOC_HDR="HEADER" # These files follow the same convention as DOCS, but don't have the header # tacked onto them. -UPDATE_VARS="" +UPDATE_VARS="cackey.spec" # This script is executed immediately after copying the files # to a temp directory to attempt to compile BEFORE="build/build.sh" ADDED cackey.spec Index: cackey.spec ================================================================== --- /dev/null +++ cackey.spec @@ -0,0 +1,45 @@ +Summary: PC/SC PKCS#11 Provider for Government Smartcards +Name: cackey +Version: @@VERS@@ +Release: 1aceit +License: Public Domain +Packager: Roy Keene +URL: https://software.forge.mil/sf/frs/do/listReleases/projects.community_cac/frs.cackey +Source: %{name}-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-root + + +%description +CACKey provides a standard interface (PKCS#11) for smartcards connected to a +PC/SC compliant reader. It performs a similar function to "CoolKey", but +only supports Government Smartcards. It supports all Government Smartcards +that implement the Government Smartcard Interoperability Specification (GSC-IS) +v2.1 or newer. + + +%prep +%setup -q + + +%build +CFLAGS="%{optflags}" \ +./configure \ + --prefix=%{_prefix} \ + --libdir=%{_libdir} + --mandir=%{_mandir} +make %{?_smp_mflags} + + +%install +if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi +make DESTDIR=%{buildroot} install + + +%clean +if [ ! %{buildroot} = "/" ]; then %{__rm} -rf %{buildroot}; fi + + +%files +%defattr(-,root,root) +%{_libdir}/libcackey.so +%{_libdir}/libcackey_g.so Index: configure.ac ================================================================== --- configure.ac +++ configure.ac @@ -1,6 +1,6 @@ -AC_INIT(cackey, 0.5.5) +AC_INIT(cackey, 0.5.6) AC_CONFIG_HEADERS(config.h) dnl Locate standard tools AC_PROG_CC AC_PROG_MAKE_SET