[6011] | 1 | %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0} |
---|
[12005] | 2 | %define _unpackaged_files_terminate_build 1 |
---|
[6011] | 3 | |
---|
[12310] | 4 | Summary: A library for bits of crypto UI and parsing etc. |
---|
| 5 | Name: gcr |
---|
| 6 | Version: 3.28.1 |
---|
| 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: GPL/LGPL |
---|
| 9 | Group: System Environment/Libraries |
---|
[6011] | 10 | |
---|
[12310] | 11 | Vendor: Project Vine |
---|
| 12 | Distribution: Vine Linux |
---|
[6011] | 13 | |
---|
[12310] | 14 | URL: https://www.gnome.org/ |
---|
| 15 | %define shortver %(echo %{version} | cut -d. -f1-2) |
---|
| 16 | Source0: https://ftp.gnome.org/pub/GNOME/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
[6011] | 17 | |
---|
[12310] | 18 | BuildRequires: gtk3-devel |
---|
| 19 | BuildRequires: p11-kit-devel |
---|
| 20 | BuildRequires: libtasn1-devel |
---|
| 21 | BuildRequires: libgcrypt-devel |
---|
| 22 | BuildRequires: vala-devel |
---|
| 23 | BuildRequires: libxslt |
---|
| 24 | |
---|
[6011] | 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 | |
---|
[7938] | 36 | %package devel |
---|
[6011] | 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 | |
---|
[7938] | 48 | %package docs |
---|
[6011] | 49 | Summary: Documentation for gcr |
---|
| 50 | Summary(ja): gcr 用のドキュメント |
---|
| 51 | Group: Documentation |
---|
[7938] | 52 | Provides: %{name}-doc = %{version}-%{release} |
---|
[6011] | 53 | BuildArch: noarch |
---|
[7938] | 54 | Requires: %{name} = %{version}-%{release} |
---|
[6011] | 55 | |
---|
[7938] | 56 | %description docs |
---|
[6011] | 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 | %configure --disable-static |
---|
| 94 | %{__make} %{?_smp_mflags} |
---|
| 95 | |
---|
| 96 | |
---|
| 97 | %install |
---|
| 98 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 99 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
| 100 | |
---|
| 101 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 102 | rm -f $RPM_BUILD_ROOT%{_libdir}/libmock-test-module.so |
---|
| 103 | |
---|
| 104 | %find_lang %{name} |
---|
| 105 | |
---|
| 106 | |
---|
| 107 | %clean |
---|
| 108 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 109 | |
---|
| 110 | %post -p /sbin/ldconfig |
---|
| 111 | %postun -p /sbin/ldconfig |
---|
| 112 | |
---|
| 113 | %post -n compat32-%{name} -p /sbin/ldconfig |
---|
| 114 | %postun -n compat32-%{name} -p /sbin/ldconfig |
---|
| 115 | |
---|
| 116 | |
---|
| 117 | %files -f %{name}.lang |
---|
| 118 | %defattr(-,root,root) |
---|
[12310] | 119 | %license COPYING |
---|
| 120 | %doc ChangeLog NEWS README |
---|
[6011] | 121 | %{_bindir}/gcr-viewer |
---|
| 122 | %{_libdir}/libgck-1.so.* |
---|
| 123 | %{_libdir}/libgcr-3.so.* |
---|
| 124 | %{_libdir}/libgcr-base-3.so.* |
---|
[7633] | 125 | %{_libdir}/libgcr-ui-3.so.* |
---|
[6011] | 126 | %{_libdir}/girepository-1.0/Gck-1.typelib |
---|
| 127 | %{_libdir}/girepository-1.0/Gcr-3.typelib |
---|
[7633] | 128 | %{_libdir}/girepository-1.0/GcrUi-3.typelib |
---|
[6011] | 129 | %{_libexecdir}/gcr-prompter |
---|
[12005] | 130 | %{_libexecdir}/gcr-ssh-askpass |
---|
[6011] | 131 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp.convert |
---|
| 132 | %{_datadir}/GConf/gsettings/org.gnome.crypto.pgp_keyservers.convert |
---|
| 133 | %{_datadir}/applications/gcr-prompter.desktop |
---|
| 134 | %{_datadir}/applications/gcr-viewer.desktop |
---|
| 135 | %{_datadir}/dbus-1/services/org.gnome.keyring.PrivatePrompter.service |
---|
| 136 | %{_datadir}/dbus-1/services/org.gnome.keyring.SystemPrompter.service |
---|
| 137 | %{_datadir}/glib-2.0/schemas/org.gnome.crypto.pgp.gschema.xml |
---|
| 138 | %{_datadir}/icons/*/*/* |
---|
| 139 | %{_datadir}/mime/packages/gcr-crypto-types.xml |
---|
| 140 | |
---|
| 141 | %files devel |
---|
| 142 | %defattr(-,root,root) |
---|
| 143 | %{_includedir}/gck-1 |
---|
| 144 | %{_includedir}/gcr-3 |
---|
| 145 | %{_libdir}/libgck-1.so |
---|
| 146 | %{_libdir}/libgcr-3.so |
---|
| 147 | %{_libdir}/libgcr-base-3.so |
---|
[7633] | 148 | %{_libdir}/libgcr-ui-3.so |
---|
[6011] | 149 | %{_libdir}/pkgconfig/*.pc |
---|
| 150 | %{_datadir}/gir-1.0/Gck-1.gir |
---|
| 151 | %{_datadir}/gir-1.0/Gcr-3.gir |
---|
[7633] | 152 | %{_datadir}/gir-1.0/GcrUi-3.gir |
---|
[12310] | 153 | %dir %{_datadir}/vala |
---|
| 154 | %dir %{_datadir}/vala/vapi |
---|
| 155 | %{_datadir}/vala/vapi/* |
---|
[6011] | 156 | |
---|
[7938] | 157 | %files docs |
---|
[6011] | 158 | %defattr(-,root,root) |
---|
| 159 | %{_datadir}/gtk-doc/html/gck |
---|
| 160 | %{_datadir}/gtk-doc/html/gcr-3 |
---|
| 161 | |
---|
| 162 | # compat32 |
---|
| 163 | %if %{build_compat32} |
---|
| 164 | %files -n compat32-%{name} |
---|
| 165 | %defattr(-,root,root) |
---|
| 166 | %{_libdir}/libgck-1.so.* |
---|
| 167 | %{_libdir}/libgcr-3.so.* |
---|
| 168 | %{_libdir}/libgcr-base-3.so.* |
---|
| 169 | |
---|
| 170 | %files -n compat32-%{name}-devel |
---|
| 171 | %defattr(-,root,root) |
---|
| 172 | %{_libdir}/libgck-1.so |
---|
| 173 | %{_libdir}/libgcr-3.so |
---|
| 174 | %{_libdir}/libgcr-base-3.so |
---|
| 175 | %endif |
---|
| 176 | |
---|
| 177 | |
---|
| 178 | %changelog |
---|
[12005] | 179 | * Fri Dec 28 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.28.0-1 |
---|
| 180 | - new upstream release. |
---|
| 181 | |
---|
[10716] | 182 | * Sun Jul 17 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.20.0-1 |
---|
| 183 | - new upstream release |
---|
| 184 | |
---|
[9791] | 185 | * Sat Oct 31 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.18.0-1 |
---|
| 186 | - new upstream release |
---|
| 187 | |
---|
[9569] | 188 | * Sat May 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.16.0-1 |
---|
| 189 | - new upstream release |
---|
| 190 | |
---|
[9475] | 191 | * Sun Mar 29 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.15.92-1 |
---|
| 192 | - new upstream release |
---|
| 193 | |
---|
[9073] | 194 | * Sun Oct 26 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.14.0-1 |
---|
| 195 | - new upstream release |
---|
| 196 | |
---|
[8447] | 197 | * Wed May 14 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.2-1 |
---|
| 198 | - new upstream release |
---|
| 199 | |
---|
[8353] | 200 | * Sat Mar 29 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.12.0-1 |
---|
| 201 | - new upstream release |
---|
| 202 | - add BuildRequires: libxslt |
---|
| 203 | |
---|
[8280] | 204 | * Wed Feb 19 2014 NAKAMURA Kenta <kenta@vinelinux.org> 3.10.1-3 |
---|
| 205 | - rebuilt with libtasn1-3.4 and libgcrypt-1.6 |
---|
| 206 | |
---|
[8085] | 207 | * Tue Dec 31 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-2 |
---|
| 208 | - rebuild with VineSeed environment |
---|
| 209 | |
---|
[7938] | 210 | * Sat Oct 26 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.10.1-1 |
---|
| 211 | - new upstream release |
---|
| 212 | |
---|
[7681] | 213 | * Sat May 18 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.2-1 |
---|
| 214 | - new upstream release |
---|
| 215 | |
---|
[7633] | 216 | * Wed Apr 17 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.8.1-1 |
---|
| 217 | - new upstream release |
---|
| 218 | |
---|
[7119] | 219 | * Wed Nov 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.2-1 |
---|
| 220 | - new upstream release |
---|
| 221 | |
---|
[6951] | 222 | * Tue Oct 16 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.1-1 |
---|
| 223 | - new upstream release |
---|
| 224 | |
---|
[6890] | 225 | * Fri Sep 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1 |
---|
| 226 | - new upstream release |
---|
| 227 | |
---|
[6078] | 228 | * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1 |
---|
[6011] | 229 | - initial build for Vine Linux |
---|
| 230 | |
---|