1 | Name: qca2 |
---|
2 | Version: 2.2.1 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Qt Cryptographic Architecture |
---|
5 | Summary(ja): Qt 暗号アーキテクチャ |
---|
6 | Group: System Environment/Libraries |
---|
7 | |
---|
8 | Vendor: Project Vine |
---|
9 | Distribution: Vine Linux |
---|
10 | |
---|
11 | License: LGPLv2+ |
---|
12 | URL: https://userbase.kde.org/QCA |
---|
13 | Source0: http://download.kde.org/stable/qca/%{version}/qca-%{version}.tar.xz |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | BuildRequires: pkgconfig |
---|
17 | BuildRequires: cmake |
---|
18 | BuildRequires: extra-cmake-modules |
---|
19 | BuildRequires: qt5-rpm-macros |
---|
20 | BuildRequires: openssl-devel |
---|
21 | BuildRequires: qt4-devel |
---|
22 | BuildRequires: qt5-qtbase-devel |
---|
23 | Provides: qca-qt4 = %{version}-%{release} |
---|
24 | |
---|
25 | %description |
---|
26 | Taking a hint from the similarly-named Java Cryptography Architecture, |
---|
27 | QCA aims to provide a straightforward and cross-platform crypto API, |
---|
28 | using Qt datatypes and conventions. QCA separates the API from the |
---|
29 | implementation, using plugins known as Providers. The advantage of this |
---|
30 | model is to allow applications to avoid linking to or explicitly depending |
---|
31 | on any particular cryptographic library. This allows one to easily change |
---|
32 | or upgrade crypto implementations without even needing to recompile the |
---|
33 | application! |
---|
34 | |
---|
35 | |
---|
36 | %package devel |
---|
37 | Summary: Qt Cryptographic Architecture development files |
---|
38 | Summary(ja): Qt 暗号アーキテクチャの開発用ファイル |
---|
39 | Group: Development/Libraries |
---|
40 | Requires: %{name} = %{version}-%{release} |
---|
41 | Requires: qt4-devel >= %{_qt4_version} |
---|
42 | Provides: qca-qt4-devel = %{version}-%{release} |
---|
43 | |
---|
44 | %description devel |
---|
45 | This packages contains the development files for QCA |
---|
46 | |
---|
47 | |
---|
48 | %package -n qca2-qt5 |
---|
49 | Summary: Qt5 Cryptographic Architecture |
---|
50 | Summary(ja): Qt5 暗号アーキテクチャ |
---|
51 | Group: System Environment/Libraries |
---|
52 | Provides: qca-qt5 = %{version}-%{release} |
---|
53 | |
---|
54 | %description -n qca2-qt5 |
---|
55 | Taking a hint from the similarly-named Java Cryptography Architecture, |
---|
56 | QCA aims to provide a straightforward and cross-platform crypto API, |
---|
57 | using Qt datatypes and conventions. QCA separates the API from the |
---|
58 | implementation, using plugins known as Providers. The advantage of this |
---|
59 | model is to allow applications to avoid linking to or explicitly depending |
---|
60 | on any particular cryptographic library. This allows one to easily change |
---|
61 | or upgrade crypto implementations without even needing to recompile the |
---|
62 | application! |
---|
63 | |
---|
64 | |
---|
65 | %package -n qca2-qt5-devel |
---|
66 | Summary: Qt5 Cryptographic Architecture development files |
---|
67 | Summary(ja): Qt5 暗号アーキテクチャの開発用ファイル |
---|
68 | Group: Development/Libraries |
---|
69 | Provides: qca-qt5-devel = %{version}-%{release} |
---|
70 | Requires: qca2-qt5 = %{version}-%{release} |
---|
71 | Requires: qt5-qtbase-devel |
---|
72 | |
---|
73 | %description -n qca2-qt5-devel |
---|
74 | This packages contains the development files for QCA |
---|
75 | |
---|
76 | |
---|
77 | %prep |
---|
78 | %setup -q -n qca-%{version} |
---|
79 | |
---|
80 | %build |
---|
81 | |
---|
82 | mkdir build_qt5 |
---|
83 | pushd build_qt5 |
---|
84 | |
---|
85 | %{cmake} .. \ |
---|
86 | -DQCA_BINARY_INSTALL_DIR:STRING=%{_bindir} \ |
---|
87 | -DQCA_FEATURE_INSTALL_DIR:PATH=%{_qt5_archdatadir}/mkspecs/features \ |
---|
88 | -DQCA_INCLUDE_INSTALL_DIR:PATH=%{_qt5_headerdir} \ |
---|
89 | -DQCA_LIBRARY_INSTALL_DIR:PATH=%{_qt5_libdir} \ |
---|
90 | -DQCA_PLUGINS_INSTALL_DIR:PATH=%{_qt5_plugindir} \ |
---|
91 | -DQCA_PRIVATE_INCLUDE_INSTALL_DIR:PATH=%{_qt5_headerdir} \ |
---|
92 | -DQT4_BUILD:BOOL=OFF |
---|
93 | |
---|
94 | make %{?_smp_mflags} |
---|
95 | popd |
---|
96 | |
---|
97 | mkdir build_qt4 |
---|
98 | pushd build_qt4 |
---|
99 | %{cmake} .. \ |
---|
100 | -DQCA_BINARY_INSTALL_DIR:STRING=%{_bindir} \ |
---|
101 | -DQCA_FEATURE_INSTALL_DIR:PATH=%{_qt4_prefix}/mkspecs/features \ |
---|
102 | -DQCA_INCLUDE_INSTALL_DIR:PATH=%{_qt4_headerdir} \ |
---|
103 | -DQCA_LIBRARY_INSTALL_DIR:PATH=%{_qt4_libdir} \ |
---|
104 | -DQCA_PLUGINS_INSTALL_DIR:PATH=%{_qt4_plugindir} \ |
---|
105 | -DQCA_PRIVATE_INCLUDE_INSTALL_DIR:PATH=%{_qt4_headerdir} \ |
---|
106 | -DQT4_BUILD:BOOL=ON |
---|
107 | |
---|
108 | make %{?_smp_mflags} |
---|
109 | popd |
---|
110 | |
---|
111 | |
---|
112 | %install |
---|
113 | rm -rf %{buildroot} |
---|
114 | make install/fast DESTDIR=%{buildroot} -C build_qt5 |
---|
115 | make install/fast DESTDIR=%{buildroot} -C build_qt4 |
---|
116 | |
---|
117 | |
---|
118 | %clean |
---|
119 | rm -rf $RPM_BUILD_ROOT |
---|
120 | |
---|
121 | %post -p /sbin/ldconfig |
---|
122 | %postun -p /sbin/ldconfig |
---|
123 | |
---|
124 | %post -n qca2-qt5 -p /sbin/ldconfig |
---|
125 | %postun -n qca2-qt5 -p /sbin/ldconfig |
---|
126 | |
---|
127 | |
---|
128 | %files |
---|
129 | %defattr(-,root,root,-) |
---|
130 | %license COPYING |
---|
131 | %doc README TODO |
---|
132 | %{_qt4_libdir}/libqca.so.2* |
---|
133 | %{_bindir}/mozcerts |
---|
134 | %{_bindir}/qcatool |
---|
135 | %{_mandir}/man1/qcatool.1* |
---|
136 | %dir %{_qt4_plugindir}/crypto/ |
---|
137 | %{_qt4_plugindir}/crypto/* |
---|
138 | |
---|
139 | %files devel |
---|
140 | %defattr(-,root,root,-) |
---|
141 | %{_includedir}/QtCrypto |
---|
142 | %{_libdir}/libqca.so |
---|
143 | %{_libdir}/pkgconfig/qca2.pc |
---|
144 | %{_libdir}/cmake/Qca/ |
---|
145 | %{_qt4_datadir}/mkspecs/features/crypto.prf |
---|
146 | |
---|
147 | %files -n qca2-qt5 |
---|
148 | %doc README TODO |
---|
149 | %license COPYING |
---|
150 | %{_bindir}/mozcerts-qt5 |
---|
151 | %{_bindir}/qcatool-qt5 |
---|
152 | %{_mandir}/man1/qcatool-qt5.1* |
---|
153 | %{_qt5_libdir}/libqca-qt5.so.2* |
---|
154 | %dir %{_qt5_plugindir}/crypto/ |
---|
155 | %{_qt5_plugindir}/crypto/* |
---|
156 | |
---|
157 | %files -n qca2-qt5-devel |
---|
158 | %{_qt5_headerdir}/QtCrypto |
---|
159 | %{_qt5_libdir}/libqca-qt5.so |
---|
160 | %{_libdir}/pkgconfig/qca2-qt5.pc |
---|
161 | %{_libdir}/cmake/Qca-qt5/ |
---|
162 | %{_qt5_archdatadir}/mkspecs/features/crypto.prf |
---|
163 | |
---|
164 | |
---|
165 | %changelog |
---|
166 | * Sun Oct 27 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 2.2.1-1 |
---|
167 | - new upstream release. |
---|
168 | - added Qt5 support. |
---|
169 | |
---|
170 | * Mon Jul 04 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.3-5 |
---|
171 | - rebuild with gcc-5.4.0 |
---|
172 | |
---|
173 | * Mon Feb 9 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 2.0.3-4 |
---|
174 | - rebuilt on current VineSeed |
---|
175 | - added patch0 from Fedora |
---|
176 | - added Japanese summary |
---|
177 | |
---|
178 | * Sun Jan 8 2012 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-3 |
---|
179 | - rebuilt with qt-4.8.0 |
---|
180 | |
---|
181 | * Tue Mar 8 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-2 |
---|
182 | - rebuilt with qt-4.7.2 |
---|
183 | |
---|
184 | * Sun Jan 30 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.3-1 |
---|
185 | - new upstream release |
---|
186 | - built with qt-4.7.1 |
---|
187 | |
---|
188 | * Mon Sep 20 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-8 |
---|
189 | - rebuilt with rpm-4.8.1 |
---|
190 | |
---|
191 | * Mon Aug 23 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 2.0.2-7 |
---|
192 | - rebuilt with qt-4.6.3 again |
---|
193 | - change BuildRequires: qt4-devel = %{qt4_ver} (add version) |
---|
194 | |
---|
195 | * Sat Jul 24 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-6 |
---|
196 | - rebuilt with qt-4.6.3 |
---|
197 | |
---|
198 | * Fri Feb 05 2010 Shu KONNO <owa@bg.wakwak.com> 2.0.2-5 |
---|
199 | - rebuilt with new toolchain, qt4-4.6.1 |
---|
200 | |
---|
201 | * Sun Nov 22 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-4 |
---|
202 | - rebuilt with qt-4.5.3 |
---|
203 | |
---|
204 | * Sun Aug 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 2.0.2-3 |
---|
205 | - Initial build for Vine Linux |
---|
206 | |
---|
207 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-2 |
---|
208 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
209 | |
---|
210 | * Tue May 05 2009 Sven Lankes <sven@lank.es> - 2.0.2-1 |
---|
211 | - new upstream release - qt 4.5-compat-fixes |
---|
212 | |
---|
213 | * Wed Apr 08 2009 Sven Lankes <sven@lank.es> - 2.0.1-1 |
---|
214 | - new upstream release |
---|
215 | - removed 64bit patch - now upstream |
---|
216 | |
---|
217 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.0-4 |
---|
218 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
219 | |
---|
220 | * Fri May 30 2008 Dennis Gilmore <dennis@ausil.us> - 2.0.0-3 |
---|
221 | - crypto.prf is in libdir not datadir |
---|
222 | |
---|
223 | * Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 2.0.0-2 |
---|
224 | - Autorebuild for GCC 4.3 |
---|
225 | |
---|
226 | * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-1 |
---|
227 | - version 2.0.0 final |
---|
228 | |
---|
229 | * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.4.beta7 |
---|
230 | - fix build on x86_64 |
---|
231 | |
---|
232 | * Sun Oct 21 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.3.beta7 |
---|
233 | - missing BR: openssl |
---|
234 | |
---|
235 | * Thu Sep 13 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.2.beta7 |
---|
236 | - review from bug 289681 (thanks Rex) |
---|
237 | |
---|
238 | * Sun Sep 09 2007 Aurelien Bompard <abompard@fedoraproject.org> 2.0.0-0.1.beta7 |
---|
239 | - initial package |
---|