Package libuser: 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 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 | Name: libuser Version: 0.63 Release: alt2 Summary: A user and group account administration library License: LGPLv2+ Group: System/Base Url: https://pagure.io/libuser # repacked https://releases.pagure.org/libuser/libuser-%version.tar.xz Source0: %name-%version.tar Source1: import.info Patch0: %name-0.63-PR49_add_yescrypt.patch Patch1: %name-0.63-downstream_test_xcrypt.patch Patch2: %name-0.57.2-alt-modularized_ldap.patch # BEGIN SourceDeps(oneline): BuildRequires(pre): rpm-build-python3 BuildRequires: libcrypt-devel # END SourceDeps(oneline) BuildRequires: OpenSP BuildRequires: glib2-devel libgio libgio-devel BuildRequires: linuxdoc-tools BuildRequires: libpam0-devel BuildRequires: libpopt-devel BuildRequires: libsasl2-devel BuildRequires: libselinux-devel BuildRequires: libldap-devel BuildRequires: python3-devel # To make sure the configure script can find it BuildRequires: nscd BuildRequires: gcc # For %%check #BuildRequires: fakeroot BuildRequires: openldap-clients BuildRequires: openldap-servers BuildRequires: openssl BuildRequires: bison BuildRequires: libtool BuildRequires: gettext-tools libasprintf-devel BuildRequires: gtk-doc gtk-doc-mkpdf BuildRequires: libaudit-devel # see https://bugzilla.altlinux.org/show_bug.cgi?id=10382 %define _localstatedir %_var %description The libuser library implements a standardized interface for manipulating and administering user and group accounts. The library uses pluggable back-ends to interface to its data sources. Sample applications modeled after those included with the shadow password suite are included. %package devel Summary: Files needed for developing applications which use libuser Group: Development/C Requires: %name = %version-%release Requires: libgio %description devel The libuser-devel package contains header files, static libraries, and other files useful for developing applications with libuser. %package -n python3-module-libuser Summary: Python 3 bindings for the libuser library Group: System/Base Requires: %name = %version-%release %description -n python3-module-libuser The python3-libuser package contains the Python bindings for the libuser library, which provides a Python 3 API for manipulating and administering user and group accounts. %prep %setup %patch0 -p1 %patch1 -p1 %patch2 -p0 %build ./autogen.sh %configure --with-selinux --with-ldap --with-audit \ --enable-gtk-doc --with-html-dir=%_datadir/gtk-doc/html \ PYTHON=python3 make %install %makeinstall_std %find_lang %name %check %make_build check || { cat test-suite.log; false; } %files -f %name.lang %doc --no-dereference COPYING %doc AUTHORS NEWS README TODO docs/*.txt %config(noreplace) %_sysconfdir/libuser.conf %attr(0755,root,root) %_bindir/* %_libdir/*.so.* %dir %_libdir/%name %_libdir/%name/*.so %attr(0755,root,root) %_sbindir/* %_mandir/man1/* %_mandir/man5/* %exclude %_libdir/%name/*.la %files -n python3-module-libuser %doc python/modules.txt %python3_sitelibdir/*.so %exclude %python3_sitelibdir/*.la %files devel %_includedir/libuser %_libdir/*.so %_pkgconfigdir/* %_datadir/gtk-doc/html/* %changelog * Mon Jan 24 2022 Nikolay Burykin <bne@altlinux.org> 0.63-alt2 - update Release to avoid conflicts with Autoimports * Wed Jan 12 2022 Nikolay Burykin <bne@altlinux.org> 0.63-alt1 - Build from Autoimports to Sisyphus * Mon Aug 02 2021 Igor Vlasenko <viy@altlinux.org> 0.63-alt1_7 - update to new release by fcimport * Thu Jul 08 2021 Igor Vlasenko <viy@altlinux.org> 0.63-alt1_6 - update to new release by fcimport * Wed Mar 17 2021 Igor Vlasenko <viy@altlinux.org> 0.63-alt1_1 - update to new release by fcimport * Wed Jan 27 2021 Igor Vlasenko <viy@altlinux.ru> 0.62-alt2_30 - update to new release by fcimport * Fri Dec 25 2020 Igor Vlasenko <viy@altlinux.ru> 0.62-alt1_30 - update to new release by fcimport * Wed Feb 06 2013 Igor Vlasenko <viy@altlinux.ru> 0.58-alt1_2 - update to new release by fcimport * Fri Nov 09 2012 Igor Vlasenko <viy@altlinux.ru> 0.58-alt1_1 - update to new release by fcimport * Mon Oct 01 2012 Igor Vlasenko <viy@altlinux.ru> 0.57.7-alt1_1 - update to new release by fcimport * Fri Jul 27 2012 Igor Vlasenko <viy@altlinux.ru> 0.57.6-alt1_2 - update to new release by fcimport * Wed May 09 2012 Igor Vlasenko <viy@altlinux.ru> 0.57.6-alt1_1 - update to new release by fcimport * Tue Feb 21 2012 Igor Vlasenko <viy@altlinux.ru> 0.57.4-alt1_1 - update to new release by fcimport * Fri Dec 23 2011 Igor Vlasenko <viy@altlinux.ru> 0.57.3-alt2_2 - spec cleanup thanks to ldv@ * Tue Oct 25 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 0.57.3-alt1_2.1 - Rebuild with Python-2.7 * Fri Oct 21 2011 Igor Vlasenko <viy@altlinux.ru> 0.57.3-alt1_2 - update to new release by fcimport * Thu Oct 06 2011 Igor Vlasenko <viy@altlinux.ru> 0.57.3-alt1_1 - update to new release by fcimport * Mon Aug 22 2011 Igor Vlasenko <viy@altlinux.ru> 0.57.2-alt1_1 - initial release by fcimport |