packages: environment-modules/environment-modules.spec - pldize

glen glen at pld-linux.org
Sun May 9 01:09:04 CEST 2010


Author: glen                         Date: Sat May  8 23:09:04 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pldize

---- Files affected:
packages/environment-modules:
   environment-modules.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/environment-modules/environment-modules.spec
diff -u packages/environment-modules/environment-modules.spec:1.1 packages/environment-modules/environment-modules.spec:1.2
--- packages/environment-modules/environment-modules.spec:1.1	Sat May  8 23:16:30 2010
+++ packages/environment-modules/environment-modules.spec	Sun May  9 01:08:59 2010
@@ -1,12 +1,11 @@
 # $Revision$, $Date$
-#
 Summary:	Provides dynamic modification of a user's environment
 Name:		environment-modules
-Version:	3.2.7b
-Release:	0.01
+Version:	3.2.7
+Release:	0.1
 License:	GPL v2
 Group:		Applications/System
-Source0:	http://downloads.sourceforge.net/modules/modules-%{version}.tar.bz2
+Source0:	http://downloads.sourceforge.net/modules/modules-%{version}b.tar.bz2
 # Source0-md5:	3ebba50a1f79e63aa9e2189e9e6c7952
 Source1:	modules.sh
 Patch0:		%{name}-bindir.patch
@@ -35,9 +34,8 @@
 Modules can also be bundled into metamodules that will load an entire
 suite of different applications.
 
-
 %prep
-%setup -q -n modules-3.2.7
+%setup -q -n modules-%{version}
 %patch0 -p1
 
 %build
@@ -46,32 +44,29 @@
 	--prefix=%{_datadir} \
 	--exec-prefix=%{_datadir}/Modules \
 	--with-module-path=%{_sysconfdir}/modulefiles
-
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
-install -D %SOURCE1 $RPM_BUILD_ROOT%{_sysconfdir}/shrc.d/modules.sh
+
+install -D %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/shrc.d/modules.sh
 ln -s %{_datadir}/Modules/init/csh $RPM_BUILD_ROOT%{_sysconfdir}/shrc.d/modules.csh
 install -d $RPM_BUILD_ROOT%{_sysconfdir}/modulefiles
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/modulecmd
+%doc ChangeLog INSTALL NEWS README TODO
 %dir %{_sysconfdir}/modulefiles
 %{_sysconfdir}/shrc.d/modules.*
+%attr(755,root,root) %{_bindir}/modulecmd
 %{_datadir}/Modules
-%{_mandir}/man1/module.1.*
-%{_mandir}/man4/modulefile.4.*
-
-%doc ChangeLog INSTALL NEWS README TODO
-
+%{_mandir}/man1/module.1*
+%{_mandir}/man4/modulefile.4*
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -79,6 +74,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/05/08 23:08:59  glen
+- pldize
+
 Revision 1.1  2010/05/08 21:16:30  draenog
 - initial version
-
================================================================

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



More information about the pld-cvs-commit mailing list