Пакет libffcall: 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 | # vim: set ft=spec: -*- mode: rpm-spec; -*- # $Id: libffcall,v 1.5 2004/07/15 06:29:38 raorn Exp $ %def_enable static %define lname ffcall %define version 1.10 %define release alt2 Name: lib%lname Version: %version Release: %release Summary: Foreign Function Call Libraries Group: System/Libraries License: GPL URL: http://www.haible.de/bruno/packages-ffcall.html Source: http://www.haible.de/bruno/gnu/%lname-%version.tar.gz Packager: Repocop Q. A. Robot <repocop@altlinux.org> %{?_enable_static:BuildPreReq: glibc-devel-static} %description This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: avcall - calling C functions with variable arguments vacall - C functions accepting variable argument prototypes trampoline - closures as first-class C functions callback - closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline) %package devel Summary: Development headers for Foreign Function Call Libraries Group: Development/C Requires: %name = %version-%release %description devel This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: avcall - calling C functions with variable arguments vacall - C functions accepting variable argument prototypes trampoline - closures as first-class C functions callback - closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline) This package contains development headers for FFCall libraries %if_enabled static %package devel-static Summary: Development headers for Foreign Function Call Libraries Group: Development/C Requires: %name-devel = %version-%release %description devel-static This is a collection of four libraries which can be used to build foreign function call interfaces in embedded interpreters. The four packages are: avcall - calling C functions with variable arguments vacall - C functions accepting variable argument prototypes trampoline - closures as first-class C functions callback - closures with variable arguments as first-class C functions (a reentrant combination of vacall and trampoline) This package contains static verions of FFCall libraries %endif %prep %setup -q -n %lname-%version %build # SMP b0rken... %define __nprocs 1 %{?!_enable_static:export lt_cv_prog_cc_static_works=no} %configure \ --enable-shared \ %{subst_enable static} %make_build %install %__mkdir_p %buildroot{%_includedir,%_libdir,%_mandir,%_datadir} %makeinstall %files %doc COPYING NEWS PLATFORMS README %_libdir/*.so.* %files devel %doc */*.html %_includedir/* %_libdir/*.so %_mandir/man?/* %if_enabled static %files devel-static %_libdir/*.a %endif %changelog * Thu Oct 28 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.10-alt2 - Rebuilt for soname set-versions * Fri Nov 13 2009 Repocop Q. A. Robot <repocop@altlinux.org> 1.10-alt1.qa1 - NMU (by repocop): the following fixes applied: * post_ldconfig for libffcall * postun_ldconfig for libffcall * postclean-05-filetriggers for spec file * Thu Jul 15 2004 Sir Raorn <raorn@altlinux.ru> 1.10-alt1 - [1.10] - Url updated (closes #3038) - Explicitly enabled static * Mon Dec 15 2003 Sir Raorn <raorn@altlinux.ru> 1.8d-alt5 - devel-static and *.la fixes * Sun Sep 14 2003 Sir Raorn <raorn@altlinux.ru> 1.8d-alt4 - SMP build b0rken - Some spec cleanups * Tue Jul 30 2002 Sir Raorn <raorn@altlinux.ru> 1.8d-alt3 - Libraries made shared * Wed Jul 17 2002 Sir Raorn <raorn@altlinux.ru> 1.8d-alt2 - Renamed to %name-devel * Sat May 11 2002 Sir Raorn <raorn@altlinux.ru> 1.8d-alt1 - [1.8d] * Mon Jan 07 2002 Sir Raorn <raorn@altlinux.ru> 1.8c-alt3 - Spec celanup * Sat Jan 05 2002 Sir Raorn <raorn@altlinux.ru> 1.8c-alt2 - Fixed %doc for html documentation * Sat Aug 18 2001 Sir Raorn <raorn@binec.ru> - initial RPM release |