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

Revision 12376, 5.1 KB checked in by tomop, 4 years ago (diff)

updated 19 packages

g-wrap-1.9.15-2

gjs-1.54.3-2

glib2-2.64.2-2

gobject-introspection-1.64.1-1

guile-2.2.7-1

guile20-2.0.14-5

hardinfo-0.5.1-4

llvm-10.0.0-2

libffi-3.3-1

libffi321-3.2.1-1

p11-kit-0.23.20-2

pycairo-1.18.2-1

pygobject-2.28.6-7

pygobject3-3.34.0-1

python-cffi-1.14.0-1

python-2.7.17-1

python3-3.5.9-1

ruby-2.6.6-2

uim-1.8.8-3

Line 
1%define         build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
3Name:           p11-kit
4Version:        0.23.20
5Release:        2%{?_dist_release}
6Summary:        Provides a way to load and enumerate PKCS#11 modules
7Group:          System Environment/Libraries
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:          Development/Libraries
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 Environment/Libraries
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:          Development/Libraries
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%prep
82%setup -q
83
84%build
85%configure \
86        --disable-static \
87
88make V=0
89
90%install
91rm -rf $RPM_BUILD_ROOT
92make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
93
94find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
95
96%clean
97rm -rf $RPM_BUILD_ROOT
98
99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
101
102%post -n compat32-%{name} -p /sbin/ldconfig
103%postun -n compat32-%{name} -p /sbin/ldconfig
104
105%files
106%defattr(-,root,root,-)
107%license COPYING
108%doc ChangeLog AUTHORS NEWS README*
109%{_sysconfdir}/pkcs11/pkcs11.conf.example
110%{_bindir}/p11-kit
111%{_bindir}/trust
112%{_libdir}/libp11-kit.so.*
113%{_libdir}/p11-kit-proxy.so
114%{_libdir}/pkcs11/p11-kit-trust.so
115%{_libdir}/pkcs11/p11-kit-client.so
116%{_libexecdir}/p11-kit/p11-kit-remote
117%{_libexecdir}/p11-kit/p11-kit-server
118%{_libexecdir}/p11-kit/trust-extract-compat
119%{_datadir}/%{name}
120
121%files devel
122%defattr(-, root, root,-)
123%{_includedir}/p11-kit-1
124%{_libdir}/libp11-kit.so
125%{_libdir}/pkgconfig/p11-kit-1.pc
126
127%files docs
128%defattr(-, root, root,-)
129%{_datadir}/gtk-doc/html/p11-kit
130
131# compat32
132%if %{build_compat32}
133%files -n compat32-%{name}
134%defattr(-, root, root)
135%{_libdir}/lib*.so.*
136
137%files -n compat32-%{name}-devel
138%defattr(-, root, root)
139%{_libdir}/lib*.so
140%endif
141
142
143%changelog
144* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-2
145- rebuilt with libffi-3.3.
146
147* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
148- new upstream release.
149
150* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
151- new upstream release
152
153* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
154- new upstream release
155
156* Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
157- new upstream release
158
159* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
160- new upstream release
161
162* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
163- new upstream release
164
165* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
166- rebuild with VineSeed environment
167
168* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-1
169- new upstream release
170- add BuildRequires: libffi-devel
171
172* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.1-1
173- new upstream release
174- add BuildRequires: libtasn1-devel, ca-certificates
175- add Requires: ca-certificates
176
177* Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
178- new upstream release
179
180* Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
181- new upstream release
182
183* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
184- new upstream release
185- create compat32 sub packages
186
187* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1
188- initial build for Vine Linux
189
Note: See TracBrowser for help on using the repository browser.