]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
deaa9d5f927a958d8fbcd0231d8f6a15 gcvs.png
[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:  autoconf
14 BuildRequires:  automake
15 BuildRequires:  gtk+-devel >= 1.2
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  tcl-devel
18 BuildRequires:  unzip
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 rm -f missing
37 %{__aclocal}
38 %{__autoconf}
39 %{__automake}
40 CXXFLAGS="%{rpmcflags} %{!?debug:-fno-rtti}"
41 %configure
42 %{__make}
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46
47 install -d $RPM_BUILD_ROOT%{_applnkdir}/Development
48
49 %{__make} install \
50         DESTDIR=$RPM_BUILD_ROOT
51
52 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Development/gcvs.desktop
53
54 gzip -9nf AUTHORS ChangeLog README TODO
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc *.gz
62 %doc GuiDoc/cvsgui*html
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/%{name}
65 %{_applnkdir}/Development/gcvs.desktop
This page took 0.068077 seconds and 3 git commands to generate.