1 | %define pkg_version 0.3 |
---|
2 | %define pkg_release 1%{?_dist_release} |
---|
3 | |
---|
4 | Name: p11-kit |
---|
5 | Version: %{pkg_version} |
---|
6 | Release: %{pkg_release} |
---|
7 | Summary: Provides a way to load and enumerate PKCS#11 modules |
---|
8 | |
---|
9 | Group: System Environment/Libraries |
---|
10 | License: LGPLv2+ |
---|
11 | URL: http://p11-glue.freedesktop.org/p11-kit.html |
---|
12 | Source0: http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz |
---|
13 | |
---|
14 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
15 | |
---|
16 | |
---|
17 | Vendor: Project Vine |
---|
18 | Distribution: Vine Linux |
---|
19 | Packager: Takemikaduchi |
---|
20 | |
---|
21 | %description |
---|
22 | Provides a way to load and enumerate PKCS#11 modules. Provides a standard |
---|
23 | configuration setup for installing PKCS#11 modules in such a way that |
---|
24 | they're discoverable. |
---|
25 | |
---|
26 | Also solves problems with coordinating the use of PKCS#11 by different |
---|
27 | components or libraries living in the same process. |
---|
28 | |
---|
29 | |
---|
30 | %package devel |
---|
31 | Summary: Development tools for p11-kit |
---|
32 | Summary(ja): p11-kit の開発環境 |
---|
33 | Group: Development/Libraries |
---|
34 | Requires: %{name} = %{version}-%{release} |
---|
35 | Requires: pkgconfig |
---|
36 | |
---|
37 | %description devel |
---|
38 | Header files and libraries for building a extension library for the |
---|
39 | p11-kit. |
---|
40 | |
---|
41 | |
---|
42 | %package doc |
---|
43 | Summary: Documentation for p11-kit |
---|
44 | Summary(ja): p11-kit 用のドキュメント |
---|
45 | Group: Documentation |
---|
46 | Requires: %{name} = %{version}-%{release} |
---|
47 | BuildArch: noarch |
---|
48 | |
---|
49 | |
---|
50 | %description doc |
---|
51 | This package contains documentation for p11-kit. |
---|
52 | |
---|
53 | |
---|
54 | %prep |
---|
55 | %setup -q |
---|
56 | |
---|
57 | %build |
---|
58 | %configure \ |
---|
59 | --disable-static \ |
---|
60 | |
---|
61 | make V=0 |
---|
62 | |
---|
63 | %install |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c" |
---|
66 | |
---|
67 | rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
68 | |
---|
69 | |
---|
70 | %clean |
---|
71 | rm -rf $RPM_BUILD_ROOT |
---|
72 | |
---|
73 | %post -p /sbin/ldconfig |
---|
74 | %postun -p /sbin/ldconfig |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc ChangeLog AUTHORS COPYING NEWS README |
---|
79 | %{_bindir}/p11-kit |
---|
80 | %{_libdir}/libp11-kit.so.* |
---|
81 | %{_libdir}/p11-kit-proxy.so |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(-, root, root,-) |
---|
85 | %{_includedir}/p11-kit-1 |
---|
86 | %{_libdir}/libp11-kit.so |
---|
87 | %{_libdir}/pkgconfig/p11-kit-1.pc |
---|
88 | |
---|
89 | %files doc |
---|
90 | %defattr(-, root, root,-) |
---|
91 | %{_datadir}/gtk-doc/html/p11-kit |
---|
92 | |
---|
93 | |
---|
94 | %changelog |
---|
95 | * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1 |
---|
96 | - initial build for Vine Linux |
---|
97 | |
---|