[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 |
---|
[12446] | 6 | Version: 3.36.0 |
---|
[12310] | 7 | Release: 1%{?_dist_release} |
---|
| 8 | License: GPL/LGPL |
---|
| 9 | Vendor: Project Vine |
---|
| 10 | Distribution: Vine Linux |
---|
[6011] | 11 | |
---|
[12310] | 12 | URL: https://www.gnome.org/ |
---|
| 13 | %define shortver %(echo %{version} | cut -d. -f1-2) |
---|
[12446] | 14 | Source0: https://download.gnome.org/sources/%{name}/%{shortver}/%{name}-%{version}.tar.xz |
---|
[6011] | 15 | |
---|
[12446] | 16 | BuildRequires: meson |
---|
[12310] | 17 | BuildRequires: gtk3-devel |
---|
| 18 | BuildRequires: p11-kit-devel |
---|
| 19 | BuildRequires: libtasn1-devel |
---|
| 20 | BuildRequires: libgcrypt-devel |
---|
[12446] | 21 | BuildRequires: vala-tools |
---|
[12310] | 22 | BuildRequires: libxslt |
---|
[12446] | 23 | BuildRequires: gtk-doc |
---|
[12310] | 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 |
---|
[12446] | 93 | %meson |
---|
| 94 | %meson_build |
---|
[6011] | 95 | |
---|
| 96 | |
---|
| 97 | %install |
---|
| 98 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
[12446] | 99 | %meson_install |
---|
[6011] | 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) |
---|
[12310] | 117 | %license COPYING |
---|
[12446] | 118 | %doc ChangeLog NEWS README* |
---|
[6011] | 119 | %{_bindir}/gcr-viewer |
---|
| 120 | %{_libdir}/libgck-1.so.* |
---|
[12446] | 121 | %{_libdir}/libgcr-*.so.* |
---|
[6011] | 122 | %{_libdir}/girepository-1.0/Gck-1.typelib |
---|
| 123 | %{_libdir}/girepository-1.0/Gcr-3.typelib |
---|
[7633] | 124 | %{_libdir}/girepository-1.0/GcrUi-3.typelib |
---|
[6011] | 125 | %{_libexecdir}/gcr-prompter |
---|
[12005] | 126 | %{_libexecdir}/gcr-ssh-askpass |
---|
[6011] | 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 |
---|
[12446] | 142 | %{_libdir}/libgcr-*.so |
---|
[6011] | 143 | %{_libdir}/pkgconfig/*.pc |
---|
| 144 | %{_datadir}/gir-1.0/Gck-1.gir |
---|
| 145 | %{_datadir}/gir-1.0/Gcr-3.gir |
---|
[7633] | 146 | %{_datadir}/gir-1.0/GcrUi-3.gir |
---|
[12310] | 147 | %dir %{_datadir}/vala |
---|
| 148 | %dir %{_datadir}/vala/vapi |
---|
| 149 | %{_datadir}/vala/vapi/* |
---|
[6011] | 150 | |
---|
[7938] | 151 | %files docs |
---|
[6011] | 152 | %defattr(-,root,root) |
---|
| 153 | %{_datadir}/gtk-doc/html/gck |
---|
[12446] | 154 | %{_datadir}/gtk-doc/html/gcr |
---|
[6011] | 155 | |
---|
| 156 | # compat32 |
---|
| 157 | %if %{build_compat32} |
---|
| 158 | %files -n compat32-%{name} |
---|
| 159 | %defattr(-,root,root) |
---|
| 160 | %{_libdir}/libgck-1.so.* |
---|
[12446] | 161 | %{_libdir}/libgcr-*.so.* |
---|
[6011] | 162 | |
---|
| 163 | %files -n compat32-%{name}-devel |
---|
| 164 | %defattr(-,root,root) |
---|
| 165 | %{_libdir}/libgck-1.so |
---|
[12446] | 166 | %{_libdir}/libgcr-*.so |
---|
[6011] | 167 | %endif |
---|
| 168 | |
---|
| 169 | |
---|
| 170 | %changelog |
---|
[12446] | 171 | * Mon Aug 03 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 3.36.0-1 |
---|
| 172 | - new upstream release. |
---|
| 173 | |
---|
[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 | |
---|