[libdigidoc] Initial import (#640550)
Kalev Lember
kalev at fedoraproject.org
Thu Oct 7 06:20:43 UTC 2010
commit a170c45f9cb8371f951c543ac33621cc5eb55f20
Author: Kalev Lember <kalev at smartlink.ee>
Date: Thu Oct 7 09:19:47 2010 +0300
Initial import (#640550)
.gitignore | 1 +
libdigidoc.spec | 87 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 89 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..be18b6f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/libdigidoc-2.7.0.tar.bz2
diff --git a/libdigidoc.spec b/libdigidoc.spec
new file mode 100644
index 0000000..8b78301
--- /dev/null
+++ b/libdigidoc.spec
@@ -0,0 +1,87 @@
+Name: libdigidoc
+Version: 2.7.0
+Release: 1%{?dist}
+Summary: Library for handling digitally signed documents
+
+Group: System Environment/Libraries
+License: LGPLv2+
+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: libxml2-devel
+BuildRequires: openssl-devel
+BuildRequires: zlib-devel
+Requires: opensc%{?_isa}
+
+%description
+libDigiDoc is a library implementing a subset of the XAdES digital
+signature standard on top of Estonian specific .ddoc container format.
+It allows to create, sign, verify, and modify digidoc XML containers.
+
+
+%package devel
+Summary: Development files for %{name}
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+Requires: libxml2-devel
+Requires: openssl-devel
+Requires: zlib-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 AUTHORS COPYING ChangeLog NEWS README
+%config(noreplace) %{_sysconfdir}/digidoc.conf
+%{_bindir}/cdigidoc
+%{_libdir}/*.so.*
+%{_datadir}/libdigidoc/
+
+%files devel
+%defattr(-,root,root,-)
+%{_includedir}/libdigidoc/
+%{_libdir}/pkgconfig/lib*.pc
+%{_libdir}/*.so
+
+%changelog
+* Wed Oct 06 2010 Kalev Lember <kalev at smartlink.ee> - 2.7.0-1
+- Update to 2.7.0
+
+* Mon Mar 29 2010 Kalev Lember <kalev at smartlink.ee> - 2.6.0-0.4.svn2670
+- Spec file clean up
+- Removed R: pkgconfig which is now automatically picked up by rpm
+- Cleaned up nightly build changelog entries
+
+* Sun Jun 14 2009 Kalev Lember <kalev at smartlink.ee> - 2.6.0-0.1.svn701
+- Initial RPM release.
diff --git a/sources b/sources
index e69de29..cb008a8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+5c00285299b027d6671f9a9ae9bcf433 libdigidoc-2.7.0.tar.bz2
More information about the scm-commits
mailing list