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

Revision 12353, 5.0 KB checked in by tomop, 4 years ago (diff)

updated 3 packages

gpgme-1.13.1-1

mozjs60-60.9.0-7

p11-kit-0.23.20-1

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