]> git.pld-linux.org Git - packages/gcvs.git/blame - gcvs.spec
- initial version written almost from scratch
[packages/gcvs.git] / gcvs.spec
CommitLineData
5fa387cb 1Summary: gCVS is a GTK port of WinCVS, a Windows-based CVS client.
2Name: gcvs
3Version: 1.0a4
4Release: 1
5License: GPL
6Group: Applications/Communications
7Group(pl): Aplikacje/Komunikacja
8Source0: http://www.wincvs.org/%{name}-%{version}.tar.gz
9Source1: http://www.wincvs.org/howto/wincvs-howto.zip
10Patch0: gcvs-nocvsunix.patch
11URL: http://www.wincvs.org
12BuildRequires: automake
13BuildRequires: gettext-devel
14BuildRequires: gnome-libs-devel
15BuildRequires: gtk+-devel >= 1.2
16BuildRequires: unzip
17Requires: tcl
18Requires: cvs >= 1.10
19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%define _prefix /usr/X11R6
22
23%description
24gCVS is a GTK port of WinCVS, a Windows-based CVS client.
25
26%package howto
27Summary: gCVS is a GTK port of WinCVS, a Windows-based CVS client.
28Group: Applications/Communications
29Group(pl): Aplikacje/Komunikacja
30URL: http://www.computas.com/pub/wincvs-howto/
31
32%description howto
33This document describes day to day usage of the WinCvs 1.0.x client.
34It is not an introduction to version control systems, not an
35introduction to CVS, and not an introduction to WinCvs. It is more
36like a place you may turn to when you know approximately what you want
37to do, but don't quite remember how to do it.
38
39%prep
40%setup -q
41%patch0 -p1
42
43%build
44gettextize --copy --force
45automake
46LDFLAGS="-s"; export LDFLAGS
47%configure
48make
49
50%install
51rm -rf $RPM_BUILD_ROOT
52make install \
53 DESTDIR=$RPM_BUILD_ROOT \
54 sysdir=%{_applnkdir}/Utilities
55
56install -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
57unzip %{SOURCE1} -d $RPM_BUILD_ROOT/%{_docdir}/howto/%{name}-%{version}
58
59gzip -9nf AUTHORS ChangeLog README TODO
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc *.gz
67%doc GuiDoc/cvsgui*html
68%attr(755,root,root) %{_bindir}/gcvs
69%{_datadir}/%{name}/
70
71%files howto
72%defattr(644,root,root,755)
73%{_docdir}/howto/%{name}-%{version}
This page took 0.078022 seconds and 4 git commands to generate.