[Erp5-report] r26107 - in /spec/mandriva: erp5-Localizer/ python2.4-smbpasswd/

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 20 09:38:48 CET 2009


Author: nicolas
Date: Fri Mar 20 09:38:46 2009
New Revision: 26107

URL: http://svn.erp5.org?rev=26107&view=rev
Log:
Initialise RPM for smbpasswd against python2.4

Added:
    spec/mandriva/python2.4-smbpasswd/
    spec/mandriva/python2.4-smbpasswd/python2.4-smbpasswd.spec
Modified:
    spec/mandriva/erp5-Localizer/erp5-Localizer.spec

Modified: spec/mandriva/erp5-Localizer/erp5-Localizer.spec
URL: http://svn.erp5.org/spec/mandriva/erp5-Localizer/erp5-Localizer.spec?rev=26107&r1=26106&r2=26107&view=diff
==============================================================================
--- spec/mandriva/erp5-Localizer/erp5-Localizer.spec [utf8] (original)
+++ spec/mandriva/erp5-Localizer/erp5-Localizer.spec [utf8] Fri Mar 20 09:38:46 2009
@@ -1,6 +1,6 @@
 %define product   Localizer
-%define version   1.1.0
-%define release   9
+%define version   1.2.2
+%define release   10
 
 %define zope_minver 2.7
 
@@ -14,10 +14,7 @@
 Release:   %mkrel %{release}
 License:   GPL
 Group:     System/Servers
-Source:    %{product}-%{version}.tar.bz2
-Patch0:    Localizer-1.1.0-compat.patch.bz2
-Patch1:    Localizer-1.1.0-string_import.patch.bz2
-Patch2:    Localizer-1.1.0-lang_negotiator.patch.bz2
+Source:    %{product}-%{version}.tar.gz
 URL:       http://www.ikaaro.org/localizer/
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-rootdir
 BuildArch: noarch
@@ -33,9 +30,6 @@
 #----------------------------------------------------------------------
 %prep
 %setup -q -c
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
 
 %build
 
@@ -64,6 +58,9 @@
 
 #----------------------------------------------------------------------
 %changelog
+* Thu Jan 29 2009 Nicolas Delaby <nicolas at nexedi.com> 1.2.2-10mdv2009.0
+- Update sources to revision 1.2.2
+
 * Wed Aug  8 2007 Kazuhiko Shiozaki <kazuhiko at nexedi.com> 1.1.0-9mdv2007.1
 - add *.pyc
 

Added: spec/mandriva/python2.4-smbpasswd/python2.4-smbpasswd.spec
URL: http://svn.erp5.org/spec/mandriva/python2.4-smbpasswd/python2.4-smbpasswd.spec?rev=26107&view=auto
==============================================================================
--- spec/mandriva/python2.4-smbpasswd/python2.4-smbpasswd.spec (added)
+++ spec/mandriva/python2.4-smbpasswd/python2.4-smbpasswd.spec [utf8] Fri Mar 20 09:38:46 2009
@@ -1,0 +1,88 @@
+%define __python  /usr/bin/python2.4
+%define module py-smbpasswd
+%define ver 1.0.1
+%define rel %mkrel 1
+
+%define have_pre %(echo %ver|awk '{p=0} /[a-z,A-Z][a-z,A-Z]/ {p=1} {print p}')
+%if %have_pre
+%define version %(perl -e '$name="%ver"; print ($name =~ /(.*?)[a-z]/);')
+%define release 0.%(echo %ver|sed -e 's/%version//g').%rel
+%else
+%define version %ver
+%define release %rel
+%endif
+
+Summary: 	NT/LM hash generation module for Python
+Name: 		python2.4-%{module}
+Version: 	%{version}
+Release: 	%{release}
+Source0: 	http://barryp.org/software/%{module}/files/%{module}-%{ver}.tar.gz
+License:	GPL
+Group: 		Development/Python
+BuildRoot: 	%{_tmppath}/%{module}-buildroot
+Url: 		http://barryp.org/software/%{module}/
+BuildRequires:	libxine-devel python2.4-devel
+
+%description
+This module can generate both LANMAN and NT password hashes, suitable for use 
+with Samba.
+
+Sample usage
+    import smbpasswd    
+    pwd = 'mypassword'
+    print 'LANMAN hash is', smbpasswd.lmhash(pwd)               
+    print 'NT hash is', smbpasswd.nthash(pwd)
+    print 'both hashes at once = %s:%s (lm:nt)' % smbpasswd.hash(pwd)
+
+%prep
+%setup -q -n %{module}-%ver
+
+%build
+env CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files -f INSTALLED_FILES
+%defattr(-,root,root)
+%doc README.txt
+
+
+
+%changelog
+* Thu Mar 10 2009 Nicolas Nicolas <nicolas at nexedi.com> 1.0.1-1nxd2009.0
+- Build against python2.4
+
+* Fri Aug 01 2008 Thierry Vignaud <tvignaud at mandriva.com> 1.0.1-4mdv2009.0
++ Revision: 259472
+- rebuild
+
+* Thu Jul 24 2008 Thierry Vignaud <tvignaud at mandriva.com> 1.0.1-3mdv2009.0
++ Revision: 247326
+- rebuild
+
+* Fri Dec 21 2007 Olivier Blin <oblin at mandriva.com> 1.0.1-1mdv2008.1
++ Revision: 136447
+- restore BuildRoot
+
+  + Thierry Vignaud <tvignaud at mandriva.com>
+    - kill re-definition of %%buildroot on Pixel's request
+
+* Thu Sep 06 2007 Buchan Milne <bgmilne at mandriva.org> 1.0.1-1mdv2008.0
++ Revision: 80514
+- New verison 1.0.1
+
+* Thu Aug 23 2007 Thierry Vignaud <tvignaud at mandriva.com> 1.0-3mdv2008.0
++ Revision: 69409
+- use %%mkrel
+
+
+* Sun Apr 03 2005 Michael Scherer <misc at mandrake.org> 1.0-2mdk
+- Rebuild for new python
+
+* Tue Jul 20 2004 Buchan Milne <bgmilne at linux-mandrake.com> 1.0-1mdk
+- First Mandrake package
+




More information about the Erp5-report mailing list