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

Revision 12515, 5.1 KB checked in by tomop, 3 years ago (diff)

updated 5 packages

glib2-2.66.4-1

initscripts-8.91.16-5

memcached-1.6.9-1

p11-kit-0.23.22-1

redis-6.0.9-1

Line 
1%define         build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           p11-kit
4Version:        0.23.22
5Release:        1%{?_dist_release}
6Summary:        Provides a way to load and enumerate PKCS#11 modules
7Group:          system
8Vendor:         Project Vine
9Distribution:   Vine Linux
10
11License:        LGPLv2+
12URL:            https://p11-glue.github.io/p11-glue/p11-kit.html
13Source0:        https://github.com/p11-glue/p11-kit/releases/download/%{version}/%{name}-%{version}.tar.xz
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildRequires:  libtasn1-devel
18BuildRequires:  libffi-devel
19BuildRequires:  ca-certificates
20
21Requires:       ca-certificates
22
23%description
24Provides a way to load and enumerate PKCS#11 modules. Provides a standard
25configuration setup for installing PKCS#11 modules in such a way that
26they're discoverable.
27
28Also solves problems with coordinating the use of PKCS#11 by different
29components or libraries living in the same process.
30
31
32%package        devel
33Summary:        Development tools for p11-kit
34Summary(ja):    p11-kit の開発環境
35Group:          programming
36Requires:       %{name} = %{version}-%{release}
37Requires:       pkgconfig
38
39%description devel
40Header files and libraries for building a extension library for the
41p11-kit.
42
43
44%package        docs
45Summary:        Documentation for p11-kit
46Summary(ja):    p11-kit 用のドキュメント
47Group:          documentation
48Requires:       %{name} = %{version}-%{release}
49BuildArch:      noarch
50
51%description    docs
52This package contains documentation for p11-kit.
53
54
55# compat32
56%package -n compat32-%{name}
57Summary:        Provides a way to load and enumerate PKCS#11 modules
58Group:          system
59Requires:       %{name} = %{version}-%{release}
60
61%description -n compat32-%{name}
62Provides a way to load and enumerate PKCS#11 modules. Provides a standard
63configuration setup for installing PKCS#11 modules in such a way that
64they're discoverable.
65
66Also solves problems with coordinating the use of PKCS#11 by different
67components or libraries living in the same process.
68
69%package -n compat32-%{name}-devel
70Summary:        Development tools for p11-kit
71Summary(ja):    p11-kit の開発環境
72Group:          programming
73Requires:       compat32-%{name} = %{version}-%{release}
74Requires:       %{name}-devel = %{version}-%{release}
75
76%description -n compat32-%{name}-devel
77Header files and libraries for building a extension library for the
78p11-kit.
79
80
81%debug_package
82
83
84%prep
85%setup -q
86
87
88%build
89%configure \
90        --disable-static \
91        %{nil}
92
93make V=0
94
95%install
96rm -rf $RPM_BUILD_ROOT
97make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
98
99find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
100
101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
105
106%post -p /sbin/ldconfig
107%postun -p /sbin/ldconfig
108
109%post -n compat32-%{name} -p /sbin/ldconfig
110%postun -n compat32-%{name} -p /sbin/ldconfig
111
112
113%files
114%defattr(-,root,root,-)
115%license COPYING
116%doc ChangeLog AUTHORS NEWS README*
117%{_sysconfdir}/pkcs11/pkcs11.conf.example
118%{_bindir}/p11-kit
119%{_bindir}/trust
120%{_libdir}/libp11-kit.so.*
121%{_libdir}/p11-kit-proxy.so
122%{_libdir}/pkcs11/p11-kit-trust.so
123%{_libdir}/pkcs11/p11-kit-client.so
124%{_libexecdir}/p11-kit/p11-kit-remote
125%{_libexecdir}/p11-kit/p11-kit-server
126%{_libexecdir}/p11-kit/trust-extract-compat
127%{_datadir}/%{name}
128
129%files devel
130%defattr(-, root, root,-)
131%{_includedir}/p11-kit-1
132%{_libdir}/libp11-kit.so
133%{_libdir}/pkgconfig/p11-kit-1.pc
134
135%files docs
136%defattr(-, root, root,-)
137%{_datadir}/gtk-doc/html/p11-kit
138
139# compat32
140%if %{build_compat32}
141%files -n compat32-%{name}
142%defattr(-, root, root)
143%{_libdir}/lib*.so.*
144
145%files -n compat32-%{name}-devel
146%defattr(-, root, root)
147%{_libdir}/lib*.so
148%endif
149
150
151%changelog
152* Sat Dec 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.22-1
153- new upstream release.
154
155* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-2
156- rebuilt with libffi-3.3.
157
158* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
159- new upstream release.
160
161* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
162- new upstream release
163
164* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
165- new upstream release
166
167* Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
168- new upstream release
169
170* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
171- new upstream release
172
173* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
174- new upstream release
175
176* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
177- rebuild with VineSeed environment
178
179* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-1
180- new upstream release
181- add BuildRequires: libffi-devel
182
183* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.1-1
184- new upstream release
185- add BuildRequires: libtasn1-devel, ca-certificates
186- add Requires: ca-certificates
187
188* Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
189- new upstream release
190
191* Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
192- new upstream release
193
194* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
195- new upstream release
196- create compat32 sub packages
197
198* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1
199- initial build for Vine Linux
200
Note: See TracBrowser for help on using the repository browser.