rpms/mingw32-opensc/devel import.log, NONE, 1.1 mingw32-opensc.spec, NONE, 1.1 opensc-0.11.7-develconfig.patch, NONE, 1.1 opensc-0.11.7-iconv.patch, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Kalev Lember
kalev at fedoraproject.org
Fri Apr 17 20:34:18 UTC 2009
- Previous message: rpms/pianobooster/F-10 import.log, NONE, 1.1 pianobooster.desktop, NONE, 1.1 pianobooster.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/libpst/F-11 .cvsignore, 1.21, 1.22 libpst.spec, 1.20, 1.21 sources, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: kalev
Update of /cvs/pkgs/rpms/mingw32-opensc/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31467/devel
Modified Files:
.cvsignore sources
Added Files:
import.log mingw32-opensc.spec opensc-0.11.7-develconfig.patch
opensc-0.11.7-iconv.patch
Log Message:
Initial import.
--- NEW FILE import.log ---
mingw32-opensc-0_11_7-3_fc11:HEAD:mingw32-opensc-0.11.7-3.fc11.src.rpm:1240000663
--- NEW FILE mingw32-opensc.spec ---
%global __strip %{_mingw32_strip}
%global __objdump %{_mingw32_objdump}
%global _use_internal_dependency_generator 0
%global __find_requires %{_mingw32_findrequires}
%global __find_provides %{_mingw32_findprovides}
Name: mingw32-opensc
Version: 0.11.7
Release: 3%{?dist}
Summary: MingGW Windows OpenSC library
Group: Development/Libraries
License: LGPLv2+
URL: http://www.opensc-project.org/opensc/
Source0: http://www.opensc-project.org/files/opensc/opensc-%{version}.tar.gz
Patch0: opensc-0.11.7-iconv.patch
Patch1: opensc-0.11.7-develconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: mingw32-filesystem >= 49
BuildRequires: mingw32-gcc
BuildRequires: mingw32-binutils
BuildRequires: mingw32-iconv
BuildRequires: mingw32-libltdl
BuildRequires: mingw32-openssl
BuildRequires: mingw32-readline
BuildRequires: autoconf, automake, libtool
Requires: pkgconfig
%description
OpenSC is a package for for accessing smart card devices. Basic
functionality (e.g. SELECT FILE, READ BINARY) should work on any ISO
7816-4 compatible smart card. Encryption and decryption using private
keys on the smart card is possible with PKCS #15 compatible cards,
such as the FINEID (Finnish Electronic IDentity) card. Swedish Posten
eID cards have also been confirmed to work.
This is the MinGW cross-compiled Windows library.
%prep
%setup -q -n opensc-%{version}
%patch0 -p1 -b .iconv
%patch1 -p1 -b .config
libtoolize --force --copy
autoreconf
sed -i -e 's|"/lib /usr/lib\b|"%{_mingw32_libdir}|' configure # lib64 rpaths
cp -p src/pkcs15init/README ./README.pkcs15init
cp -p src/scconf/README.scconf .
# No %{_mingw32_libdir} here to avoid multilib conflicts; it's just an example
sed -i -e 's|/usr/local/towitoko/lib/|/usr/lib/ctapi/|' etc/opensc.conf.in
%build
%{_mingw32_configure} --disable-static \
--enable-pcsc \
--enable-iconv
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT _docs
make install DESTDIR=$RPM_BUILD_ROOT
install -Dpm 644 etc/opensc.conf $RPM_BUILD_ROOT%{_mingw32_sysconfdir}/opensc.conf
mv -T $RPM_BUILD_ROOT%{_mingw32_datadir}/doc/opensc docdir
# Remove a wrapper shell script
rm -f $RPM_BUILD_ROOT%{_mingw32_bindir}/cardos-info
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING NEWS README*
%doc docdir/*
%config(noreplace) %{_mingw32_sysconfdir}/opensc.conf
%{_mingw32_bindir}/cardos-info.bat
%{_mingw32_bindir}/cardos-tool.exe
%{_mingw32_bindir}/cryptoflex-tool.exe
%{_mingw32_bindir}/eidenv.exe
%{_mingw32_bindir}/netkey-tool.exe
%{_mingw32_bindir}/opensc-config
%{_mingw32_bindir}/opensc-explorer.exe
%{_mingw32_bindir}/opensc-tool.exe
%{_mingw32_bindir}/piv-tool.exe
%{_mingw32_bindir}/pkcs11-tool.exe
%{_mingw32_bindir}/pkcs15-crypt.exe
%{_mingw32_bindir}/pkcs15-init.exe
%{_mingw32_bindir}/pkcs15-tool.exe
%{_mingw32_bindir}/rutoken-tool.exe
%{_mingw32_bindir}/libopensc-2.dll
%{_mingw32_bindir}/libpkcs15init-2.dll
%{_mingw32_bindir}/libscconf-2.dll
%{_mingw32_bindir}/onepin-opensc-pkcs11.dll
%{_mingw32_bindir}/opensc-pkcs11.dll
%{_mingw32_bindir}/pkcs11-spy.dll
%{_mingw32_libdir}/libopensc-2.dll.def
%{_mingw32_libdir}/libopensc.dll.a
%{_mingw32_libdir}/libopensc.la
%{_mingw32_libdir}/libpkcs15init-2.dll.def
%{_mingw32_libdir}/libpkcs15init.dll.a
%{_mingw32_libdir}/libpkcs15init.la
%{_mingw32_libdir}/libscconf.dll.a
%{_mingw32_libdir}/libscconf.la
%{_mingw32_libdir}/onepin-opensc-pkcs11.dll.a
%{_mingw32_libdir}/onepin-opensc-pkcs11.la
%{_mingw32_libdir}/opensc-pkcs11.dll.a
%{_mingw32_libdir}/opensc-pkcs11.la
%{_mingw32_libdir}/pkcs11-spy.dll.a
%{_mingw32_libdir}/pkcs11-spy.la
%{_mingw32_includedir}/opensc/
%{_mingw32_libdir}/pkgconfig/lib*.pc
%{_mingw32_datadir}/opensc/
%{_mingw32_sbindir}/opensc-install.bat
%changelog
* Fri Apr 17 2009 Kalev Lember <kalev at smartlink.ee> - 0.11.7-3
- Replace %%define with %%global.
* Mon Mar 23 2009 Kalev Lember <kalev at smartlink.ee> - 0.11.7-2
- Include *.la files in the rpm.
- Patch configure.ac to fix iconv detection.
* Mon Mar 23 2009 Kalev Lember <kalev at smartlink.ee> - 0.11.7-1
- Initial RPM release.
opensc-0.11.7-develconfig.patch:
--- NEW FILE opensc-0.11.7-develconfig.patch ---
diff -up opensc-0.11.7/src/libopensc/libopensc.pc.in.config opensc-0.11.7/src/libopensc/libopensc.pc.in
--- opensc-0.11.7/src/libopensc/libopensc.pc.in.config 2006-05-15 22:57:30.000000000 +0200
+++ opensc-0.11.7/src/libopensc/libopensc.pc.in 2009-02-27 19:05:56.000000000 +0100
@@ -6,6 +6,6 @@ includedir=@includedir@
Name: libopensc
Description: libopensc
Version: @VERSION@
-Libs: -L${libdir} -lopensc -lscconf
+Libs: -L${libdir} -lopensc
Cflags: -I${includedir}
diff -up opensc-0.11.7/src/libopensc/opensc-config.in.config opensc-0.11.7/src/libopensc/opensc-config.in
--- opensc-0.11.7/src/libopensc/opensc-config.in.config 2008-12-27 17:15:30.000000000 +0100
+++ opensc-0.11.7/src/libopensc/opensc-config.in 2009-02-27 19:03:11.000000000 +0100
@@ -15,10 +15,10 @@ prefix="@prefix@"
exec_prefix="@exec_prefix@"
exec_prefix_set=no
-libdir="@libdir@"
-includedir="@includedir@"
+libdir=""
+includedir=""
opensc_cflags=""
-opensc_libs="-L${libdir} -lopensc -lscconf"
+opensc_libs="-lopensc -lscconf"
usage()
{
opensc-0.11.7-iconv.patch:
--- NEW FILE opensc-0.11.7-iconv.patch ---
diff -up opensc-0.11.7/configure.ac.orig opensc-0.11.7/configure.ac
--- opensc-0.11.7/configure.ac.orig 2009-03-23 22:21:39.000000000 +0200
+++ opensc-0.11.7/configure.ac 2009-03-23 22:22:13.000000000 +0200
@@ -460,7 +460,7 @@ else
AC_MSG_RESULT([no])
AC_CHECK_LIB(
[iconv],
- [iconv],
+ [libiconv_open],
[
ac_cv_lib_iconv="yes"
ICONV_LIBS="-liconv"
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-opensc/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 17 Apr 2009 16:41:28 -0000 1.1
+++ .cvsignore 17 Apr 2009 20:33:47 -0000 1.2
@@ -0,0 +1 @@
+opensc-0.11.7.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/mingw32-opensc/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 17 Apr 2009 16:41:29 -0000 1.1
+++ sources 17 Apr 2009 20:33:47 -0000 1.2
@@ -0,0 +1 @@
+419e9be372c2f9bbb3ce9704c929d5ec opensc-0.11.7.tar.gz
- Previous message: rpms/pianobooster/F-10 import.log, NONE, 1.1 pianobooster.desktop, NONE, 1.1 pianobooster.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message: rpms/libpst/F-11 .cvsignore, 1.21, 1.22 libpst.spec, 1.20, 1.21 sources, 1.21, 1.22
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list