]>
Commit | Line | Data |
---|---|---|
9941e6c3 JB |
1 | # TODO: package %{_datadir}/emacs/site-lisp/quilt.el |
2 | # | |
f90b3602 | 3 | Summary: Scripts for working with series of patches |
91fd48bd | 4 | Summary(pl.UTF-8): Skrypty do pracy z zestawem łatek |
f90b3602 | 5 | Name: quilt |
486d3c16 | 6 | Version: 0.60 |
43aeb8b2 | 7 | Release: 1 |
aee2db2b | 8 | License: GPL v2+ |
f90b3602 | 9 | Group: Applications/Text |
10 | Source0: http://savannah.nongnu.org/download/quilt/%{name}-%{version}.tar.gz | |
486d3c16 | 11 | # Source0-md5: 058a08a9b626bdec9ec8c519dc92158c |
5754ae01 | 12 | URL: http://savannah.nongnu.org/projects/quilt/ |
9941e6c3 JB |
13 | BuildRequires: bash >= 3.0 |
14 | BuildRequires: diffstat >= 1.32 | |
15 | BuildRequires: diffutils >= 2.7 | |
f90b3602 | 16 | BuildRequires: gettext-devel |
9941e6c3 | 17 | BuildRequires: patch >= 2.5 |
7f623d9c | 18 | BuildRequires: perl-tools-pod |
9941e6c3 JB |
19 | Requires: bash >= 3.0 |
20 | Suggests: diffstat >= 1.32 | |
21 | Suggests: diffutils >= 2.7 | |
22 | Suggests: findutils | |
23 | Suggests: patch >= 2.5 | |
f90b3602 | 24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
25 | ||
26 | %description | |
5754ae01 JB |
27 | The scripts allow to manage a series of patches by keeping track of |
28 | the changes each patch makes. Patches can be applied, un-applied, | |
29 | refreshed, etc. | |
f90b3602 | 30 | |
2354c8b4 KK |
31 | The scripts are heavily based on Andrew Morton's patch scripts found |
32 | at <http://www.zip.com.au/~akpm/linux/patches/>. | |
5754ae01 | 33 | |
cae0aa75 JR |
34 | %description -l pl.UTF-8 |
35 | Te skrypty pozwalają na zarządzanie zestawem łatek poprzez śledzenie | |
36 | zmian czynionych przez każdą łatkę. Łaty mogą być nakładane, | |
37 | wycofywane, odświeżane itp. | |
5754ae01 | 38 | |
cae0aa75 JR |
39 | Skrypty te są w dużej mierze oparte na skryptach do łat Andrew |
40 | Mortona, które można znaleźć pod adresem | |
a0e728e4 | 41 | <http://www.zip.com.au/~akpm/linux/patches/>. |
f90b3602 | 42 | |
f90b3602 | 43 | %package -n bash-completion-quilt |
9941e6c3 JB |
44 | Summary: Bash completion for quilt command |
45 | Summary(pl.UTF-8): Bashowe dopełnianie parametrów dla polecenia quilt | |
2354c8b4 KK |
46 | Group: Applications/Shells |
47 | Requires: %{name} = %{version}-%{release} | |
48 | Requires: bash-completion | |
f90b3602 | 49 | |
50 | %description -n bash-completion-quilt | |
9941e6c3 | 51 | Bash completion for quilt command. |
f90b3602 | 52 | |
cae0aa75 | 53 | %description -n bash-completion-quilt -l pl.UTF-8 |
9941e6c3 | 54 | Bashowe dopełnianie parametrów dla polecenia quilt. |
f90b3602 | 55 | |
56 | %prep | |
57 | %setup -q | |
58 | ||
59 | %build | |
264e83f2 | 60 | %configure |
f90b3602 | 61 | %{__make} |
62 | ||
63 | %install | |
64 | rm -rf $RPM_BUILD_ROOT | |
478912c1 | 65 | |
2354c8b4 KK |
66 | %{__make} install \ |
67 | BUILD_ROOT=$RPM_BUILD_ROOT | |
478912c1 | 68 | |
9941e6c3 JB |
69 | # packaged as %doc |
70 | %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/quilt | |
71 | ||
478912c1 | 72 | %find_lang %{name} |
f90b3602 | 73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files -f %{name}.lang | |
78 | %defattr(644,root,root,755) | |
43aeb8b2 | 79 | %doc AUTHORS TODO quilt.changes doc/{quilt.pdf,README{,.EMACS,.MAIL}} |
9941e6c3 JB |
80 | %attr(755,root,root) %{_bindir}/guards |
81 | %attr(755,root,root) %{_bindir}/quilt | |
7f623d9c | 82 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/quilt.quiltrc |
43aeb8b2 | 83 | %attr(755,root,root) %{_datadir}/%{name} |
9941e6c3 JB |
84 | %{_mandir}/man1/guards.1* |
85 | %{_mandir}/man1/quilt.1* | |
f90b3602 | 86 | |
87 | %files -n bash-completion-quilt | |
88 | %defattr(644,root,root,755) | |
5f52aada | 89 | /etc/bash_completion.d/%{name} |