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

RevLine 
[4812]1%define         build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[4616]3Name:           p11-kit
[12515]4Version:        0.23.22
5Release:        1%{?_dist_release}
[4616]6Summary:        Provides a way to load and enumerate PKCS#11 modules
[12515]7Group:          system
[12376]8Vendor:         Project Vine
9Distribution:   Vine Linux
[4616]10
11License:        LGPLv2+
[12353]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
[4616]14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
[12376]17BuildRequires:  libtasn1-devel
18BuildRequires:  libffi-devel
19BuildRequires:  ca-certificates
[4616]20
[12376]21Requires:       ca-certificates
[7633]22
[4616]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
[12376]32%package        devel
[4616]33Summary:        Development tools for p11-kit
34Summary(ja):    p11-kit の開発環境
[12515]35Group:          programming
[4616]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
[7633]44%package        docs
[4616]45Summary:        Documentation for p11-kit
46Summary(ja):    p11-kit 用のドキュメント
[12515]47Group:          documentation
[4616]48Requires:       %{name} = %{version}-%{release}
49BuildArch:      noarch
50
[7633]51%description    docs
[4616]52This package contains documentation for p11-kit.
53
54
[4812]55# compat32
56%package -n compat32-%{name}
57Summary:        Provides a way to load and enumerate PKCS#11 modules
[12515]58Group:          system
[4812]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 の開発環境
[12515]72Group:          programming
[4812]73Requires:       compat32-%{name} = %{version}-%{release}
[12376]74Requires:       %{name}-devel = %{version}-%{release}
[4812]75
76%description -n compat32-%{name}-devel
77Header files and libraries for building a extension library for the
78p11-kit.
79
80
[12515]81%debug_package
82
83
[4616]84%prep
85%setup -q
86
[12515]87
[4616]88%build
89%configure \
90        --disable-static \
[12515]91        %{nil}
[4616]92
93make V=0
94
95%install
96rm -rf $RPM_BUILD_ROOT
97make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
98
[7633]99find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
[4616]100
[12515]101
[4616]102%clean
103rm -rf $RPM_BUILD_ROOT
104
[12515]105
[4616]106%post -p /sbin/ldconfig
107%postun -p /sbin/ldconfig
108
[4812]109%post -n compat32-%{name} -p /sbin/ldconfig
110%postun -n compat32-%{name} -p /sbin/ldconfig
111
[12515]112
[4616]113%files
114%defattr(-,root,root,-)
[12353]115%license COPYING
116%doc ChangeLog AUTHORS NEWS README*
[4812]117%{_sysconfdir}/pkcs11/pkcs11.conf.example
[4616]118%{_bindir}/p11-kit
[7938]119%{_bindir}/trust
[4616]120%{_libdir}/libp11-kit.so.*
121%{_libdir}/p11-kit-proxy.so
[7633]122%{_libdir}/pkcs11/p11-kit-trust.so
[12353]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
[7633]127%{_datadir}/%{name}
[4616]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
[7633]135%files docs
[4616]136%defattr(-, root, root,-)
137%{_datadir}/gtk-doc/html/p11-kit
138
[4812]139# compat32
140%if %{build_compat32}
141%files -n compat32-%{name}
142%defattr(-, root, root)
143%{_libdir}/lib*.so.*
[4616]144
[4812]145%files -n compat32-%{name}-devel
146%defattr(-, root, root)
147%{_libdir}/lib*.so
148%endif
149
150
[4616]151%changelog
[12515]152* Sat Dec 19 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.22-1
153- new upstream release.
154
[12376]155* Thu Apr 16 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-2
156- rebuilt with libffi-3.3.
157
[12353]158* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
159- new upstream release.
160
[9791]161* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
162- new upstream release
163
[9073]164* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
165- new upstream release
166
[8941]167* Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
168- new upstream release
169
[8758]170* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
171- new upstream release
172
[8353]173* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
174- new upstream release
175
[8085]176* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
177- rebuild with VineSeed environment
178
[7938]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
[7633]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
[6890]188* Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
189- new upstream release
190
[5914]191* Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
192- new upstream release
193
[4812]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
[4616]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.