Package 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 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 | %def_with perl Name: libossp-uuid Version: 1.5.1 Release: alt2.1 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 chrpath BuildRequires: %_bindir/libtool %if_with perl BuildRequires: perl-devel %endif %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. %if_with perl %package -n perl-OSSP-uuid Summary: perl bindings for Universally Unique Identifier library Group: Development/C Requires: %name = %EVR %description -n perl-OSSP-uuid perl bindings for OSSP uuid. %endif %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 \ %{subst_with 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.*.*.* %if_with perl mkdir -p %buildroot%perl_vendor_archlib mv %buildroot%_libdir/perl/*/* %buildroot%perl_vendor_archlib/ chrpath -d %buildroot%perl_vendor_archlib/auto/OSSP/uuid/uuid.so ||: %endif %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 %if_with perl %files -n perl-OSSP-uuid %perl_vendor_archlib/OSSP %perl_vendor_archlib/auto/OSSP %endif %changelog * Thu Jan 24 2019 Igor Vlasenko <viy@altlinux.ru> 1.5.1-alt2.1 - rebuild with new perl 5.28.1 * Tue Oct 16 2018 Igor Vlasenko <viy@altlinux.ru> 1.5.1-alt2 - NMU: built with perl * 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 |