diff --git a/README.md b/README.md index c464e1c..2759d7f 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,10 @@ # tkcvs +tkCVS is a Tk based graphical interface to the CVS configuration +management system. It includes facilities for providing "user +friendly" names to modules and directories within the repository, and +provides a facility to interactively browse the repository looking for +modules and directories. + + + diff --git a/tkcvs-8.1-paths.patch b/tkcvs-8.1-paths.patch new file mode 100644 index 0000000..7674b35 --- /dev/null +++ b/tkcvs-8.1-paths.patch @@ -0,0 +1,24 @@ +--- tkcvs_8_1/tkcvs/tkcvs.tcl 2007-11-03 07:09:35.000000000 +0100 ++++ tkcvs_8_1/tkcvs/tkcvs.tcl-gil 2008-07-30 03:41:35.000000000 +0200 +@@ -59,8 +59,8 @@ + } + #puts "TclRoot $TclRoot" + +-set TCDIR [file join $TclRoot tkcvs] +-set cvscfg(bitmapdir) [file join $TclRoot tkcvs bitmaps] ++set TCDIR "/usr/share/tkcvs" ++set cvscfg(bitmapdir) "/usr/share/tkcvs/bitmaps" + #puts "TCDIR $TCDIR" + #puts "BITMAPDIR $cvscfg(bitmapdir)" + +@@ -89,8 +89,8 @@ + } + + # Read in defaults +-if {[file exists [file join $TCDIR tkcvs_def.tcl]]} { +- source [file join $TCDIR tkcvs_def.tcl] ++if {[file exists [file join /etc/cvs tkcvs_def.tcl]]} { ++ source [file join /etc/cvs tkcvs_def.tcl] + } + + # This helps us recover from a problem left behind by tkcvs 7.2 diff --git a/tkcvs.png b/tkcvs.png new file mode 100644 index 0000000..c26b221 Binary files /dev/null and b/tkcvs.png differ diff --git a/tkcvs.spec b/tkcvs.spec new file mode 100644 index 0000000..fe8f786 --- /dev/null +++ b/tkcvs.spec @@ -0,0 +1,103 @@ +%define realversion 8_1 +%define dotversion %(echo %{realversion} | sed 's/_/./g') +Name: tkcvs +Version: 8.2.3 +Release: 1mamba +Summary: Tk interface for CVS +Group: Graphical Desktop/Applications/Development +Vendor: openmamba +Distribution: openmamba +Packager: gil +URL: http://www.twobarleycorns.net/tkcvs.html +Source0: http://www.twobarleycorns.net/%{name}_%{realversion}.tar.gz +Source1: %{name}.png +Patch: %{name}-8.1-paths.patch +License: GPL +Requires: cvs +Requires: cvs-server +## AUTOBUILDREQ-BEGIN +BuildRequires: cvs-server +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +tkCVS is a Tk based graphical interface to the CVS configuration +management system. It includes facilities for providing "user +friendly" names to modules and directories within the repository, and +provides a facility to interactively browse the repository looking for +modules and directories. + + + +%prep + +%setup -q -n %{name}_%{realversion} +%patch0 -p1 + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d %{buildroot}%{_bindir}/ +install -d %{buildroot}%{_datadir}/tkcvs/bitmaps +install -d %{buildroot}%{_mandir}/man1 +install -d %{buildroot}%{_datadir}/pixmaps + +install tkcvs/tkcvs.tcl %{buildroot}%{_bindir}/tkcvs +install tkdiff/tkdiff %{buildroot}%{_bindir}/tkdiff +install tkcvs/*.tcl %{buildroot}%{_datadir}/tkcvs +install tkcvs/tclIndex %{buildroot}%{_datadir}/tkcvs +install tkcvs/bitmaps/* %{buildroot}%{_datadir}/tkcvs/bitmaps/ +install tkcvs/*.1 %{buildroot}%{_mandir}/man1 + +rm -f %{buildroot}%{_mandir}/tkcvs/tkcvs_def.tcl +install -d %{buildroot}%{_sysconfdir}/cvs/ +install tkcvs/tkcvs_def.tcl %{buildroot}%{_sysconfdir}/cvs/ + +install -m 644 %{S:1} %{buildroot}%{_datadir}/pixmaps +mkdir -p %{buildroot}%{_datadir}/applications +cat > %{buildroot}%{_datadir}/applications/%{name}.desktop << EOF +[Desktop Entry] +Name=TKcvs +Comment=Graphic interface for CVS +GenericName[it]=Interfaccia grafica per CVS +Exec=/usr/bin/tkcvs +Icon=/usr/share/pixmaps/tkcvs.png +Terminal=false +Type=Application +Categories=Qt;KDE;Development; +EOF + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sysconfdir}/cvs/tkcvs_def.tcl +%{_bindir}/tkcvs +%{_bindir}/tkdiff +%{_datadir}/applications/tkcvs.desktop +%{_datadir}/pixmaps/tkcvs.png +%dir %{_datadir}/tkcvs +%{_datadir}/tkcvs/*.tcl +%{_datadir}/tkcvs/tclIndex +%dir %{_datadir}/tkcvs/bitmaps +%{_datadir}/tkcvs/bitmaps/*.icns +%{_datadir}/tkcvs/bitmaps/*.xbm +%{_datadir}/tkcvs/bitmaps/*.gif +%{_mandir}/man1/tkcvs.1.gz +%doc COPYING + +%changelog +* Mon Dec 05 2011 Automatic Build System 8.2.3-1mamba +- automatic version update by autodist + +* Tue Jun 01 2010 Automatic Build System 8.2.2-1mamba +- automatic update by autodist + +* Fri Dec 19 2008 Silvan Calarco 8.2-1mamba +- automatic update by autodist + +* Wed Jul 30 2008 gil 8.1-1mamba +- first build +- added: desktop file; paths.patch;