]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
- initial version written almost from scratch
[packages/gcvs.git] / gcvs.spec
1 Summary:        gCVS is a GTK port of WinCVS, a Windows-based CVS client.       
2 Name:           gcvs
3 Version:        1.0a4
4 Release:        1
5 License:        GPL
6 Group:          Applications/Communications
7 Group(pl):      Aplikacje/Komunikacja
8 Source0:        http://www.wincvs.org/%{name}-%{version}.tar.gz
9 Source1:        http://www.wincvs.org/howto/wincvs-howto.zip
10 Patch0:         gcvs-nocvsunix.patch
11 URL:            http://www.wincvs.org
12 BuildRequires:  automake
13 BuildRequires:  gettext-devel
14 BuildRequires:  gnome-libs-devel
15 BuildRequires:  gtk+-devel >= 1.2
16 BuildRequires:  unzip
17 Requires:       tcl
18 Requires:       cvs >= 1.10
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %define         _prefix         /usr/X11R6
22
23 %description
24 gCVS is a GTK port of WinCVS, a Windows-based CVS client.
25
26 %package howto
27 Summary:        gCVS is a GTK port of WinCVS, a Windows-based CVS client.       
28 Group:          Applications/Communications
29 Group(pl):      Aplikacje/Komunikacja
30 URL:            http://www.computas.com/pub/wincvs-howto/
31
32 %description howto
33 This document describes day to day usage of the WinCvs 1.0.x client.
34 It is not an introduction to version control systems, not an
35 introduction to CVS, and not an introduction to WinCvs. It is more
36 like a place you may turn to when you know approximately what you want
37 to do, but don't quite remember how to do it.
38
39 %prep
40 %setup -q
41 %patch0 -p1
42
43 %build
44 gettextize --copy --force
45 automake
46 LDFLAGS="-s"; export LDFLAGS
47 %configure
48 make
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52 make install \
53         DESTDIR=$RPM_BUILD_ROOT \
54         sysdir=%{_applnkdir}/Utilities
55
56 install -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
57 unzip %{SOURCE1} -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
58
59 gzip -9nf AUTHORS ChangeLog README TODO
60
61 %clean
62 rm -rf $RPM_BUILD_ROOT
63
64 %files 
65 %defattr(644,root,root,755)
66 %doc *.gz
67 %doc GuiDoc/cvsgui*html
68 %attr(755,root,root) %{_bindir}/gcvs
69 %{_datadir}/%{name}/
70
71 %files howto
72 %defattr(644,root,root,755)
73 %{_docdir}/howto/%{name}-%{version}
This page took 0.05331 seconds and 3 git commands to generate.