1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
2 | |
---|
3 | Summary: A library for bits of crypto UI and parsing etc. |
---|
4 | Name: gcr |
---|
5 | Version: 3.16.0 |
---|
6 | Release: 1%{?_dist_release} |
---|
7 | License: GPL/LGPL |
---|
8 | Group: System Environment/Libraries |
---|
9 | URL: http://www.gnome.org |
---|
10 | |
---|
11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz |
---|
12 | |
---|
13 | BuildRequires: gtk3-devel |
---|
14 | BuildRequires: p11-kit-devel |
---|
15 | BuildRequires: libtasn1-devel |
---|
16 | BuildRequires: libgcrypt-devel |
---|
17 | BuildRequires: libxslt |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | Vendor: Project Vine |
---|
22 | Distribution: Vine Linux |
---|
23 | Packager: Takemikaduchi |
---|
24 | |
---|
25 | |
---|
26 | %description |
---|
27 | GCR is a library for displaying certificates, and crypto UI, accessing |
---|
28 | key stores. It also provides the viewer for crypto files on the GNOME |
---|
29 | desktop. |
---|
30 | |
---|
31 | GCK is a library for accessing PKCS#11 modules like smart cards, in a |
---|
32 | (G)object oriented way. |
---|
33 | |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development tools for gcr |
---|
37 | Summary(ja): gcr の開発環境 |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: pkgconfig |
---|
41 | |
---|
42 | %description devel |
---|
43 | Header files and libraries for building a extension library for the |
---|
44 | gcr. |
---|
45 | |
---|
46 | |
---|
47 | %package docs |
---|
48 | Summary: Documentation for gcr |
---|
49 | Summary(ja): gcr 用のドキュメント |
---|
50 | Group: Documentation |
---|
51 | Provides: %{name}-doc = %{version}-%{release} |
---|
52 | BuildArch: noarch |
---|
53 | Requires: %{name} = %{version}-%{release} |
---|
54 | |
---|
55 | %description docs |
---|
56 | This package contains documentation for gcr. |
---|
57 | |
---|
58 | |
---|
59 | # compat32 |
---|
60 | %package -n compat32-%{name} |
---|
61 | Summary: A library for bits of crypto UI and parsing etc. |
---|
62 | Group: System Environment/Libraries |
---|
63 | Requires: %{name} = %{version}-%{release} |
---|
64 | |
---|
65 | %description -n compat32-%{name} |
---|
66 | GCR is a library for displaying certificates, and crypto UI, accessing |
---|
67 | key stores. It also provides the viewer for crypto files on the GNOME |
---|
68 | desktop. |
---|
69 | |
---|
70 | GCK is a library for accessing PKCS#11 modules like smart cards, in a |
---|
71 | (G)object oriented way. |
---|
72 | |
---|
73 | |
---|
74 | %package -n compat32-%{name}-devel |
---|
75 | Summary: Development tools for gcr |
---|
76 | Summary(ja): gcr の開発環境 |
---|
77 | Group: Development/Libraries |
---|
78 | Requires: compat32-%{name} = %{version}-%{release} |
---|
79 | Requires: %{name}-devel = %{version}-%{release} |
---|
80 | Requires: pkgconfig |
---|
81 | |
---|
82 | %description -n compat32-%{name}-devel |
---|
83 | Header files and libraries for building a extension library for the |
---|
84 | gcr. |
---|
85 | |
---|
86 | |
---|
87 | %prep |
---|
88 | %setup -q |
---|
89 | |
---|
90 | |
---|
91 | %build |
---|
92 | %configure --disable-static |
---|
93 | %{__make} %{?_smp_mflags} |
---|
94 | |
---|
95 | |
---|
96 | %install |
---|
97 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
98 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
99 | |
---|
100 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
101 | rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.so |
---|
102 | |
---|
103 | %find_lang %{name} |
---|
104 | |
---|
105 | |
---|
106 | %clean |
---|
107 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
108 | |
---|
109 | %post -p /sbin/ldconfig |
---|
110 | %postun -p /sbin/ldconfig |
---|
111 | |
---|
112 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
113 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
114 | |
---|
115 | |
---|
116 | %files -f %{name}.lang |
---|
117 | %defattr(-,root,root) |
---|
118 | %doc COPYING ChangeLog NEWS README |
---|
119 | %{_bindir}/gcr-viewer |
---|
120 | %{_libdir}/libgck-1.so.* |
---|
121 | %{_libdir}/libgcr-3.so.* |
---|
122 | %{_libdir}/libgcr-base-3.so.* |
---|
123 | %{_libdir}/libgcr-ui-3.so.* |
---|
124 | %{_libdir}/girepository-1.0/Gck-1.typelib |
---|
125 | %{_libdir}/girepository-1.0/Gcr-3.typelib |
---|
126 | %{_libdir}/girepository-1.0/GcrUi-3.typelib |
---|
127 | %{_libexecdir}/gcr-prompter |
---|
128 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert |
---|
129 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert |
---|
130 | %{_datadir}/applications/gcr-prompter.desktop |
---|
131 | %{_datadir}/applications/gcr-viewer.desktop |
---|
132 | %{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service |
---|
133 | %{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service |
---|
134 | %{_datadir}/gcr-3/ui/gcr-pkcs11-import-dialog.ui |
---|
135 | %{_datadir}/gcr-3/ui/gcr-unlock-options-widget.ui |
---|
136 | %{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml |
---|
137 | %{_datadir}/icons/*/*/* |
---|
138 | %{_datadir}/mime/packages/gcr-crypto-types.xml |
---|
139 | |
---|
140 | %files devel |
---|
141 | %defattr(-,root,root) |
---|
142 | %{_includedir}/gck-1 |
---|
143 | %{_includedir}/gcr-3 |
---|
144 | %{_libdir}/libgck-1.so |
---|
145 | %{_libdir}/libgcr-3.so |
---|
146 | %{_libdir}/libgcr-base-3.so |
---|
147 | %{_libdir}/libgcr-ui-3.so |
---|
148 | %{_libdir}/pkgconfig/*.pc |
---|
149 | %{_datadir}/gir-1.0/Gck-1.gir |
---|
150 | %{_datadir}/gir-1.0/Gcr-3.gir |
---|
151 | %{_datadir}/gir-1.0/GcrUi-3.gir |
---|
152 | |
---|
153 | %files docs |
---|
154 | %defattr(-,root,root) |
---|
155 | %{_datadir}/gtk-doc/html/gck |
---|
156 | %{_datadir}/gtk-doc/html/gcr-3 |
---|
157 | |
---|
158 | # compat32 |
---|
159 | %if %{build_compat32} |
---|
160 | %files -n compat32-%{name} |
---|
161 | %defattr(-,root,root) |
---|
162 | %{_libdir}/libgck-1.so.* |
---|
163 | %{_libdir}/libgcr-3.so.* |
---|
164 | %{_libdir}/libgcr-base-3.so.* |
---|
165 | |
---|
166 | %files -n compat32-%{name}-devel |
---|
167 | %defattr(-,root,root) |
---|
168 | %{_libdir}/libgck-1.so |
---|
169 | %{_libdir}/libgcr-3.so |
---|
170 | %{_libdir}/libgcr-base-3.so |
---|
171 | %endif |
---|
172 | |
---|
173 | |
---|
174 | %changelog |
---|
175 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
176 | - new upstream release |
---|
177 | |
---|
178 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.92-1 |
---|
179 | - new upstream release |
---|
180 | |
---|
181 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
182 | - new upstream release |
---|
183 | |
---|
184 | * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
185 | - new upstream release |
---|
186 | |
---|
187 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
188 | - new upstream release |
---|
189 | - add BuildRequires: libxslt |
---|
190 | |
---|
191 | * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> 3.10.1-3 |
---|
192 | - rebuilt with libtasn1-3.4 and libgcrypt-1.6 |
---|
193 | |
---|
194 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
195 | - rebuild with VineSeed environment |
---|
196 | |
---|
197 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
198 | - new upstream release |
---|
199 | |
---|
200 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
201 | - new upstream release |
---|
202 | |
---|
203 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
204 | - new upstream release |
---|
205 | |
---|
206 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
207 | - new upstream release |
---|
208 | |
---|
209 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
210 | - new upstream release |
---|
211 | |
---|
212 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
213 | - new upstream release |
---|
214 | |
---|
215 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
216 | - initial build for Vine Linux |
---|
217 | |
---|