]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
- use -fno-rtti only when not %%{debug}.
[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.0a7
5 Release:        1
6 License:        GPL
7 Group:          Applications/Communications
8 Group(de):      Applikationen/Kommunikation
9 Group(pl):      Aplikacje/Komunikacja
10 Source0:        ftp://cvsgui.sourceforge.net/pub/cvsgui/%{name}-%{version}.tar.gz
11 Source1:        %{name}.desktop
12 Patch0:         %{name}-nocvsunix.patch
13 URL:            http://www.wincvs.org/
14 BuildRequires:  gtk+-devel >= 1.2
15 BuildRequires:  libstdc++-devel
16 BuildRequires:  tcl-devel
17 BuildRequires:  unzip
18 Requires:       tcl
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 
29 bibliotek GTK. Pozwala na wygodne operacje w CVS poprzez
30 graficzny interfejs.
31
32 %prep
33 %setup -q
34 %patch0 -p1
35
36 %build
37 CXXFLAGS="%{rpmcflags} %{!?debug:-fno-rtti}"
38 %configure
39 %{__make}
40
41 cd cvsunix
42 %configure
43 %{__make}
44 cd ..
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48
49 install -d $RPM_BUILD_ROOT%{_applnkdir}/Development
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 install cvsunix/src/cvs $RPM_BUILD_ROOT%{_bindir}
55 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/gcvs.desktop
56
57 gzip -9nf AUTHORS ChangeLog README TODO
58
59 %clean
60 rm -rf $RPM_BUILD_ROOT
61
62 %files 
63 %defattr(644,root,root,755)
64 %doc *.gz
65 %doc GuiDoc/cvsgui*html
66 %attr(755,root,root) %{_bindir}/*
67 %{_datadir}/%{name}
68 %{_applnkdir}/Development/gcvs.desktop
This page took 0.07281 seconds and 3 git commands to generate.