Package libsepol: 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 | %def_disable check Name: libsepol Version: 2.1.8 Release: alt1 Summary: SELinux binary policy manipulation library License: LGPLv2+ Group: System/Libraries Url: http://userspace.selinuxproject.org/trac/ Source: %name-%version.tar %{!?_disable_check:BuildRequires: CUnit-devel} %description libsepol provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. %package devel Summary: Development files for %name Group: Development/C Requires: %name = %version-%release %description devel libsepol provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. This package contains development library and header files for %name. %package devel-static Summary: Static development files for %name Group: Development/C Requires: %name-devel = %version-%release %description devel-static libsepol provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. This package contains static library. %package utils Summary: Utils for checking and mainplating policy binaries Security-enhanced Linux Group: System/Configuration/Other Provides: chkcon = %version-%release Requires: %name = %version-%release %description utils libsepol provides an API for the manipulation of SELinux binary policies. It is used by checkpolicy (the policy compiler) and similar tools, as well as by programs like load_policy that need to perform specific transformations on binary policies such as customizing policy boolean settings. %prep %setup -q %build %make_build CFLAGS="%optflags" LIBDIR=%_libdir SHLIBDIR=%_lib all %install %makeinstall_std LIBDIR=%buildroot%_libdir SHLIBDIR=%buildroot/%_lib %check %make_build test %files /%_lib/* %files devel %_libdir/*.so %_includedir/sepol %_pkgconfigdir/* %_man3dir/* %files devel-static %_libdir/*.a %files utils %_bindir/* %_man8dir/* %exclude %_man8dir/genpol* %changelog * Sun Sep 23 2012 Led <led@altlinux.ru> 2.1.8-alt1 - 2.1.8 - cleaned up spec * Thu Nov 10 2011 Dmitry V. Levin <ldv@altlinux.org> 2.0.42-alt1.1 - Fixed packaging of manpages. - Rebuilt for debuginfo. * Wed Dec 29 2010 Mikhail Efremov <sem@altlinux.org> 2.0.42-alt1 - Updated to 2.0.42. * Wed Nov 03 2010 Mikhail Efremov <sem@altlinux.org> 2.0.41-alt2 - fix build and install sections. - Set LIBDIR and SHLIBDIR for make while build. - use tar instead of tgz for sources. - fix Url. - Drop redundant information from description. * Wed Feb 03 2010 Mikhail Efremov <sem@altlinux.org> 2.0.41-alt1 - new version * Thu May 07 2009 Anton Farygin <rider@altlinux.ru> 2.0.36-alt1 - new version * Mon Dec 22 2008 Anton Farygin <rider@altlinux.ru> 2.0.34-alt1 - new version * Fri Dec 19 2008 Anton Farygin <rider@altlinux.ru> 2.0.30-alt1 - new (development) version - specfile cleanup * Sun Mar 09 2008 Eugene Ostapets <eostapets@altlinux.ru> 1.16.12-alt1 - Initial build |