File: ondir.spec

package info (click to toggle)
ondir 0.2.3%2Bgit0.55279f03-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 188 kB
  • ctags: 53
  • sloc: ansic: 450; makefile: 70; sh: 13; csh: 2
file content (35 lines) | stat: -rw-r--r-- 1,200 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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.
Name: ondir
Version: 0.2.2
Release: 1
Copyright: GPL
Group: Development/Tools
Source: ondir-%{PACKAGE_VERSION}.tar.gz
BuildRoot: /var/tmp/%{name}-buildroot
Packager: Alec Thomas <alec@korn.ch>

%description
OnDir automatically executes scripts in directories when you traverse them at
the command line. This is useful for things like automatically changing your
umask when moving into your ~/public_html directory or adding a project
specific path to your PATH. 
%prep
%setup -q
%build
make PREFIX=/usr CONF=/etc/ondirrc
%install
make DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr CONF=/etc/ondirrc install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc AUTHORS README COPYING INSTALL ChangeLog ondirrc.eg scripts.sh scripts.tcsh
/usr/bin/ondir
/usr/man/man1/ondir.1.gz
%changelog
* Sun Jul 13 2003 Alec Thomas <alec at korn period ch>
- Complete rewrite in C. No longer using automake/autoconf. Updated .spec accordingly.
* Mon Jun 10 2002 Alec Thomas <alec at korn period ch>
- Created build script and corresponding .spec file