[6011] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
[12005] | 2 | %define _unpackaged_files_terminate_build 1 |
---|
[6011] | 3 | |
---|
| 4 | Summary: A library for bits of crypto UI and parsing etc. |
---|
| 5 | Name: gcr |
---|
[12005] | 6 | Version: 3.28.0 |
---|
[8353] | 7 | Release: 1%{?_dist_release} |
---|
[6011] | 8 | License: GPL/LGPL |
---|
| 9 | Group: System Environment/Libraries |
---|
| 10 | URL: http://www.gnome.org |
---|
| 11 | |
---|
[10716] | 12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.20/%{name}-%{version}.tar.xz |
---|
[6011] | 13 | |
---|
| 14 | BuildRequires: gtk3-devel |
---|
| 15 | BuildRequires: p11-kit-devel |
---|
| 16 | BuildRequires: libtasn1-devel |
---|
| 17 | BuildRequires: libgcrypt-devel |
---|
[8353] | 18 | BuildRequires: libxslt |
---|
[6011] | 19 | |
---|
| 20 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 21 | |
---|
| 22 | Vendor: Project Vine |
---|
| 23 | Distribution: Vine Linux |
---|
| 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 |
---|
[12005] | 128 | %{_libexecdir}/gcr-ssh-askpass |
---|
[6011] | 129 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert |
---|
| 130 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert |
---|
| 131 | %{_datadir}/applications/gcr-prompter.desktop |
---|
| 132 | %{_datadir}/applications/gcr-viewer.desktop |
---|
| 133 | %{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service |
---|
| 134 | %{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service |
---|
| 135 | %{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml |
---|
| 136 | %{_datadir}/icons/*/*/* |
---|
| 137 | %{_datadir}/mime/packages/gcr-crypto-types.xml |
---|
| 138 | |
---|
| 139 | %files devel |
---|
| 140 | %defattr(-,root,root) |
---|
| 141 | %{_includedir}/gck-1 |
---|
| 142 | %{_includedir}/gcr-3 |
---|
| 143 | %{_libdir}/libgck-1.so |
---|
| 144 | %{_libdir}/libgcr-3.so |
---|
| 145 | %{_libdir}/libgcr-base-3.so |
---|
[7633] | 146 | %{_libdir}/libgcr-ui-3.so |
---|
[6011] | 147 | %{_libdir}/pkgconfig/*.pc |
---|
| 148 | %{_datadir}/gir-1.0/Gck-1.gir |
---|
| 149 | %{_datadir}/gir-1.0/Gcr-3.gir |
---|
[7633] | 150 | %{_datadir}/gir-1.0/GcrUi-3.gir |
---|
[6011] | 151 | |
---|
[7938] | 152 | %files docs |
---|
[6011] | 153 | %defattr(-,root,root) |
---|
| 154 | %{_datadir}/gtk-doc/html/gck |
---|
| 155 | %{_datadir}/gtk-doc/html/gcr-3 |
---|
| 156 | |
---|
| 157 | # compat32 |
---|
| 158 | %if %{build_compat32} |
---|
| 159 | %files -n compat32-%{name} |
---|
| 160 | %defattr(-,root,root) |
---|
| 161 | %{_libdir}/libgck-1.so.* |
---|
| 162 | %{_libdir}/libgcr-3.so.* |
---|
| 163 | %{_libdir}/libgcr-base-3.so.* |
---|
| 164 | |
---|
| 165 | %files -n compat32-%{name}-devel |
---|
| 166 | %defattr(-,root,root) |
---|
| 167 | %{_libdir}/libgck-1.so |
---|
| 168 | %{_libdir}/libgcr-3.so |
---|
| 169 | %{_libdir}/libgcr-base-3.so |
---|
| 170 | %endif |
---|
| 171 | |
---|
| 172 | |
---|
| 173 | %changelog |
---|
[12005] | 174 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.28.0-1 |
---|
| 175 | - new upstream release. |
---|
| 176 | |
---|
[10716] | 177 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1 |
---|
| 178 | - new upstream release |
---|
| 179 | |
---|
[9791] | 180 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 181 | - new upstream release |
---|
| 182 | |
---|
[9569] | 183 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
[9475] | 186 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.92-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
[9073] | 189 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 190 | - new upstream release |
---|
| 191 | |
---|
[8447] | 192 | * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
[8353] | 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 | |
---|
[8280] | 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 | |
---|
[8085] | 202 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 203 | - rebuild with VineSeed environment |
---|
| 204 | |
---|
[7938] | 205 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 206 | - new upstream release |
---|
| 207 | |
---|
[7681] | 208 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 209 | - new upstream release |
---|
| 210 | |
---|
[7633] | 211 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 212 | - new upstream release |
---|
| 213 | |
---|
[7119] | 214 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 215 | - new upstream release |
---|
| 216 | |
---|
[6951] | 217 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 218 | - new upstream release |
---|
| 219 | |
---|
[6890] | 220 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 221 | - new upstream release |
---|
| 222 | |
---|
[6078] | 223 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
[6011] | 224 | - initial build for Vine Linux |
---|
| 225 | |
---|