Package libduktape: 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 | %define oname duktape Name: libduktape Version: 2.7.0 Release: alt2.1 %define sover 207 %define libduktape libduktape%sover %define libduktaped libduktaped%sover Summary: Embeddable Javascript engine library License: MIT Group: System/Libraries Url: http://duktape.org/ Packager: Vitaly Lipatov <lav@altlinux.ru> # Source-url: http://duktape.org/%oname-%version.tar.xz Source: %name-%version.tar Patch: duktape-2.7.0-makefile.patch %description Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. #---------------------------------------------------------------------------- %package devel Summary: Development files for %name Group: Development/C %description devel Libraries and header files for developing programs based on %name. #---------------------------------------------------------------------------- %package -n %libduktape Summary: Embeddable Javascript engine commandline duk interpreter Group: System/Libraries Provides: libduktape = %EVR Obsoletes: libduktape < %EVR %description -n %libduktape Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. %package -n %libduktaped Summary: Embeddable Javascript engine commandline duk interpreter Group: System/Libraries Conflicts: libduktape <= 2.7.0-alt2 %description -n %libduktaped Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. %package -n %oname Summary: Embeddable Javascript engine commandline duk interpreter Group: File tools %description -n %oname Duktape is an embeddable Javascript engine, with a focus on portability and compact footprint. This package contains a commandline duk interpreter. #---------------------------------------------------------------------------- %prep %setup %patch -p2 %build %add_optflags %optflags_shared %make CFLAGS="%optflags" -f Makefile.sharedlibrary %make CFLAGS="%optflags" -f Makefile.sharedlibrary duk #make CFLAGS="%optflags" -f Makefile.cmdline %install %makeinstall_std \ INSTALL_PREFIX="%prefix" \ LIBDIR="/%_lib" \ -f Makefile.sharedlibrary mkdir -p %buildroot%_bindir install -m 755 duk %buildroot%_bindir/duk %files -n %libduktape %_libdir/libduktape.so.* %_libdir/libduktape.so.%sover %files -n %libduktaped %_libdir/libduktaped.so.* %_libdir/libduktaped.so.%sover %files devel %_includedir/duk_config.h %_includedir/duktape.h %_libdir/lib*.so %_libdir/pkgconfig/duktape.pc %files -n %oname %doc AUTHORS.rst LICENSE.txt README.rst %_bindir/duk %changelog * Fri Feb 09 2024 Sergey V Turchin <zerg@altlinux.org> 2.7.0-alt2.1 - apply shared libs policy - fix compile flags * Wed Dec 06 2023 Michael Shigorin <mike@altlinux.org> 2.7.0-alt2 - package duktaped library too * Wed Dec 06 2023 Michael Shigorin <mike@altlinux.org> 2.7.0-alt1 - new version 2.7.0 (with rpmgs script) - link with -lm (see upstream issues 2464, 2484) * Thu Jun 01 2023 Alexey Sheplyakov <asheplyakov@altlinux.org> 2.6.0-alt2 - Added pkg-config data (closes: #46355) * Sun Nov 08 2020 Vitaly Lipatov <lav@altlinux.ru> 2.6.0-alt1 - new version 2.6.0 (with rpmrb script) * Mon Aug 10 2020 Vitaly Lipatov <lav@altlinux.ru> 2.5.0-alt1 - new version 2.5.0 (with rpmrb script) * Sun Jan 26 2020 Vitaly Lipatov <lav@altlinux.ru> 2.4.0-alt1 - new version 2.4.0 (with rpmrb script) * Sun Nov 04 2018 Vitaly Lipatov <lav@altlinux.ru> 2.3.0-alt1 - new version 2.3.0 (with rpmrb script) * Mon May 21 2018 Vitaly Lipatov <lav@altlinux.ru> 2.2.1-alt1 - new version 2.2.1 (with rpmrb script) * Tue Oct 03 2017 Vitaly Lipatov <lav@altlinux.ru> 2.2.0-alt1 - new version 2.2.0 (with rpmrb script) * Mon Oct 02 2017 Vitaly Lipatov <lav@altlinux.ru> 2.1.0-alt1 - initial build for ALT Sisyphus * Tue May 30 2017 Rosa <rosa@abf.rosalinux.ru> 2.1.0-1 - (8c69ea0) Automatic import for version 2.1.0-1 |