/[packages]/updates/3/libksba/current/SPECS/libksba.spec
ViewVC logotype

Contents of /updates/3/libksba/current/SPECS/libksba.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 799118 - (show annotations) (download)
Tue Nov 25 14:39:52 2014 UTC (9 years, 5 months ago) by luigiwalser
File size: 2042 byte(s)
1.3.2
1 %define major 8
2 %define libname %mklibname ksba %{major}
3 %define develname %mklibname ksba -d
4
5 Summary: Library handling X.509 certificates and CMS data
6 Name: libksba
7 Version: 1.3.2
8 Release: %mkrel 1
9 License: GPLv3
10 Group: System/Libraries
11 URL: http://www.gnupg.org/
12 Source0: ftp://ftp.gnupg.org/gcrypt/%{name}/%{name}-%{version}.tar.bz2
13 Source1: ftp://ftp.gnupg.org/gcrypt/%{name}/%{name}-%{version}.tar.bz2.sig
14 BuildRequires: libgpg-error-devel >= 1.2
15 BuildRequires: multiarch-utils >= 1.0.3
16
17 %description
18 KSBA is a library designed to build software based
19 on the X.509 and CMS protocols.
20
21 %package -n %{libname}
22 Summary: Library handling X.509 certificates and CMS data
23 Group: System/Libraries
24 Provides: %{name} = %{version}-%{release}
25
26 %description -n %{libname}
27 KSBA is a library designed to build software based
28 on the X.509 and CMS protocols.
29
30 %package -n %{develname}
31 Summary: Development files for %{name} package
32 Group: Development/Other
33 Requires: %{libname} = %{version}-%{release}
34 Provides: %{name}-devel = %{version}-%{release}
35 Obsoletes: %mklibname ksba 8 -d
36
37 %description -n %{develname}
38 KSBA is a library designed to build software based
39 on the X.509 and CMS protocols.
40
41 This package contains files needed to develop
42 applications using %{name} (For example Ägypten project).
43
44 %prep
45 %setup -q
46
47 %build
48 %configure2_5x --disable-static
49 %make
50
51 %install
52 %{__rm} -rf %{buildroot}
53 %makeinstall_std
54
55 %multiarch_binaries %{buildroot}%{_bindir}/ksba-config
56
57 rm -f %{buildroot}%{_libdir}/*.la
58
59 %check
60 %make check
61
62 %clean
63 %{__rm} -rf %{buildroot}
64
65 %post -n %{develname}
66 %_install_info %{name}.info
67
68 %postun -n %{develname}
69 %_remove_install_info %{name}.info
70
71 %files -n %{libname}
72 %{_libdir}/*.so.%{major}*
73
74 %files -n %{develname}
75 %doc AUTHORS ChangeLog README THANKS TODO
76 %multiarch %{multiarch_bindir}/ksba-config
77 %{_bindir}/ksba-config
78 %{_datadir}/aclocal/*
79 %{_includedir}/*.h
80 %{_infodir}/*.info*
81 %{_libdir}/*.so

  ViewVC Help
Powered by ViewVC 1.1.30