| 1 |
Summary: ondir is a small program to automate tasks specific to certain directories. It works by executing scripts in directories when you enter and leave them. |
| 2 |
Name: ondir |
| 3 |
Version: 0.2.2 |
| 4 |
Release: 1 |
| 5 |
Copyright: GPL |
| 6 |
Group: Development/Tools |
| 7 |
Source: ondir-%{PACKAGE_VERSION}.tar.gz |
| 8 |
BuildRoot: /var/tmp/%{name}-buildroot |
| 9 |
Packager: Alec Thomas <[email protected]> |
| 10 |
|
| 11 |
%description |
| 12 |
OnDir automatically executes scripts in directories when you traverse them at |
| 13 |
the command line. This is useful for things like automatically changing your |
| 14 |
umask when moving into your ~/public_html directory or adding a project |
| 15 |
specific path to your PATH. |
| 16 |
%prep |
| 17 |
%setup -q |
| 18 |
%build |
| 19 |
make PREFIX=/usr CONF=/etc/ondirrc |
| 20 |
%install |
| 21 |
make DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr CONF=/etc/ondirrc install |
| 22 |
|
| 23 |
%clean |
| 24 |
rm -rf $RPM_BUILD_ROOT |
| 25 |
|
| 26 |
%files |
| 27 |
%defattr(-,root,root) |
| 28 |
%doc AUTHORS README COPYING INSTALL ChangeLog ondirrc.eg scripts.sh scripts.tcsh |
| 29 |
/usr/bin/ondir |
| 30 |
/usr/man/man1/ondir.1.gz |
| 31 |
%changelog |
| 32 |
* Sun Jul 13 2003 Alec Thomas <alec at korn period ch> |
| 33 |
- Complete rewrite in C. No longer using automake/autoconf. Updated .spec accordingly. |
| 34 |
* Mon Jun 10 2002 Alec Thomas <alec at korn period ch> |
| 35 |
- Created build script and corresponding .spec file |