]> git.pld-linux.org Git - packages/cvsbook.git/blame - cvsbook.spec
- invoke fix-info-dir via /sbin/postshell where possible to avoid extra /bin/sh dep
[packages/cvsbook.git] / cvsbook.spec
CommitLineData
70037258 1Summary: CVS book
aa9ecbf6 2Summary(pl.UTF-8): Książka o CVS-ie
70037258 3Name: cvsbook
4Version: 1.21
5Release: 1
6License: GPL v2
7Group: Documentation
8Source0: http://cvsbook.red-bean.com/%{name}-%{version}-texi.tar.gz
9# Source0-md5: 9bcfccd92dd153d1c3e928b948c091a4
10Patch0: %{name}-dir.patch
11URL: http://cvsbook.red-bean.com/
12BuildRequires: texinfo
13BuildArch: noarch
14BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16%description
17A set of free chapters "Open Source development with CVS" book about
18using CVS (Concurrent Versions System) for collaboration and version
19control. It covers everything from CVS installation and basic
20concepts all the way to advanced usage and administration. It is
21intended for anyone who uses or plans to use CVS.
22
6c63ce0c
JR
23%description -l pl.UTF-8
24Zbiór wolnodostępnych rozdziałów książki "Open Source development with
25CVS" (rozwijanie oprogramowania o otwartych źródłach przy użyciu
26CVS-u) o korzystaniu z CVS-u do wspólnej pracy i kontroli wersji.
368e84a8 27Pokrywa wszystko od instalacji CVS-u i podstawowych idei do
6c63ce0c
JR
28zaawansowanych zastosowań i administracji. Jest przeznaczony dla
29każdego, kto używa lub planuje używać CVS-u.
70037258 30
31%prep
32%setup -q
33%patch0 -p1
34
35%install
36rm -rf $RPM_BUILD_ROOT
37install -d $RPM_BUILD_ROOT%{_infodir}
38makeinfo --no-split --fill-column=72 main.texi
39install cvsbook.info $RPM_BUILD_ROOT%{_infodir}
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
162dbc8b
ER
44%post -p /sbin/postshell
45-/usr/sbin/fix-info-dir -c %{_infodir}
70037258 46
162dbc8b
ER
47%postun -p /sbin/postshell
48-/usr/sbin/fix-info-dir -c %{_infodir}
70037258 49
50%files
51%defattr(644,root,root,755)
52%doc TODO
53%{_infodir}/cvsbook.info*
This page took 0.078535 seconds and 4 git commands to generate.