1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
|
# Note that this is NOT a relocatable package
%define ver 1.0a7
%define rel 1
%define prefix /usr/local/gcvs
%define gcvsdocdir %{prefix}/doc/gcvs-%{ver}
Summary: gCvs is a GTK+ interface for CVS (Concurrent Version System)
Name: gcvs
Version: %ver
Release: %rel
Copyright: GPL
Group: Development/Tools
Source: gcvs-%{ver}.tar.gz
BuildRoot: /var/tmp/gcvs-%{PACKAGE_VERSION}-root
Obsoletes: gcvs
URL: http://www.wincvs.org
Requires: gtk+
Docdir: %{prefix}/doc
%description
The gcvs package contains an interface for cvs written in C++ using
gtk+. It contains a version of cvs modified for communication
purposes with gcvs. gcvs is part of a bigger project named CvsGui
which provides several graphical clients on Mac and Windows as well.
Updates are available at http://www.wincvs.org.
%changelog
* Tue Jul 4 2000 Alexandre Parenteau <aubonbeurre@hotmail.com>
- first shot.
%prep
%setup
%build
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
make
%install
rm -rf $RPM_BUILD_ROOT
make prefix=$RPM_BUILD_ROOT%{prefix} install
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README README.SUN TODO
%{prefix}/bin/cvs
%{prefix}/bin/cvsbug
%{prefix}/bin/cvstree
%{prefix}/bin/gcvs
%{prefix}/bin/rcs2log
%{prefix}/info/cvs*
%{prefix}/lib/cvs/*/*
%{prefix}/man/man1/cvs.1
%{prefix}/man/man5/cvs.5
%{prefix}/man/man8/cvsbug.8
%{prefix}/share/gcvs/*.tcl
%{prefix}/share/gcvs/*.txt
%{prefix}/share/gcvs/pixmaps/*.xpm
#%config /etc/gcvs/*
|