Package gost-crypto-gui: 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 | %define gitrev 4b7a47a Name: gost-crypto-gui Version: 0.3 Release: alt0.7.a.git%gitrev Summary: A PyQt GUI for performing cryptographic operations over files using GOST algorithms License: MIT Packager: Andrey Cherepanov <cas@altlinux.org> Group: Security/Networking Url: http://github.com/bmakarenko/gost-crypto-gui BuildRequires(pre): rpm-build-python BuildRequires(pre): rpm-build-xdg BuildRequires: python-module-setuptools %filter_from_requires /^python2.7(nautilus)/d Requires: nautilus-python BuildArch: noarch Source0: %name.tar # fix error of returt zero-code and ru linux locale Patch0: patch_for_4b7a47a.patch Provides: gostcryptogui = %EVR Obsoletes: gostcryptogui < %EVR %description A PyQt GUI for performing cryptographic operations over files using GOST algorithms. Requires CryproPro (http://www.cryptopro.ru). %prep %setup -q %patch0 -p0 %build %python_build for dir in nautilus caja; do pushd "$dir" chmod +x gost-crypto-gui-emblem.py python -m py_compile gost-crypto-gui-menu.py python -m py_compile gost-crypto-gui-emblem.py popd done %install %python_install install -Dm 0755 gost-crypto-gui.py %buildroot%_bindir/gost-crypto-gui.py for dir in nautilus caja; do pushd "$dir" mkdir -p %buildroot%_datadir/$dir-python/extensions cp gost-crypto-gui-menu.py* gost-crypto-gui-emblem.py* %buildroot%_datadir/$dir-python/extensions popd done install -Dm 0644 gost-crypto-gui.png %buildroot%_pixmapsdir/gost-crypto-gui.png install -Dm 0644 gost-crypto-gui.desktop %buildroot%_desktopdir/gost-crypto-gui.desktop mkdir -p %buildroot%_xdgmimedir/application cp x-extension-*.xml %buildroot%_xdgmimedir/application mkdir -p %buildroot%_iconsdir cp -av *.png %buildroot%_iconsdir rm -f %buildroot%_iconsdir/gost-crypto-gui.png %files %doc README.md %python_sitelibdir_noarch/* %_bindir/gost-crypto-gui.py %_datadir/nautilus-python/extensions/*.py* %_datadir/caja-python/extensions/*.py* %_pixmapsdir/gost-crypto-gui.png %_desktopdir/gost-crypto-gui.desktop %_xdgmimedir/application/*.xml %_iconsdir/*.png %changelog * Thu May 31 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.3-alt0.7.a.git4b7a47a -fix return zero in patch0 * Tue May 29 2018 Andrey Bychkov <mrdrew@altlinux.org> 0.3-alt0.6.a.git4b7a47a -fix error of return zero-code and ru linux locale * Fri Apr 20 2018 Andrey Cherepanov <cas@altlinux.org> 0.3-alt0.5.a.git4b7a47a - New version (ALT #34836). * Sun Sep 24 2017 Andrey Cherepanov <cas@altlinux.org> 0.3-alt0.4.a.git201ea87 - Rename to gost-crypto-gui as original upstream name * Thu Aug 24 2017 Andrey Cherepanov <cas@altlinux.org> 0.3-alt0.3.a.git201ea87 - (upstream fix) Single quote in certificate fields * Thu Jun 01 2017 Andrey Cherepanov <cas@altlinux.org> 0.3-alt0.2.a.git0c6d930 - [upstreram fix] 'Open in folder' and 'send via email' buttons on messagebox * Tue May 30 2017 Andrey Cherepanov <cas@altlinux.org> 0.3-alt0.1.a.gita283bf5 - New version - Fix mime type location * Tue Dec 20 2016 Andrey Cherepanov <cas@altlinux.org> 0.2-alt1.git5d1e7ad - New version * Thu Nov 10 2016 Andrey Cherepanov <cas@altlinux.org> 0.1-alt1.git172e347 - Initial build in Sisyphus |