108 lines
3.2 KiB
RPMSpec
108 lines
3.2 KiB
RPMSpec
%define realversion 8_1
|
|
%define dotversion %(echo %{realversion} | sed 's/_/./g')
|
|
Name: tkcvs
|
|
Version: 9.3.3
|
|
Release: 1mamba
|
|
Summary: Tk interface for CVS
|
|
Group: Graphical Desktop/Applications/Development
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Automatic Build System <autodist@mambasoft.it>
|
|
URL: https://twobarleycorns.net/
|
|
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
|
|
## AUTOBUILDREQ-END
|
|
|
|
%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}
|
|
%patch 0 -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
|
|
* Tue May 07 2024 Automatic Build System <autodist@openmamba.org> 9.3.3-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Sun Mar 07 2021 Automatic Build System <autodist@mambasoft.it> 9.3.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* 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;
|