/[packages]/cauldron/libdigidoc/current/SPECS/libdigidoc.spec
ViewVC logotype

Contents of /cauldron/libdigidoc/current/SPECS/libdigidoc.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 533347 - (show annotations) (download)
Sat Oct 19 15:28:37 2013 UTC (6 years, 8 months ago) by umeabot
File size: 2100 byte(s)
Mageia 4 Mass Rebuild
1 %define realname digidoc
2
3 %define major 2
4 %define libname %mklibname %{realname} %major
5 %define develname %mklibname %{realname} -d
6
7 Name: libdigidoc
8 Version: 3.7.2
9 Release: %mkrel 2
10 Summary: Library for handling digitally signed documents
11
12 Group: System/Libraries
13 License: LGPLv2
14 URL: http://id.eesti.ee
15 # VERSION=3.7.2 && svn export https://svn.eesti.ee/projektid/idkaart_public/branches/$VERSION/libdigidoc libdigidoc-$VERSION && tar cjf libdigidoc-$VERSION.tar.bz2 libdigidoc-$VERSION
16 Source: %{name}-%{version}.tar.bz2
17
18 BuildRequires: cmake
19 BuildRequires: pkgconfig(libxml-2.0)
20 BuildRequires: pkgconfig(openssl)
21
22 %description
23 libDigiDoc is a library implementing a subset of the XAdES digital
24 signature standard on top of Estonian specific .ddoc container format.
25 It allows to create, sign, verify, and modify digidoc XML containers.
26
27 %package -n %{libname}
28 Group: System/Libraries
29 Summary: Library for handling digitally signed documents
30 Requires: %name = %{version}
31
32 %description -n %{libname}
33 This package contains libraries and header files for
34 developing applications that use %{name}.
35
36
37 %package -n %{develname}
38 Summary: Development files for %{name}
39 Group: Development/Other
40 Requires: %{libname} = %{version}-%{release}
41 Requires: libxml2-devel
42 Requires: openssl-devel
43 Requires: pkgconfig
44 Provides: %{name}-devel = %{version}-%{release}
45
46 %description -n %{develname}
47 This package contains libraries and header files for
48 developing applications that use %{libname}.
49
50
51 %prep
52 %setup -q
53
54
55 %build
56 mkdir -p %{_target_platform}
57 pushd %{_target_platform}
58 %{cmake} -DCMAKE_INSTALL_SYSCONFDIR:PATH=%{_sysconfdir} ../..
59 popd
60
61 %make -C %{_target_platform}/build
62
63
64 %install
65 make install DESTDIR=%{buildroot} -C %{_target_platform}/build
66
67
68 %files
69 %config %{_sysconfdir}/digidoc.conf
70 %doc ChangeLog readme RELEASE-NOTES.txt
71 %{_bindir}/cdigidoc
72 %{_mandir}/man1/cdigidoc.1.*
73
74 %files -n %{libname}
75 %{_libdir}/*.so.%{major}
76 %{_libdir}/*.so.%{version}
77
78 %files -n %{develname}
79 %doc doc/SK-CDD-PRG-GUIDE.pdf doc/SK-COM-PRG-GUIDE.pdf
80 %{_includedir}/libdigidoc/
81 %{_libdir}/pkgconfig/lib*.pc
82 %{_libdir}/*.so

  ViewVC Help
Powered by ViewVC 1.1.28