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

RevLine 
[4812]1%define         build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[12353]3%define         pkg_version 0.23.20
[8353]4%define         pkg_release 1%{?_dist_release}
[4616]5
6Name:           p11-kit
7Version:        %{pkg_version}
8Release:        %{pkg_release}
9Summary:        Provides a way to load and enumerate PKCS#11 modules
[12353]10Group:          System Environment/Libraries
[4616]11
12License:        LGPLv2+
[12353]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
[4616]15
16BuildRoot:      %{_tmppath}/%{name}-%{version}-root
17
[7633]18BuildRequires:  libtasn1-devel
[7938]19BuildRequires:  libffi-devel
[7633]20BuildRequires:  ca-certificates
[4616]21
[7633]22Requires:               ca-certificates
23
24
[4812]25Vendor:         Project Vine
26Distribution:   Vine Linux
[4616]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
[4812]37%package        devel
[4616]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
[7633]49%package        docs
[4616]50Summary:        Documentation for p11-kit
51Summary(ja):    p11-kit 用のドキュメント
52Group:          Documentation
53Requires:       %{name} = %{version}-%{release}
54BuildArch:      noarch
55
[7633]56%description    docs
[4616]57This package contains documentation for p11-kit.
58
59
[4812]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
[4616]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
[7633]100find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
[4616]101
102%clean
103rm -rf $RPM_BUILD_ROOT
104
105%post -p /sbin/ldconfig
106%postun -p /sbin/ldconfig
107
[4812]108%post -n compat32-%{name} -p /sbin/ldconfig
109%postun -n compat32-%{name} -p /sbin/ldconfig
110
[4616]111%files
112%defattr(-,root,root,-)
[12353]113%license COPYING
114%doc ChangeLog AUTHORS NEWS README*
[4812]115%{_sysconfdir}/pkcs11/pkcs11.conf.example
[4616]116%{_bindir}/p11-kit
[7938]117%{_bindir}/trust
[4616]118%{_libdir}/libp11-kit.so.*
119%{_libdir}/p11-kit-proxy.so
[7633]120%{_libdir}/pkcs11/p11-kit-trust.so
[12353]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
[7633]125%{_datadir}/%{name}
[4616]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
[7633]133%files docs
[4616]134%defattr(-, root, root,-)
135%{_datadir}/gtk-doc/html/p11-kit
136
[4812]137# compat32
138%if %{build_compat32}
139%files -n compat32-%{name}
140%defattr(-, root, root)
141%{_libdir}/lib*.so.*
[4616]142
[4812]143%files -n compat32-%{name}-devel
144%defattr(-, root, root)
145%{_libdir}/lib*.so
146%endif
147
148
[4616]149%changelog
[12353]150* Thu Mar 26 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 0.23.20-1
151- new upstream release.
152
[9791]153* Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.23.1-1
154- new upstream release
155
[9073]156* Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.22.1-1
157- new upstream release
158
[8941]159* Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
160- new upstream release
161
[8758]162* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
163- new upstream release
164
[8353]165* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
166- new upstream release
167
[8085]168* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
169- rebuild with VineSeed environment
170
[7938]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
[7633]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
[6890]180* Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
181- new upstream release
182
[5914]183* Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
184- new upstream release
185
[4812]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
[4616]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.