packages: libuser/libuser.spec - up to 0.57.1
glen
glen at pld-linux.org
Sat Oct 1 22:05:43 CEST 2011
Author: glen Date: Sat Oct 1 20:05:43 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.57.1
---- Files affected:
packages/libuser:
libuser.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: packages/libuser/libuser.spec
diff -u packages/libuser/libuser.spec:1.12 packages/libuser/libuser.spec:1.13
--- packages/libuser/libuser.spec:1.12 Sun Feb 6 17:50:39 2011
+++ packages/libuser/libuser.spec Sat Oct 1 22:05:38 2011
@@ -1,14 +1,20 @@
# $Revision$, $Date$
+# TODO
+# - tests need local ldap running (should start own copy of daemon instead)
+#
+# Conditional build:
+%bcond_with tests # do not perform "make test"
+
Summary: A user and group account administration library
Summary(pl.UTF-8): Biblioteka do administrowania kontami użytkowników i grup
Name: libuser
-Version: 0.56.6
-Release: 5
+Version: 0.57.1
+Release: 1
License: LGPL v2+
-Group: Applications/System
-Source0: %{name}-%{version}.tar.bz2
-# Source0-md5: 74bd4ad52d81ccf67a8f6cd110add809
-Patch0: %{name}-selinux.patch
+Group: Base
+Source0: https://fedorahosted.org/releases/l/i/libuser/%{name}-%{version}.tar.xz
+# Source0-md5: be82c6941264d0b4bd04f95fb342ec7d
+URL: https://fedorahosted.org/libuser/
BuildRequires: cyrus-sasl-devel
BuildRequires: glib2-devel >= 2.0
BuildRequires: libselinux-devel
@@ -18,6 +24,12 @@
BuildRequires: popt-devel
BuildRequires: python-devel
BuildRequires: sgml-tools
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+%if %{with tests}
+BuildRequires: openldap
+BuildRequires: openldap-servers
+%endif
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -70,7 +82,6 @@
%prep
%setup -q
-%patch0 -p0
%build
%configure \
@@ -79,14 +90,15 @@
--with-html-dir=%{_gtkdocdir}
%{__make}
+%{?with_tests:%{__make} check}
+
%install
rm -rf $RPM_BUILD_ROOT
-
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-rm $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
-rm $RPM_BUILD_ROOT%{py_sitedir}/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
+%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.la
%find_lang %{name}
@@ -151,6 +163,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2011/10/01 20:05:38 glen
+- up to 0.57.1
+
Revision 1.12 2011/02/06 16:50:39 sparky
- unified %clean section
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libuser/libuser.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list