[6011] | 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 |
---|
[9569] | 5 | Version: 3.16.0 |
---|
[8353] | 6 | Release: 1%{?_dist_release} |
---|
[6011] | 7 | License: GPL/LGPL |
---|
| 8 | Group: System Environment/Libraries |
---|
| 9 | URL: http://www.gnome.org |
---|
| 10 | |
---|
[9569] | 11 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.16/%{name}-%{version}.tar.xz |
---|
[6011] | 12 | |
---|
| 13 | BuildRequires: gtk3-devel |
---|
| 14 | BuildRequires: p11-kit-devel |
---|
| 15 | BuildRequires: libtasn1-devel |
---|
| 16 | BuildRequires: libgcrypt-devel |
---|
[8353] | 17 | BuildRequires: libxslt |
---|
[6011] | 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 | |
---|
[7938] | 35 | %package devel |
---|
[6011] | 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 | |
---|
[7938] | 47 | %package docs |
---|
[6011] | 48 | Summary: Documentation for gcr |
---|
| 49 | Summary(ja): gcr 用のドキュメント |
---|
| 50 | Group: Documentation |
---|
[7938] | 51 | Provides: %{name}-doc = %{version}-%{release} |
---|
[6011] | 52 | BuildArch: noarch |
---|
[7938] | 53 | Requires: %{name} = %{version}-%{release} |
---|
[6011] | 54 | |
---|
[7938] | 55 | %description docs |
---|
[6011] | 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.* |
---|
[7633] | 123 | %{_libdir}/libgcr-ui-3.so.* |
---|
[6011] | 124 | %{_libdir}/girepository-1.0/Gck-1.typelib |
---|
| 125 | %{_libdir}/girepository-1.0/Gcr-3.typelib |
---|
[7633] | 126 | %{_libdir}/girepository-1.0/GcrUi-3.typelib |
---|
[6011] | 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 |
---|
[7633] | 147 | %{_libdir}/libgcr-ui-3.so |
---|
[6011] | 148 | %{_libdir}/pkgconfig/*.pc |
---|
| 149 | %{_datadir}/gir-1.0/Gck-1.gir |
---|
| 150 | %{_datadir}/gir-1.0/Gcr-3.gir |
---|
[7633] | 151 | %{_datadir}/gir-1.0/GcrUi-3.gir |
---|
[6011] | 152 | |
---|
[7938] | 153 | %files docs |
---|
[6011] | 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 |
---|
[9569] | 175 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
[9475] | 178 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.92-1 |
---|
| 179 | - new upstream release |
---|
| 180 | |
---|
[9073] | 181 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 182 | - new upstream release |
---|
| 183 | |
---|
[8447] | 184 | * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 185 | - new upstream release |
---|
| 186 | |
---|
[8353] | 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 | |
---|
[8280] | 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 | |
---|
[8085] | 194 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 195 | - rebuild with VineSeed environment |
---|
| 196 | |
---|
[7938] | 197 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[7681] | 200 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 201 | - new upstream release |
---|
| 202 | |
---|
[7633] | 203 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 204 | - new upstream release |
---|
| 205 | |
---|
[7119] | 206 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 207 | - new upstream release |
---|
| 208 | |
---|
[6951] | 209 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 210 | - new upstream release |
---|
| 211 | |
---|
[6890] | 212 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 213 | - new upstream release |
---|
| 214 | |
---|
[6078] | 215 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
[6011] | 216 | - initial build for Vine Linux |
---|
| 217 | |
---|