Пакет libgwenhywfar: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 | %define origname gwenhywfar %def_with qt5 Name: libgwenhywfar Version: 5.1.2 Release: alt1 Summary: A multi-platform helper library for other libraries Group: System/Libraries License: LGPLv2+ URL: http://www2.aquamaniac.de/sites/download/packages.php # VCS: http://git.aqbanking.de/git/gwenhywfar.git Packager: Andrey Cherepanov <cas@altlinux.org> Source: %origname-%version.tar Patch1: %name-pthread.patch Patch2: %name-fix-build-with-qt5.patch BuildRequires: gcc-c++ glibc-devel graphviz libcom_err-devel BuildRequires: libgnutls-devel libssl-devel tzdata BuildRequires: libqt4-devel BuildRequires: libgtk+2-devel BuildRequires: libgtk+3-devel %if_with qt5 BuildRequires: qt5-base-devel qt5-tools %endif BuildRequires: zlib-devel libgcrypt-devel ncurses-devel BuildRequires: ca-certificates Requires: ca-certificates %description This is Gwenhywfar, a multi-platform helper library for networking and security applications and libraries. It is heavily used by libchipcard www.libchipcard.de and OpenHBCI-TNG (The Next Generation) www.openhbci.de. Check http://www.freesource.info/wiki/Altlinux/Policy/TLS for ALT Linux TLS/SSL policy %package gtk2 Summary: Gwenhywfar support for GTK+ 2.x Group: System/Libraries Requires: %name = %version-%release %description gtk2 Gwenhywfar support for GTK+ 2.x. %package gtk3 Summary: Gwenhywfar support for GTK+ 3.x Group: System/Libraries Requires: %name = %version-%release %description gtk3 Gwenhywfar support for GTK+ 3.x. %package qt4 Summary: Gwenhywfar support for Qt4 Group: System/Libraries Requires: %name = %version-%release %description qt4 Gwenhywfar support for Qt4 %if_with qt5 %package qt5 Summary: Gwenhywfar support for Qt5 Group: System/Libraries Requires: %name = %version-%release %description qt5 Gwenhywfar support for Qt5 %endif %package devel Summary: Gwenhywfar development kit Group: Development/C Requires: %name = %version-%release Requires: %name-gtk2 = %version-%release Requires: %name-qt4 = %version-%release %if_with qt5 Requires: %name-qt5 = %version-%release %endif %description devel This package contains gwenhywfar-config and header files for writing and compiling programs using Gwenhywfar. %prep %setup -q -n %origname-%version %patch1 -p1 %patch2 -p1 %build %undefine _configure_gettext %autoreconf %if_with qt5 export PATH=$PATH:%_qt5_bindir %endif %configure \ --disable-static \ --with-openssl-libs=%_libdir \ %if_with qt5 --with-guis="gtk2 gtk3 qt4 qt5" \ --with-qt5-qmake=%_bindir/qmake-qt5 \ --with-qt5-moc=%_bindir/moc-qt5 \ --with-qt5-uic=%_bindir/uic-qt5 \ %else --with-guis="gtk2 gtk3 qt4" \ %endif --with-qt4-libs="%_libdir" %make_build %install %makeinstall_std %find_lang %origname # Use system-wide ca-certificates rm -f %buildroot%_datadir/gwenhywfar/ca-bundle.crt ln -s %_datadir/ca-certificates/ca-bundle.crt %buildroot%_datadir/gwenhywfar/ca-bundle.crt %files -f %origname.lang %doc AUTHORS README TODO %_bindir/gct-tool %_bindir/gsa %_libdir/*.so.* %exclude %_libdir/libgwengui-gtk2.so.* %exclude %_libdir/libgwengui-gtk3.so.* %exclude %_libdir/libgwengui-qt4.so.* %if_with qt5 %exclude %_libdir/libgwengui-qt5.so.* %endif %_libdir/%origname/ %_datadir/gwenhywfar/ca-bundle.crt %_datadir/gwenhywfar/dialogs/*.dlg %files gtk2 %_libdir/libgwengui-gtk2.so.* %files gtk3 %_libdir/libgwengui-gtk3.so.* %files qt4 %_libdir/libgwengui-qt4.so.* %if_with qt5 %files qt5 %_libdir/libgwengui-qt5.so.* %endif %files devel %_bindir/%origname-config %_bindir/xmlmerge %_bindir/mklistdoc %_bindir/typemaker %_bindir/typemaker2 %_libdir/*.so %_includedir/gwenhywfar5/ %_pkgconfigdir/* %_datadir/%origname/typemaker2/* %_datadir/aclocal/gwenhywfar.m4 %_libdir/cmake/* %changelog * Tue Feb 04 2020 Andrey Cherepanov <cas@altlinux.org> 5.1.2-alt1 - New version. * Thu Oct 10 2019 Andrey Cherepanov <cas@altlinux.org> 4.99.22rc6-alt0.1 - New version. * Thu Aug 29 2019 Andrey Cherepanov <cas@altlinux.org> 4.20.2-alt1 - New version. * Wed Aug 29 2018 Grigory Ustinov <grenka@altlinux.org> 4.20.1-alt1.1 - NMU: Rebuild with new openssl 1.1.0. * Wed Jul 11 2018 Andrey Cherepanov <cas@altlinux.org> 4.20.1-alt1 - New version. * Mon Apr 02 2018 Andrey Cherepanov <cas@altlinux.org> 4.20.0-alt2 - Build gtk3 bindings. * Fri Mar 02 2018 Andrey Cherepanov <cas@altlinux.org> 4.20.0-alt1 - New version. * Mon Feb 19 2018 Andrey Cherepanov <cas@altlinux.org> 4.19.0-alt1 - New version. - Build with Qt5. * Tue Aug 01 2017 Andrey Cherepanov <cas@altlinux.org> 4.18.0-alt1 - New version * Thu Mar 02 2017 Andrey Cherepanov <cas@altlinux.org> 4.17.0-alt1 - New version * Tue Jun 21 2016 Andrey Cherepanov <cas@altlinux.org> 4.15.3-alt1 - New version * Sun Dec 27 2015 Andrey Cherepanov <cas@altlinux.org> 4.14.0-alt3 - Update watch file after upstream site reconstruction - Fix build with new gnutls - Package cmake files * Mon Dec 21 2015 Andrey Cherepanov <cas@altlinux.org> 4.14.0-alt2 - Do not use strict extension for man pages * Wed May 27 2015 Andrey Cherepanov <cas@altlinux.org> 4.14.0-alt1 - new version 4.14.0 * Thu Apr 02 2015 Andrey Cherepanov <cas@altlinux.org> 4.13.1-alt1 - new version 4.13.1 * Wed Nov 28 2012 Andrey Cherepanov <cas@altlinux.org> 4.3.3-alt1 - new version 4.3.3 * Mon Jan 16 2012 Andrey Cherepanov <cas@altlinux.org> 4.3.1-alt1 - New version 4.3.1 - Add watch file * Tue Sep 06 2011 Andrey Cherepanov <cas@altlinux.org> 4.2.1-alt1 - New version 4.2.1 - Use system-wide ca-certificates (closes: #10901) * Thu Mar 03 2011 Andrey Cherepanov <cas@altlinux.org> 4.0.7-alt1 - New version 4.0.7 - Exclude qt4 and gtk+ libraries in separate packages * Mon Oct 04 2010 Andrey Cherepanov <cas@altlinux.org> 3.11.3-alt2 - rebuild with new openssl * Fri Apr 02 2010 Andrey Cherepanov <cas@altlinux.org> 3.11.3-alt1 - new version 3.11.3 * Wed Apr 15 2009 Vitaly Lipatov <lav@altlinux.ru> 3.8.0-alt1 - new version 3.8.0 (with rpmrb script) * Mon Nov 24 2008 Vitaly Lipatov <lav@altlinux.ru> 3.5.2-alt1 - new version 3.5.2 (with rpmrb script) * Sat Jul 26 2008 Vitaly Lipatov <lav@altlinux.ru> 3.2.0-alt2 - cleanup spec, move gct-tool to original dir - fix bug #10901 (use ca-bundle.crt from datadir/ca-certificates/) * Tue Apr 22 2008 Vitaly Lipatov <lav@altlinux.ru> 3.2.0-alt1 - new version 3.2.0 (with rpmrb script) - update buildreqs * Wed Apr 11 2007 Vitaly Lipatov <lav@altlinux.ru> 2.5.4-alt1 - new version 2.5.4 - do not pack /etc/gwen-public-ca.crt - update buildreq, fix x86_64 build (use --with-openssl-libs (thanks at@)) * Mon Sep 11 2006 Vitaly Lipatov <lav@altlinux.ru> 2.4.0-alt0.1 - new version 2.4.0 - update buildreq * Mon May 01 2006 Vitaly Lipatov <lav@altlinux.ru> 2.2.0-alt0.1 - new version * Mon Dec 19 2005 Vitaly Lipatov <lav@altlinux.ru> 1.19.2-alt0.1 - new version * Mon Aug 22 2005 Igor Muratov <migor@altlinux.org> 1.16.0-alt1 - new version * Wed Aug 10 2005 Igor Muratov <migor@altlinux.org> 1.14.0-alt1 - new version * Sun Mar 06 2005 Vitaly Lipatov <lav@altlinux.ru> 1.7.1-alt1 - first build for ALT Linux Sisyphus |