]> git.pld-linux.org Git - packages/cvsbook.git/blob - cvsbook.spec
6c3994752cde0be2728b4d5b7bf2d0ecbcc8bda9
[packages/cvsbook.git] / cvsbook.spec
1 Summary:        CVS book
2 Summary(pl):    Ksi±¿ka o CVS
3 Name:           cvsbook
4 Version:        1.21
5 Release:        1
6 License:        GPL v2
7 Group:          Documentation
8 Source0:        http://cvsbook.red-bean.com/%{name}-%{version}-texi.tar.gz
9 # Source0-md5:  9bcfccd92dd153d1c3e928b948c091a4
10 Patch0:         %{name}-dir.patch
11 URL:            http://cvsbook.red-bean.com/
12 BuildRequires:  texinfo
13 BuildArch:      noarch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A set of free chapters "Open Source development with CVS" book about
18 using CVS (Concurrent Versions System) for collaboration and version
19 control. It covers everything from CVS installation and basic
20 concepts all the way to advanced usage and administration. It is
21 intended for anyone who uses or plans to use CVS.
22
23 #%%description -l pl
24
25 %prep
26 %setup -q
27 %patch0 -p1
28
29 %install
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_infodir}
32 makeinfo --no-split --fill-column=72 main.texi
33 install cvsbook.info $RPM_BUILD_ROOT%{_infodir}
34
35 %clean
36 rm -rf $RPM_BUILD_ROOT
37
38 %post
39 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
40
41 %postun
42 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
43
44 %files
45 %defattr(644,root,root,755)
46 %doc TODO
47 %{_infodir}/cvsbook.info*
This page took 0.099386 seconds and 2 git commands to generate.