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