]> git.pld-linux.org Git - SPECS.git/blob - tkcvs.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / tkcvs.spec
1 %define tar_version     %(echo %{version} | tr . _)
2 Summary:        Tk interface for CVS
3 Summary(pl.UTF-8):      Interfejs Tk dla CVS
4 Name:           tkcvs
5 Version:        8.2
6 Release:        1
7 License:        GPL
8 Group:          Development/Version Control
9 Source0:        http://www.twobarleycorns.net/%{name}_%{tar_version}.tar.gz
10 # Source0-md5:  f263e59233625145a4efc38b14241e0c
11 Source1:        %{name}.desktop
12 Source2:        %{name}.png
13 URL:            http://www.twobarleycorns.net/tkcvs.html
14 BuildRequires:  perl-base
15 BuildRequires:  tcl
16 Patch0:         %{name}-EDITOR.patch
17 Requires:       cvs-client
18 Requires:       rcs
19 Requires:       tcl
20 Requires:       tk >= 8.1
21 BuildArch:      noarch
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %define         _ulibdir /usr/lib
25
26 %description
27 TkCVS is a Tcl/Tk-based graphical interface to the CVS configuration
28 management system. It displays the status of the files in the current
29 working directory, and provides buttons and menus to execute CVS
30 commands on the selected files. TkDiff is included for browsing and
31 merging your changes.
32
33 %description -l pl.UTF-8
34 TkCVS jest opartym o Tcl/Tk graficznym interfejsem do systemu
35 zarządzania wersjami CVS. Program wyświetla stan plików w aktualnym
36 katalogu roboczym, potrafi wyświetlić historię wybranego pliku w
37 postaci wykresu oraz pozwala na wykonywanie poleceń CVS przy użyciu
38 menu i guzików. W skład pakietu wchodzi TkDiff - narzędzie do
39 przeglądania i łączenia naniesionych modyfikacji.
40
41 %prep
42 %setup -q -n %{name}_%{tar_version}
43 %patch0 -p1
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_mandir}/man1}
48
49 ./doinstall.tcl -nox -finallib %{_ulibdir} $RPM_BUILD_ROOT%{_prefix}
50
51 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
52 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
53 install tkcvs/tkcvs.1 $RPM_BUILD_ROOT%{_mandir}/man1/tkcvs.1
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc CHANGELOG FAQ vendor5readme.pdf
61 %attr(755,root,root) %{_bindir}/*
62 %{_ulibdir}/tkcvs
63 %{_desktopdir}/*.desktop
64 %{_pixmapsdir}/tkcvs.png
65 %{_mandir}/man1/*
This page took 0.441117 seconds and 3 git commands to generate.