[packages/quilt] - versioned dependencies, more verbose files
qboosh
qboosh at pld-linux.org
Fri Sep 27 18:00:57 CEST 2013
commit 9941e6c321ab0077ce681b72a78456bfbf260a0d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Fri Sep 27 18:01:35 2013 +0200
- versioned dependencies, more verbose files
quilt.spec | 33 ++++++++++++++++++++++-----------
1 file changed, 22 insertions(+), 11 deletions(-)
---
diff --git a/quilt.spec b/quilt.spec
index ffa7085..dfa42d5 100644
--- a/quilt.spec
+++ b/quilt.spec
@@ -1,3 +1,5 @@
+# TODO: package %{_datadir}/emacs/site-lisp/quilt.el
+#
Summary: Scripts for working with series of patches
Summary(pl.UTF-8): Skrypty do pracy z zestawem łatek
Name: quilt
@@ -8,13 +10,17 @@ Group: Applications/Text
Source0: http://savannah.nongnu.org/download/quilt/%{name}-%{version}.tar.gz
# Source0-md5: 058a08a9b626bdec9ec8c519dc92158c
URL: http://savannah.nongnu.org/projects/quilt/
-BuildRequires: diffstat
+BuildRequires: bash >= 3.0
+BuildRequires: diffstat >= 1.32
+BuildRequires: diffutils >= 2.7
BuildRequires: gettext-devel
+BuildRequires: patch >= 2.5
BuildRequires: perl-tools-pod
-Suggests: diffstat
-Suggests: diffutils
-Suggests: find
-Suggests: patch
+Requires: bash >= 3.0
+Suggests: diffstat >= 1.32
+Suggests: diffutils >= 2.7
+Suggests: findutils
+Suggests: patch >= 2.5
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -35,17 +41,17 @@ Mortona, które można znaleźć pod adresem
<http://www.zip.com.au/~akpm/linux/patches/>.
%package -n bash-completion-quilt
-Summary: bash completion for quilt
-Summary(pl.UTF-8): Dopełnienia basha dla quilt
+Summary: Bash completion for quilt command
+Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla polecenia quilt
Group: Applications/Shells
Requires: %{name} = %{version}-%{release}
Requires: bash-completion
%description -n bash-completion-quilt
-Bash completion for quilt.
+Bash completion for quilt command.
%description -n bash-completion-quilt -l pl.UTF-8
-Dopełnienia basha dla quilt.
+Bashowe dopełnianie parametrów dla polecenia quilt.
%prep
%setup -q
@@ -60,6 +66,9 @@ rm -rf $RPM_BUILD_ROOT
%{__make} install \
BUILD_ROOT=$RPM_BUILD_ROOT
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/quilt
+
%find_lang %{name}
%clean
@@ -68,10 +77,12 @@ rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(644,root,root,755)
%doc AUTHORS TODO quilt.changes doc/{quilt.pdf,README{,.EMACS,.MAIL}}
-%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_bindir}/guards
+%attr(755,root,root) %{_bindir}/quilt
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/quilt.quiltrc
%attr(755,root,root) %{_datadir}/%{name}
-%{_mandir}/man1/*
+%{_mandir}/man1/guards.1*
+%{_mandir}/man1/quilt.1*
%files -n bash-completion-quilt
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/quilt.git/commitdiff/9941e6c321ab0077ce681b72a78456bfbf260a0d
More information about the pld-cvs-commit
mailing list