[libdigidoc] Update to 3.8 release

mihkel mihkel at fedoraproject.org
Wed Apr 30 08:31:43 UTC 2014


commit 3831bcf8d9515a078663c776d6369bcfbdabc6f2
Author: Mihkel Vain <turakas at gmail.com>
Date:   Wed Apr 30 11:31:29 2014 +0300

    Update to 3.8 release

 .gitignore      |    1 +
 libdigidoc.spec |   45 ++++++++++++++++++++-------------------------
 sources         |    2 +-
 3 files changed, 22 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index be18b6f..abbebbc 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /libdigidoc-2.7.0.tar.bz2
+/libdigidoc-3.8.0.1133.tar.gz
diff --git a/libdigidoc.spec b/libdigidoc.spec
index b46fa4e..00dfc77 100644
--- a/libdigidoc.spec
+++ b/libdigidoc.spec
@@ -1,19 +1,16 @@
 Name:           libdigidoc
-Version:        2.7.0
-Release:        6%{?dist}
+Version:        3.8.0.1133
+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)
+URL:            http://www.ria.ee
+Source0:        https://installer.id.ee/media/sources/%{name}-%{version}.tar.gz
 
 BuildRequires:  cmake
 BuildRequires:  libxml2-devel
 BuildRequires:  openssl-devel
-BuildRequires:  zlib-devel
 Requires:       opensc%{?_isa}
+Requires:       esteidcerts
 
 %description
 libDigiDoc is a library implementing a subset of the XAdES digital
@@ -23,11 +20,9 @@ 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
@@ -38,43 +33,43 @@ developing applications that use %{name}.
 %setup -q
 
 %build
-mkdir -p %{_target_platform}
-pushd %{_target_platform}
-%{cmake} ..
-popd
-
-make %{?_smp_mflags} -C %{_target_platform}
+cmake . \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_SYSCONFDIR=/etc \
+ -DCMAKE_VERBOSE_MAKEFILE=ON
 
+make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make install DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
+make install DESTDIR=%{buildroot}
 
+%check
 
 %clean
-rm -rf $RPM_BUILD_ROOT
-
+rm -rf %{buildroot}
 
 %post -p /sbin/ldconfig
 
 %postun -p /sbin/ldconfig
 
-
 %files
-%defattr(-,root,root,-)
-%doc AUTHORS COPYING ChangeLog NEWS README
+%doc AUTHORS README RELEASE-NOTES.txt doc/*
 %config(noreplace) %{_sysconfdir}/digidoc.conf
 %{_bindir}/cdigidoc
 %{_libdir}/*.so.*
-%{_datadir}/libdigidoc/
+%{_mandir}/man1/cdigidoc.1.*
 
 %files devel
-%defattr(-,root,root,-)
+%doc AUTHORS README RELEASE-NOTES.txt doc/*
 %{_includedir}/libdigidoc/
 %{_libdir}/pkgconfig/lib*.pc
 %{_libdir}/*.so
 
 %changelog
+* Thu Apr 24 2014 Mihkel Vain <mihkel at fedoraproject.org> - 3.8.0.1133-1
+- First package based on new source code from RIA
+
 * Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.7.0-6
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
 
diff --git a/sources b/sources
index cb008a8..5152bde 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-5c00285299b027d6671f9a9ae9bcf433  libdigidoc-2.7.0.tar.bz2
+49b5e1e861e9abc7736882d66ba6a489  libdigidoc-3.8.0.1133.tar.gz


More information about the scm-commits mailing list