[smartcardpp] Initial import (#640557)

Kalev Lember kalev at fedoraproject.org
Thu Oct 7 06:22:39 UTC 2010


commit 2c8503349a64889712a5469f3c1edf63dbbf88b8
Author: Kalev Lember <kalev at smartlink.ee>
Date:   Thu Oct 7 09:22:20 2010 +0300

    Initial import (#640557)

 .gitignore       |    1 +
 smartcardpp.spec |   83 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 85 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e92305d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/smartcardpp-0.2.0.tar.bz2
diff --git a/smartcardpp.spec b/smartcardpp.spec
new file mode 100644
index 0000000..0a69558
--- /dev/null
+++ b/smartcardpp.spec
@@ -0,0 +1,83 @@
+Name:           smartcardpp
+Version:        0.2.0
+Release:        1%{?dist}
+Summary:        Library for accessing smart cards
+
+Group:          System Environment/Libraries
+License:        BSD
+URL:            http://code.google.com/p/esteid/
+Source0:        http://esteid.googlecode.com/files/%{name}-%{version}.tar.bz2
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  cmake
+BuildRequires:  pcsc-lite-devel
+Requires:       pcsc-lite-libs%{?_isa}
+
+%description
+smartcardpp is a set of C++ classes to manage smart card
+communications and implement basic command primitives.
+
+
+%package        devel
+Summary:        Development files for %{name}
+Group:          Development/Libraries
+Requires:       %{name} = %{version}-%{release}
+Requires:       pcsc-lite-devel
+
+%description devel
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
+
+%prep
+%setup -q
+
+
+%build
+mkdir -p %{_target_platform}
+pushd %{_target_platform}
+%{cmake} ..
+popd
+
+make %{?_smp_mflags} -C %{_target_platform}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING NEWS
+%{_bindir}/card-test
+%{_libdir}/*.so.*
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/smartcardpp/
+%{_libdir}/*.so
+
+
+%changelog
+* Wed Oct 06 2010 Kalev Lember <kalev at smartlink.ee> - 0.2.0-1
+- Update to 0.2.0
+
+* Mon Mar 29 2010 Kalev Lember <kalev at smartlink.ee> - 0.1.0-0.3.svn2662
+- Spec file clean up
+- Removed smartcard++ obsoletes / provides
+
+* Sun Dec 06 2009 Kalev Lember <kalev at smartlink.ee> - 0.1.0-0.2.svn2267
+- Renamed to smartcardpp
+
+* Sun Dec 06 2009 Kalev Lember <kalev at smartlink.ee> - 0.1.0-0.1.svn2251
+- Initial RPM release.
diff --git a/sources b/sources
index e69de29..fd391fd 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4256e9d401864ce60f5d18de606c228f  smartcardpp-0.2.0.tar.bz2


More information about the scm-commits mailing list