Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ee2251acc7 | ||
|
|
b826569c44 | ||
|
|
3e6e4b5eb2 |
3 changed files with 35 additions and 29 deletions
0
.cvsignore → .gitignore
vendored
0
.cvsignore → .gitignore
vendored
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: cdargs
|
|
||||||
# $Id: Makefile,v 1.1 2008/03/26 15:59:49 kevin Exp $
|
|
||||||
NAME := cdargs
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
43
cdargs.spec
43
cdargs.spec
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Name: cdargs
|
Name: cdargs
|
||||||
Version: 1.35
|
Version: 1.35
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
Summary: The shell cd with bookmarks and browser
|
Summary: The shell cd with bookmarks and browser
|
||||||
|
|
||||||
Group: Applications/File
|
Group: Applications/File
|
||||||
|
|
@ -13,7 +13,8 @@ Source1: %{name}-%{version}_emacs-init.el
|
||||||
Patch0: %{name}-%{version}_shebangs.patch
|
Patch0: %{name}-%{version}_shebangs.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
|
BuildRequires: emacs
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Enables the user to quickly change working directory by navigating cd arguments
|
Enables the user to quickly change working directory by navigating cd arguments
|
||||||
|
|
@ -31,9 +32,10 @@ This package contains development files for %{name}.
|
||||||
%package -n emacs-cdargs
|
%package -n emacs-cdargs
|
||||||
Summary: Cdargs support for Emacs
|
Summary: Cdargs support for Emacs
|
||||||
Group: Applications/Editors
|
Group: Applications/Editors
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: emacs(bin) >= 22.1-8
|
Requires: emacs(bin) >= %{_emacs_version}
|
||||||
|
|
||||||
%description -n emacs-cdargs
|
%description -n emacs-cdargs
|
||||||
This is an Emacs front-end to cdargs. It provides a function (cv or
|
This is an Emacs front-end to cdargs. It provides a function (cv or
|
||||||
|
|
@ -41,6 +43,18 @@ cdargs) which uses the same bookmarks list as the terminal program
|
||||||
cdargs and lets the user quickly make a directory listed there the
|
cdargs and lets the user quickly make a directory listed there the
|
||||||
current working directory.
|
current working directory.
|
||||||
|
|
||||||
|
%package -n emacs-cdargs-el
|
||||||
|
Summary: Elisp source files for Cdargs support for Emacs
|
||||||
|
Group: Applications/Editors
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
Requires: emacs-%{name} = %{version}-%{release}
|
||||||
|
|
||||||
|
%description -n emacs-cdargs-el
|
||||||
|
This package contains the Elisp source for providing Cdargs support in
|
||||||
|
Emacs. You don't need to install this package to have Emacs support for
|
||||||
|
Cdargs.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
|
@ -48,16 +62,19 @@ current working directory.
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
%{_emacs_bytecompile} contrib/cdargs.el
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
mkdir -p $RPM_BUILD_ROOT%{profiledir}
|
mkdir -p $RPM_BUILD_ROOT%{profiledir}
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/emacs/site-lisp/site-start.d
|
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir}
|
||||||
|
mkdir -p $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
|
||||||
|
|
||||||
|
install -p -m 644 contrib/cdargs.el* $RPM_BUILD_ROOT%{_emacs_sitelispdir}/%{name}
|
||||||
|
install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/cdargs-init.el
|
||||||
|
|
||||||
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-bash.sh $RPM_BUILD_ROOT%{profiledir}/cdargs.sh
|
||||||
install -p -m 644 contrib/cdargs-tcsh.csh $RPM_BUILD_ROOT%{profiledir}/cdargs.csh
|
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
|
install -D -p -m 644 src/cdargs.h $RPM_BUILD_ROOT%{_includedir}/cdargs.h
|
||||||
|
|
@ -78,10 +95,20 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
%files -n emacs-cdargs
|
%files -n emacs-cdargs
|
||||||
%defattr(-, root, root, -)
|
%defattr(-, root, root, -)
|
||||||
%{_datadir}/emacs/site-lisp/cdargs.el
|
%dir %{_emacs_sitelispdir}/%{name}
|
||||||
%{_datadir}/emacs/site-lisp/site-start.d/cdargs-init.el
|
%{_emacs_sitelispdir}/%{name}/*.elc
|
||||||
|
%{_emacs_sitestartdir}/cdargs-init.el
|
||||||
|
|
||||||
|
%files -n emacs-cdargs-el
|
||||||
|
%defattr(-, root, root, -)
|
||||||
|
%{_emacs_sitelispdir}/%{name}/*.el
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Mar 14 2010 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 1.35-6
|
||||||
|
- Update spec file to bring it into compliance with Emacs add-on packaging
|
||||||
|
guidelines
|
||||||
|
- Split Elisp source files into separate subpackage
|
||||||
|
|
||||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-5
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.35-5
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue