packages: darcs/darcs.spec - rel 2 - moved bash completion to separate package
baggins
baggins at pld-linux.org
Mon Apr 12 11:52:17 CEST 2010
Author: baggins Date: Mon Apr 12 09:52:17 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- rel 2
- moved bash completion to separate package
---- Files affected:
packages/darcs:
darcs.spec (1.29 -> 1.30)
---- Diffs:
================================================================
Index: packages/darcs/darcs.spec
diff -u packages/darcs/darcs.spec:1.29 packages/darcs/darcs.spec:1.30
--- packages/darcs/darcs.spec:1.29 Sat Apr 10 21:37:11 2010
+++ packages/darcs/darcs.spec Mon Apr 12 11:52:12 2010
@@ -3,7 +3,7 @@
Summary(pl.UTF-8): David's Advanced Revision Control System - jeszcze jeden zamiennik CVS-a
Name: darcs
Version: 2.4
-Release: 1
+Release: 2
License: GPL v2
Group: Development/Version Control
Source0: http://darcs.net/releases/%{name}-%{version}.tar.gz
@@ -35,6 +35,18 @@
OpenBSD i Microsoft Windows. Darcs zawiera skrypt CGI, który może być
używany do oglądania zawartości repozytorium.
+%package -n bash-completion-darcs
+Summary: bash-completion for darcs
+Summary(pl.UTF-8): bashowe uzupełnianie nazw dla darcsa
+Group: Applications/Shells
+Requires: bash-completion
+
+%description -n bash-completion-darcs
+This package provides bash-completion for darcs.
+
+%description -n bash-completion-darcs -l pl.UTF-8
+Pakiet ten dostarcza bashowe uzupełnianie nazw dla darcsa.
+
%prep
%setup -q
%patch0 -p1
@@ -54,7 +66,6 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
runhaskell Setup.lhs copy --destdir=$RPM_BUILD_ROOT
@@ -62,6 +73,8 @@
rm -rf %{name}-%{version}-doc
cp -a $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version} %{name}-%{version}-doc
+# bash completion
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
install -p contrib/darcs_completion $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d/%{name}
# we only want the binary
@@ -75,15 +88,22 @@
%doc NEWS README
%doc %{name}-%{version}-doc/html
%attr(755,root,root) %{_bindir}/*
-%{_sysconfdir}/bash_completion.d/%{name}
%{_mandir}/man1/*
+%files -n bash-completion-darcs
+%defattr(644,root,root,755)
+%{_sysconfdir}/bash_completion.d/%{name}
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.30 2010/04/12 09:52:12 baggins
+- rel 2
+- moved bash completion to separate package
+
Revision 1.29 2010/04/10 19:37:11 baggins
- rel 1
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/darcs/darcs.spec?r1=1.29&r2=1.30&f=u
More information about the pld-cvs-commit
mailing list