packages: trac-plugin-accountldap/trac-plugin-accountldap.spec - make it build

glen glen at pld-linux.org
Mon Oct 3 13:19:19 CEST 2011


Author: glen                         Date: Mon Oct  3 11:19:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- make it build

---- Files affected:
packages/trac-plugin-accountldap:
   trac-plugin-accountldap.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/trac-plugin-accountldap/trac-plugin-accountldap.spec
diff -u packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.1 packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.2
--- packages/trac-plugin-accountldap/trac-plugin-accountldap.spec:1.1	Mon Oct  3 12:20:52 2011
+++ packages/trac-plugin-accountldap/trac-plugin-accountldap.spec	Mon Oct  3 13:19:13 2011
@@ -5,7 +5,7 @@
 Name:		trac-plugin-%{plugin}
 Version:	0.32
 Release:	0.1
-License:	BSD-like / GPL / ...
+License:	LGPL
 Group:		Applications/WWW
 Source0:	http://trac-hacks.org/changeset/latest/tracsqlhelperscript?old_path=/&format=zip#/%{plugin}.zip
 # Source0-md5:	9f706e733d205d4467ce6534772cb505
@@ -16,17 +16,21 @@
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
+Allows you to change your password defined in LDAP. Also moved the
+basic properties of LDAP (user and mail) to the corresponding
+properties in Trac.
 
 %prep
-%setup -q -n %{plugin}plugin
-mv %{trac_ver}/* .
+%setup -qc
+mv tracsqlhelperscript/anyrelease/* .
 
 %build
 %{__python} setup.py build
 %{__python} setup.py egg_info
 
 ver=$(awk '$1 == "Version:" {print $2}' *.egg-info/PKG-INFO)
-test "$ver" = %{version}
+# it detects version 0.2.1 from egg
+#test "$ver" = %{version}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -46,7 +50,7 @@
 
 %files
 %defattr(644,root,root,755)
-%{py_sitescriptdir}/%{plugin}
+%{py_sitescriptdir}/tracsqlhelper
 %{py_sitescriptdir}/*-*.egg-info
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -55,6 +59,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/10/03 11:19:13  glen
+- make it build
+
 Revision 1.1  2011/10/03 10:20:52  zbyniu
 - new
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/trac-plugin-accountldap/trac-plugin-accountldap.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list