Package libqrcodegen: 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 | %global richname QR-Code-generator %global commit0 67c62461d380352500fc39557fd9f046b7fe1d18 %global shortcommit0 %(c=%commit0; echo ${c:0:7}) Name: libqrcodegen Version: 1.5.0 Release: alt1.git%shortcommit0 Summary: High-quality QR Code generator library License: MIT Group: System/Libraries Url: https://github.com/nayuki/QR-Code-generator # Source0-url: %url/archive/%commit0/%name-%shortcommit0.tar.gz Packager: Vitaly Lipatov <lav@altlinux.ru> Source: %name-%version.tar # https://github.com/nayuki/QR-Code-generator/pull/72 Patch1: qr-code-generator-build-fixes.patch BuildRequires: python3-devel BuildRequires: gcc-c++ %description This project aims to be the best, clearest QR Code generator library in multiple languages. The primary goals are flexible options and absolute correctness. Secondary goals are compact implementation size and good documentation comments. %package devel Group: Development/C Summary: Development files for libqrcodegen Requires: libqrcodegen = %EVR %description devel Development files and headers for high-quality QR Code generator library (plain C version). %package -n libqrcodegen-cpp Group: System/Libraries Summary: High-quality QR Code generator library (C++ version) %description -n libqrcodegen-cpp This project aims to be the best, clearest QR Code generator library in multiple languages. The primary goals are flexible options and absolute correctness. Secondary goals are compact implementation size and good documentation comments. %package -n libqrcodegen-cpp-devel Group: Development/C++ Summary: Development files for libqrcodegencpp Requires: libqrcodegen-cpp = %EVR %description -n libqrcodegen-cpp-devel Development files and headers for high-quality QR Code generator library (C++ version). %package -n python3-module-qrcodegen Group: Development/Python Summary: High-quality QR Code generator library (Python version) BuildArch: noarch %description -n python3-module-qrcodegen This project aims to be the best, clearest QR Code generator library in multiple languages. The primary goals are flexible options and absolute correctness. Secondary goals are compact implementation size and good documentation comments. %prep %setup %patch1 -p1 %build # Building plain C version... pushd c %make_build popd # Building C++ version... pushd cpp %make_build popd # Building Python version... pushd python %python3_build popd %install # Installing plain C version... pushd c %make_install install LIBDIR=%buildroot%_libdir INCLUDEDIR=%buildroot%_includedir/qrcodegen popd # Installing C++ version... pushd cpp %make_install install LIBDIR=%buildroot%_libdir INCLUDEDIR=%buildroot%_includedir/qrcodegencpp popd # Installing Python version... pushd python %python3_install popd %files %doc Readme.markdown %_libdir/libqrcodegen.so.1* %files devel %_includedir/qrcodegen/ %_libdir/libqrcodegen.so %files -n libqrcodegen-cpp %doc Readme.markdown %_libdir/libqrcodegencpp.so.1* %files -n libqrcodegen-cpp-devel %_includedir/qrcodegencpp/ %_libdir/libqrcodegencpp.so %files -n python3-module-qrcodegen %doc Readme.markdown %python3_sitelibdir_noarch/qrcodegen.py %python3_sitelibdir_noarch/__pycache__/* %python3_sitelibdir_noarch/qrcodegen-*.egg-info/ %changelog * Sun Jan 26 2020 Vitaly Lipatov <lav@altlinux.ru> 1.5.0-alt1.git67c6246 - initial build for ALT Sisyphus * Mon Jan 06 2020 Vitaly Zaitsev <vitaly@easycoding.org> - 1.5.0-1.20191014git67c6246 - Initial SPEC release. |