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