Commits

Wei Hu  committed 4025345 Merge

.

  • Participants
  • Parent commits 6eb140b, f7268c2

Comments (0)

Files changed (4)

+sudo ln -s `pwd`/bashkell.1 /usr/share/man/man1/
+sudo ln -s `pwd`/bashkell /etc/profile.d/bashkell.sh
+http://groups.google.com/group/fa.haskell/browse_thread/thread/a0e9530042516002

File bashkell.spec

-Summary: Haskell-like functions for bash
-Name: bashkell
-Version: PACKAGE_REV
-Release: PACKAGE_REL
-Group: Tools
-License: GPL
-Source: bashkell-PACKAGE_REV.src.tar.gz
-BuildRoot: /tmp/bashkell-root
-Packager: Patrick LeBoutillier <patrickl@croesus.com>
-Requires: bash
-
-%description
-Haskell-like functions for bash. Includes map, filter, foldr/foldr. 
-Most functions support lambda expressions.
-
-%prep
-%setup
-
-%build
-make
-
-%install
-if [ "$RPM_BUILD_ROOT" != "" -a "$RPM_BUILD_ROOT" != "/" ] ; then
-    rm -rf $RPM_BUILD_ROOT
-fi
-export RPM_BUILD_ROOT
-make MANDIR=%_mandir install
-
-%post
-ln -sf $RPM_BUILD_ROOT/usr/lib/bashkell/bashkell $RPM_BUILD_ROOT/etc/profile.d/bashkell.sh
-
-
-%clean
-if [ "$RPM_BUILD_ROOT" != "" -a "$RPM_BUILD_ROOT" != "/" ] ; then
-    rm -rf $RPM_BUILD_ROOT
-fi
-
-%files
-%defattr(-,root,root)
-/usr/lib/bashkell/bashkell
-%doc %_mandir/man1/bashkell.1.gz

File bashkell.x

-.svn