Пакет libossp-uuid: 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 | Name: libossp-uuid Version: 1.5.1 Release: alt1.2 Summary: Universally Unique Identifier library License: MIT Group: System/Libraries Url: http://www.ossp.org/pkg/lib/uuid/ Packager: Michael Bochkaryov <misha@altlinux.ru> Source: uuid-%version.tar.bz2 Patch: ossp-uuid.patch # Automatically added by buildreq on Thu Mar 04 2010 (-bb) BuildRequires: gcc-c++ gcc-fortran glibc-devel-static postgresql-devel termutils BuildRequires: %_bindir/libtool %description OSSP uuid is a ISO-C:1999 application programming interface (API) and corresponding command line interface (CLI) for the generation of DCE 1.1, ISO/IEC 11578:1996 and RFC 4122 compliant Universally Unique Identifier (UUID). It supports DCE 1.1 variant UUIDs of version 1 (time and node based), version 3 (name based, MD5), version 4 (random number based) and version 5 (name based, SHA-1). Additional API bindings are provided for the languages ISO-C++:1998, Perl:5 and PHP:4/5. Optional backward compatibility exists for the ISO-C DCE-1.1 and Perl Data::UUID APIs. %package devel Summary: Development support for Universally Unique Identifier library Group: Development/C Requires: %_pkgconfigdir Requires: %name = %version-%release %description devel Development headers and libraries for OSSP uuid. %package dce Summary: DCE support for Universally Unique Identifier library Group: Development/C Requires: %name = %version-%release %description dce DCE OSSP uuid library. %package dce-devel Summary: DCE development support for Universally Unique Identifier library Group: Development/C Requires: %name-dce = %version-%release Requires: %name-devel = %version-%release %description dce-devel DCE development headers and libraries for OSSP uuid. %prep %setup -q -n uuid-%version %patch0 -p1 %build # Build the library. export LIB_NAME=libossp-uuid.la export DCE_NAME=libossp-uuid_dce.la export CXX_NAME=libossp-uuid++.la export PHP_NAME=$RPM_SOURCE_DIR/php/modules/ossp-uuid.so %configure \ --disable-static \ --without-perl \ --without-php \ --with-dce \ --without-cxx \ --without-pgsql sed -ri 's/^(hardcode_libdir_flag_spec|runpath_var)=.*/\1=/' libtool %make %install %makeinstall_std rm -f %buildroot%_libdir/*.la %buildroot%_libdir/*.a chmod 755 %buildroot%_libdir/*.so.*.*.* %check %files %doc AUTHORS ChangeLog HISTORY NEWS PORTING README SEEALSO THANKS TODO USERS %_bindir/uuid %_libdir/libossp-uuid.so.* %_man1dir/* %files devel %_bindir/uuid-config %_includedir/uuid.h %_libdir/libossp-uuid.so %_pkgconfigdir/ossp-uuid.pc %_man3dir/ossp-uuid.3* %files dce %_libdir/libossp-uuid_dce.so.* %files dce-devel %_includedir/uuid_dce.h %_libdir/libossp-uuid_dce.so %changelog * Sat Feb 04 2012 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.1-alt1.2 - Removed bad RPATH * Mon Nov 08 2010 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> 1.5.1-alt1.1 - Rebuilt for soname set-versions * Thu Mar 04 2010 Michael Bochkaryov <misha@altlinux.ru> 1.5.1-alt1 - Package renamed to libossp-uuid - Ported to ALT Linux * Tue Oct 7 2008 Devrim GUNDUZ <devrim@commandprompt.com> 1.5.1-4 - Initial build for yum.pgsqlrpms.org, based on EPEL spec |