]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
- now builds on PPC
[packages/gcvs.git] / gcvs.spec
1 Summary:        gCVS is a GTK port of WinCVS, a Windows-based CVS client
2 Summary(pl):    Sportowany pod gtk WinCVS - klient CVS
3 Name:           gcvs
4 Version:        1.0a6
5 Release:        2
6 Epoch:          1
7 License:        GPL
8 Group:          Applications/Communications
9 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/cvsgui/%{name}-%{version}.tar.gz
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-nocvsunix.patch
12 URL:            http://www.wincvs.org/
13 BuildRequires:  gtk+-devel >= 1.2
14 BuildRequires:  libstdc++-devel
15 BuildRequires:  tcl-devel
16 BuildRequires:  unzip
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 Requires:       cvs >= 1.10
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define         _prefix         /usr/X11R6
23
24 %description
25 gCVS is a GTK port of WinCVS, a Windows-based CVS client.
26
27 %description -l pl
28 gCVS jest bazowanym na Windows klientem CVS, u¿ywaj±cym bibliotek GTK.
29 Pozwala na wygodne operacje w CVS poprzez graficzny interfejs.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 CXXFLAGS="%{rpmcflags} %{!?debug:-fno-rtti}"
37
38 cd cvsunix
39 %configure2_13
40 %{__make}
41 cd ..
42
43 aclocal
44 %{__autoconf}
45 %{__automake}
46 %configure2_13
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT%{_applnkdir}/Development
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install cvsunix/src/cvs $RPM_BUILD_ROOT%{_bindir}
58 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/gcvs.desktop
59
60 gzip -9nf AUTHORS ChangeLog README TODO
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %files
66 %defattr(644,root,root,755)
67 %doc *.gz
68 %doc GuiDoc/cvsgui*html
69 %attr(755,root,root) %{_bindir}/*
70 %{_datadir}/%{name}
71 %{_applnkdir}/Development/gcvs.desktop
This page took 0.061645 seconds and 3 git commands to generate.