Package rpm-build-erlang: 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 | Name: rpm-build-erlang Version: 0.7.0.1 Release: alt1 Summary: RPM helper scripts to calculate Erlang dependencies License: %gpl3plus Group: Development/Erlang Source: %name-%version.tar BuildArch: noarch Requires: rpm >= 4.0.4-alt78 Requires: file >= 4.26 Requires: rpm-macros-erlang >= 0.6.2 AutoReq: yes, noerlang Packager: Led <led@altlinux.ru> BuildRequires(pre): rpm-build-licenses BuildRequires: erlang %description These herlper scripts will look at Erlang modules (*.beam) and apps (*.app) in your package, and will use this information to generate automatic Requires and Provides tags for the package. %prep %setup %build mkdir ebin erlc -W +inline -o ebin src/*.erl %install install -d -m 0755 %buildroot%_rpmlibdir install -m 0644 ebin/* %buildroot%_rpmlibdir/ install -m 0755 erlang.* %buildroot%_rpmlibdir/ %files %_rpmlibdir/* %changelog * Thu Feb 12 2009 Led <led@altlinux.ru> 0.7.0.1-alt1 - 0.7.0.1: + erlang.{prov,req}.files: recognize compresses BEAMs * Thu Feb 12 2009 Led <led@altlinux.ru> 0.7.0-alt2 - removed hard requires to erlang * Wed Jan 14 2009 Led <led@altlinux.ru> 0.7.0-alt1 - 0.7.0 - fixed spec - removed rpm macros (its in rpm-macros-erlang now) - rewritten Summary and %%description * Sun Sep 21 2008 Led <led@altlinux.ru> 0.6.2-alt1 - updated Requires - cleaned up erlang.prov.files, erlang.env * Wed Sep 10 2008 Led <led@altlinux.ru> 0.6.1-alt1 - yet another hack to erlang.prov.files for old buggy file(1) * Wed Aug 20 2008 Led <led@altlinux.ru> 0.6.0-alt1 - remade erlang.prov.files * Fri Aug 15 2008 Led <led@altlinux.ru> 0.5.0-alt1 - renamed rpm_req to erlang_req again - cleaned up erlang.req - updated BuildRequires * Tue Jul 29 2008 Led <led@altlinux.ru> 0.4.1-alt1 - added hipe_bifs to default _erlang_req_modules_skiplist * Wed Jul 23 2008 Led <led@altlinux.ru> 0.4.0-alt1 - renamed erlang_req to rpm_req - updated erlang.req for compile rpm_req - cleaned up Requires and BuildRequires * Wed Jul 23 2008 Led <led@altlinux.ru> 0.3.6-alt1 - fixed/updated %%_sysconfdir/rpm/macros.d/erlang * Fri Jul 11 2008 Led <led@altlinux.ru> 0.3.5-alt1 - improved erlang.{prov,req}.files * Thu Jul 03 2008 Led <led@altlinux.ru> 0.3.4-alt1 - fixed erlang.prov.files * Mon Jun 23 2008 Led <led@altlinux.ru> 0.3.3-alt1 - increased speed of searching requires * Sun Jun 22 2008 Led <led@altlinux.ru> 0.3.2-alt1 - support environment variable for skip require modules * Thu Jun 19 2008 Led <led@altlinux.ru> 0.3.1-alt1 - search requires only for files in %%_otplibdir/*/ebin/ * Thu Jun 19 2008 Led <led@altlinux.ru> 0.3-alt1 - simplified provedes and requires format * Tue Feb 26 2008 Led <led@altlinux.ru> 0.2.1-alt1 - added warnings to erlang_req * Mon Feb 25 2008 Led <led@altlinux.ru> 0.2-alt1 - 0.2: + fixed app-requires searching * Sat Feb 23 2008 Led <led@altlinux.ru> 0.1-alt1 - initial build |