-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathcdargs.spec
44 lines (35 loc) · 1.05 KB
/
cdargs.spec
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
36
37
38
39
40
41
42
43
%define profiledir %{_sysconfdir}/profile.d
Name: cdargs
Version: 1.35
Release: 1
Vendor: Stefan Kamphausen <http://www.skamphausen.de>
License: GPL
Group: Applications/File
Packager: Oron Peled <[email protected]>
Summary: The Shell cd with bookmarks and browser
Source: http://www.skamphausen.de/software/cdargs/%name-%version.tar.gz
URL: http://www.skamphausen.de/software/cdargs/
Buildroot: %{_tmppath}/%{name}-%{version}-root
%description
Navigate cd Arguments/expand the shell built-in cd with bookmarks and browser
%prep
%setup
%build
%configure
make
%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
make DESTDIR=$RPM_BUILD_ROOT install
mkdir -p $RPM_BUILD_ROOT%{profiledir}
install -m 755 contrib/cdargs-bash.sh $RPM_BUILD_ROOT%{profiledir}/cdargs.sh
install -m 755 contrib/cdargs-tcsh.csh $RPM_BUILD_ROOT%{profiledir}/cdargs.csh
%files
%defattr(-, root, root)
%{_bindir}/cdargs
%{profiledir}/cdargs.*
%doc %{_mandir}/man1/cdargs.1*
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO
%doc contrib/cdargs.el
%clean
rm -rf $RPM_BUILD_ROOT