automatic version update by autodist [release 8.2.3-1mamba;Mon Dec 05 2011]

This commit is contained in:
Automatic Build System 2024-01-05 18:34:04 +01:00
parent 94c9dadcef
commit 749dfa6d51
4 changed files with 135 additions and 0 deletions

View File

@ -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.

24
tkcvs-8.1-paths.patch Normal file
View File

@ -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

BIN
tkcvs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

103
tkcvs.spec Normal file
View File

@ -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 <puntogil@libero.it>
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 <autodist@mambasoft.it> 8.2.3-1mamba
- automatic version update by autodist
* Tue Jun 01 2010 Automatic Build System <autodist@mambasoft.it> 8.2.2-1mamba
- automatic update by autodist
* Fri Dec 19 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2-1mamba
- automatic update by autodist
* Wed Jul 30 2008 gil <puntogil@libero.it> 8.1-1mamba
- first build
- added: desktop file; paths.patch;