]> git.pld-linux.org Git - packages/gcvs.git/blob - gcvs.spec
- pl desc fix
[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.0
5 Release:        4
6 Epoch:          2
7 License:        GPL
8 Group:          Applications/Communications
9 Source0:        http://dl.sourceforge.net/cvsgui/%{name}-%{version}.tar.bz2
10 # Source0-md5:  063b5805eda434f47251af9278168adb
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 Patch0:         %{name}-nocvsunix.patch
14 Patch1:         %{name}-ambiguous.patch
15 Patch2:         %{name}-types.patch
16 URL:            http://www.wincvs.org/
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  gtk+-devel >= 1.2
20 BuildRequires:  libstdc++-devel
21 BuildRequires:  tcl-devel
22 BuildRequires:  unzip
23 Requires:       cvs >= 1.10
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 gCVS is a GTK+ port of WinCVS, a Windows-based CVS client.
28
29 %description -l pl
30 gCVS to sportowana na GTK+ wersja WinCVS - klienta CVS opartego na
31 Windows. Pozwala na wygodne operacje w CVS poprzez graficzny
32 interfejs.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37 %patch1 -p1
38 %patch2 -p1
39
40 %build
41 %{__aclocal}
42 %{__autoconf}
43 %{__autoheader}
44 %{__automake}
45 CXXFLAGS="%{rpmcflags} -fno-rtti"
46 %configure
47 %{__make}
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT
56
57 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/gcvs.desktop
58 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %files
64 %defattr(644,root,root,755)
65 %doc AUTHORS ChangeLog NEWS README TODO
66 %doc GuiDoc/cvsgui*html
67 %attr(755,root,root) %{_bindir}/*
68 %{_datadir}/%{name}
69 %{_desktopdir}/gcvs.desktop
70 %{_pixmapsdir}/gcvs.png
This page took 0.071381 seconds and 3 git commands to generate.