rpms/cdargs/F-7 cdargs-1.35_emacs-init.el, NONE, 1.1 cdargs-1.35_shebangs.patch, NONE, 1.1 cdargs.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Miloš Jakubíček (mjakubicek) fedora-extras-commits at redhat.com
Wed Mar 26 17:18:49 UTC 2008


Author: mjakubicek

Update of /cvs/pkgs/rpms/cdargs/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv23283/F-7

Modified Files:
	.cvsignore sources 
Added Files:
	cdargs-1.35_emacs-init.el cdargs-1.35_shebangs.patch 
	cdargs.spec 
Log Message:
Initial commit.



--- NEW FILE cdargs-1.35_emacs-init.el ---
;; This defines the function cdargs and an alias cv
(require 'cdargs)

cdargs-1.35_shebangs.patch:

--- NEW FILE cdargs-1.35_shebangs.patch ---
diff -Naur cdargs-1.35/contrib/cdargs-bash.sh cdargs-1.35_patched/contrib/cdargs-bash.sh
--- cdargs-1.35/contrib/cdargs-bash.sh	2006-03-03 00:28:17.000000000 +0100
+++ cdargs-1.35_patched/contrib/cdargs-bash.sh	2008-03-08 11:02:21.000000000 +0100
@@ -1,5 +1,3 @@
-#!/bin/sh
-
 # (C) 2002-2003 Dan Allen and Stefan Kamphausen
 
 # Written by Dan Allen <dan at mojavelinux.com>
diff -Naur cdargs-1.35/contrib/cdargs-tcsh.csh cdargs-1.35_patched/contrib/cdargs-tcsh.csh
--- cdargs-1.35/contrib/cdargs-tcsh.csh	2005-11-06 11:58:13.000000000 +0100
+++ cdargs-1.35_patched/contrib/cdargs-tcsh.csh	2008-03-08 11:02:29.000000000 +0100
@@ -1,5 +1,3 @@
-#!/bin/csh
-
 # (C) 2002-2005 Stefan Kamphausen
 
 # (T)CShell extensions written by


--- NEW FILE cdargs.spec ---
%define	profiledir	%{_sysconfdir}/profile.d

Name:		cdargs
Version:	1.35
Release:	2%{?dist}
Summary:	The shell cd with bookmarks and browser

Group:		Applications/File
License:	GPLv2+
URL:		http://www.skamphausen.de/software/cdargs/
Source0:	http://www.skamphausen.de/software/cdargs/%{name}-%{version}.tar.gz
Source1:	%{name}-%{version}_emacs-init.el
Patch0:		%{name}-%{version}_shebangs.patch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  ncurses-devel

%description
Enables the user to quickly change working directory by navigating cd arguments
and expanding the shell built-in cd with bookmarks and browser.

%package devel
Summary:	Development files for %{name}
Group:		Development/Libraries

Requires:	%{name} = %{version}-%{release}

%description devel
This package contains development files for %{name}.

%package -n emacs-cdargs
Summary:	Cdargs support for Emacs
Group:		Applications/Editors

Requires:	%{name} = %{version}-%{release}
Requires:	emacs(bin) >= 22.1-8

%description -n emacs-cdargs
This is an Emacs front-end to cdargs. It provides a function (cv or
cdargs) which uses the same bookmarks list as the terminal program
cdargs and lets the user quickly make a directory listed there the
current working directory.

%prep
%setup -q
%patch0 -p1

%build
%configure
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT

mkdir -p $RPM_BUILD_ROOT%{profiledir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d

install -p -m 644 contrib/cdargs.el $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/cdargs.el
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d/cdargs-init.el
install -p -m 644 contrib/cdargs-bash.sh $RPM_BUILD_ROOT%{profiledir}/cdargs.sh
install -p -m 644 contrib/cdargs-tcsh.csh $RPM_BUILD_ROOT%{profiledir}/cdargs.csh
install -D -p -m 644 src/cdargs.h $RPM_BUILD_ROOT%{_includedir}/cdargs.h

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root, -)
%{_bindir}/cdargs
%config(noreplace) %{profiledir}/cdargs.*
%doc %{_mandir}/man1/cdargs.1*
%doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO

%files devel
%defattr(-, root, root, -)
%{_includedir}/cdargs.h

%files -n emacs-cdargs
%defattr(-, root, root, -)
%{_datadir}/emacs/site-lisp/cdargs.el
%{_datadir}/emacs/site-lisp/site-start.d/cdargs-init.el

%changelog

* Tue Mar 25 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 1.35-2
- Fixed non-capital starting letter in the summary of emacs-cdargs subpackage.

* Sat Mar 08 2008 Milos Jakubicek <xjakub at fi.muni.cz> - 1.35-1
- Initial package based on SRPM provided by author.
- Removed Packager: and Vendor: field.
- Removed unnecessary making RPM_BUILD_ROOT directory.
- Changed license from GPL to GPLv2+.
- Extended description.
- Setup section is silent now (-p).
- Added SMP flags for building.
- Added directory mode to defattr.
- Added dist tag.
- Changed buildroot directory to default.
- Removed execute rights and shebangs (Patch0) from cdargs.sh, cdargs.csh as
  they will be only sourced, not executed.
- Both files cdargs.sh and cdargs.csh marked as config(noreplace).
- Added -devel subpackage with cdargs.h
- Added emacs-cdargs subpackage with cdargs.el
- Added emacs init script as Source1


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/cdargs/F-7/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	26 Mar 2008 15:59:49 -0000	1.1
+++ .cvsignore	26 Mar 2008 17:18:14 -0000	1.2
@@ -0,0 +1 @@
+cdargs-1.35.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/cdargs/F-7/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	26 Mar 2008 15:59:49 -0000	1.1
+++ sources	26 Mar 2008 17:18:14 -0000	1.2
@@ -0,0 +1 @@
+50be618d67f0b9f2439526193c69c567  cdargs-1.35.tar.gz




More information about the fedora-extras-commits mailing list