source: projects/specs/trunk/p/p11-kit/p11-kit-vl.spec @ 4616

Revision 4616, 2.2 KB checked in by Takemikaduchi, 13 years ago (diff)

X.Org, compiz, GNOME3, etc...

Line 
1%define         pkg_version 0.3
2%define         pkg_release 1%{?_dist_release}
3
4Name:           p11-kit
5Version:        %{pkg_version}
6Release:        %{pkg_release}
7Summary:        Provides a way to load and enumerate PKCS#11 modules
8
9Group:          System Environment/Libraries
10License:        LGPLv2+
11URL:            http://p11-glue.freedesktop.org/p11-kit.html
12Source0:        http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz
13
14BuildRoot:      %{_tmppath}/%{name}-%{version}-root
15
16
17Vendor: Project Vine
18Distribution: Vine Linux
19Packager: Takemikaduchi
20
21%description
22Provides a way to load and enumerate PKCS#11 modules. Provides a standard
23configuration setup for installing PKCS#11 modules in such a way that
24they're discoverable.
25
26Also solves problems with coordinating the use of PKCS#11 by different
27components or libraries living in the same process.
28
29
30%package devel
31Summary:        Development tools for p11-kit
32Summary(ja):    p11-kit の開発環境
33Group:          Development/Libraries
34Requires:       %{name} = %{version}-%{release}
35Requires:       pkgconfig
36
37%description devel
38Header files and libraries for building a extension library for the
39p11-kit.
40
41
42%package        doc
43Summary:        Documentation for p11-kit
44Summary(ja):    p11-kit 用のドキュメント
45Group:          Documentation
46Requires:       %{name} = %{version}-%{release}
47BuildArch:      noarch
48
49
50%description    doc
51This package contains documentation for p11-kit.
52
53
54%prep
55%setup -q
56
57%build
58%configure \
59        --disable-static \
60
61make V=0
62
63%install
64rm -rf $RPM_BUILD_ROOT
65make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
66
67rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
68
69
70%clean
71rm -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
Note: See TracBrowser for help on using the repository browser.