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

Revision 8941, 4.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release

RevLine 
[4812]1%define         build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
2
[8941]3%define         pkg_version 0.20.5
[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
10
11Group:          System Environment/Libraries
12License:        LGPLv2+
13URL:            http://p11-glue.freedesktop.org/p11-kit.html
14Source0:        http://p11-glue.freedesktop.org/releases/%{name}-%{version}.tar.gz
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
27Packager:       Takemikaduchi
[4616]28
29%description
30Provides a way to load and enumerate PKCS#11 modules. Provides a standard
31configuration setup for installing PKCS#11 modules in such a way that
32they're discoverable.
33
34Also solves problems with coordinating the use of PKCS#11 by different
35components or libraries living in the same process.
36
37
[4812]38%package        devel
[4616]39Summary:        Development tools for p11-kit
40Summary(ja):    p11-kit の開発環境
41Group:          Development/Libraries
42Requires:       %{name} = %{version}-%{release}
43Requires:       pkgconfig
44
45%description devel
46Header files and libraries for building a extension library for the
47p11-kit.
48
49
[7633]50%package        docs
[4616]51Summary:        Documentation for p11-kit
52Summary(ja):    p11-kit 用のドキュメント
53Group:          Documentation
54Requires:       %{name} = %{version}-%{release}
55BuildArch:      noarch
56
[7633]57%description    docs
[4616]58This package contains documentation for p11-kit.
59
60
[4812]61# compat32
62%package -n compat32-%{name}
63Summary:        Provides a way to load and enumerate PKCS#11 modules
64Group:          System Environment/Libraries
65Requires:       %{name} = %{version}-%{release}
66
67%description -n compat32-%{name}
68Provides a way to load and enumerate PKCS#11 modules. Provides a standard
69configuration setup for installing PKCS#11 modules in such a way that
70they're discoverable.
71
72Also solves problems with coordinating the use of PKCS#11 by different
73components or libraries living in the same process.
74
75%package -n compat32-%{name}-devel
76Summary:        Development tools for p11-kit
77Summary(ja):    p11-kit の開発環境
78Group:          Development/Libraries
79Requires:       compat32-%{name} = %{version}-%{release}
80Requires:       %{name}-devel = %{version}-%{release}
81Requires:       pkgconfig
82
83%description -n compat32-%{name}-devel
84Header files and libraries for building a extension library for the
85p11-kit.
86
87
[4616]88%prep
89%setup -q
90
91%build
92%configure \
93        --disable-static \
94
95make V=0
96
97%install
98rm -rf $RPM_BUILD_ROOT
99make DESTDIR=$RPM_BUILD_ROOT install INSTALL="%{__install} -p -c"
100
[7633]101find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
[4616]102
103%clean
104rm -rf $RPM_BUILD_ROOT
105
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
[4616]112%files
113%defattr(-,root,root,-)
114%doc ChangeLog AUTHORS COPYING 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
[7938]120%{_libdir}/p11-kit/trust-extract-compat
[7633]121%{_libdir}/pkcs11/p11-kit-trust.so
122%{_datadir}/%{name}
[4616]123
124%files devel
125%defattr(-, root, root,-)
126%{_includedir}/p11-kit-1
127%{_libdir}/libp11-kit.so
128%{_libdir}/pkgconfig/p11-kit-1.pc
129
[7633]130%files docs
[4616]131%defattr(-, root, root,-)
132%{_datadir}/gtk-doc/html/p11-kit
133
[4812]134# compat32
135%if %{build_compat32}
136%files -n compat32-%{name}
137%defattr(-, root, root)
138%{_libdir}/lib*.so.*
[4616]139
[4812]140%files -n compat32-%{name}-devel
141%defattr(-, root, root)
142%{_libdir}/lib*.so
143%endif
144
145
[4616]146%changelog
[8941]147* Sun Sep 07 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.5-1
148- new upstream release
149
[8758]150* Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.3-1
151- new upstream release
152
[8353]153* Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.2-1
154- new upstream release
155
[8085]156* Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-2
157- rebuild with VineSeed environment
158
[7938]159* Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.20.1-1
160- new upstream release
161- add BuildRequires: libffi-devel
162
[7633]163* Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.18.1-1
164- new upstream release
165- add BuildRequires: libtasn1-devel, ca-certificates
166- add Requires: ca-certificates
167
[6890]168* Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.14-1
169- new upstream release
170
[5914]171* Fri Mar 16 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.12-1
172- new upstream release
173
[4812]174* Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.6-1
175- new upstream release
176- create compat32 sub packages
177
[4616]178* Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3-1
179- initial build for Vine Linux
180
Note: See TracBrowser for help on using the repository browser.