]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
a6302dafdb5ba532192b1b52015a1ec411a84e1b
[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:  gtk+-devel >= 1.2
13 BuildRequires:  libstdc++-devel
14 BuildRequires:  unzip
15 Requires:       tcl
16 Requires:       cvs >= 1.10
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %define         _prefix         /usr/X11R6
20
21 %description
22 gCVS is a GTK port of WinCVS, a Windows-based CVS client.
23
24 %prep
25 %setup -q
26 %patch0 -p1
27
28 %build
29 CXXFLAGS="$RPM_OPT_FLAGS -fno-rtti"
30 LDFLAGS="-s"
31 export CXXFLAGS LDFLAGS
32 %configure
33 make
34
35 cd cvsunix
36 %configure
37 make
38 cd ..
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 make install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 install cvsunix/src/cvs $RPM_BUILD_ROOT/%{_bindir}
46
47 gzip -9nf AUTHORS ChangeLog README TODO
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files 
53 %defattr(644,root,root,755)
54 %doc *.gz
55 %doc GuiDoc/cvsgui*html
56 %attr(755,root,root) %{_bindir}/gcvs
57 %{_datadir}/%{name}
This page took 0.100545 seconds and 3 git commands to generate.