]> git.pld-linux.org Git - packages/lincvs.git/blob - lincvs.spec
- R =~ s/cvs/cvs-client/
[packages/lincvs.git] / lincvs.spec
1 #
2 #### this spec is DEPRECATED - new name is crossvc.spec
3 #
4 %define         _srcrel 0
5
6 Summary:        A Qt-based tool for managing CVS
7 Summary(pl.UTF-8):      Narzędzie do zarządzania CVS-em oparte na Qt
8 Name:           lincvs
9 Version:        1.4.4
10 Release:        1
11 # GPL if linked with GPLed qt (as in PLD), custom otherwise (see LICENSE)
12 License:        GPL
13 Group:          Development/Version Control
14 Source0:        http://lincvs.com/download/%{name}-%{version}-%{_srcrel}-generic-src.tgz
15 # Source0-md5:  e5bdeeffb2511579b0c9ba3e33f636e8
16 Source1:        LinCVS.desktop
17 Patch0:         %{name}-gcc4.patch
18 URL:            http://www.lincvs.org/
19 BuildRequires:  libtool
20 BuildRequires:  qmake
21 BuildRequires:  qt-devel >= 6:3.3
22 BuildRequires:  sed >= 4.0
23 Requires:       cvs-client >= 1.9
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
27 LinCVS acts as a reliable (!) graphical frontend for the CVS-client
28 supporting both CVS-versions 1.9 and 1.10, perhaps even older ones. It
29 allows to check out a module from and import of a module to a
30 repository, to update or retrieve the status of a working directory or
31 single files and common operations like add, remove and commit, diff
32 against the repository or view of the log messages in list form. In
33 contrast to other programs this one is REALLY easy to use ;-).
34
35 %description -l pl.UTF-8
36 LinCVS działa jako niezawodny(!) graficzny frontend dla klienta CVS.
37 Pozwala na import modułów z i do repozytorium oraz wszelkiego typu
38 inne zwykłe operacje w CVS-ie. W przeciwieństwie do wielu innych
39 programów jest NAPRAWDĘ prosty w użyciu ;-)
40
41 %prep
42 %setup -q
43 %patch0 -p0
44 %{__sed} -i 's,`dirname.*,%{_datadir}/%{name},' LinCVS/AppRun
45
46 %build
47 export QTDIR=%{_prefix}
48 export QMAKESPEC="%{_datadir}/qt/mkspecs/linux-g++/"
49 qmake -o Makefile lincvs.pro
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 install -d $RPM_BUILD_ROOT{%{_bindir},%{_desktopdir},%{_pixmapsdir}}
55 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/{Messages,Tools}
56
57 install LinCVS/AppRun $RPM_BUILD_ROOT%{_bindir}/lincvs
58 install lincvs.bin $RPM_BUILD_ROOT%{_datadir}/%{name}
59 install ts/*.qm $RPM_BUILD_ROOT%{_datadir}/%{name}/Messages
60 install contrib/rshwrapper/rshwrapper $RPM_BUILD_ROOT%{_datadir}/%{name}/Tools
61 install contrib/ssh-askpass/ssh-askpass.bin $RPM_BUILD_ROOT%{_datadir}/%{name}/Tools
62 install tools/*.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/Tools
63 install LinCVS/AppIcon.xpm $RPM_BUILD_ROOT%{_pixmapsdir}/lincvs.xpm
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65
66 %clean
67 rm -fr $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS ChangeLog NEWS LICENSE doc/{README,SSH-HOWTO.txt,PROXY-HOWTO.txt}
72 %attr(755,root,root) %{_bindir}/*
73 %dir %{_datadir}/%{name}
74 %dir %{_datadir}/%{name}/Messages
75 %attr(755,root,root) %{_datadir}/%{name}/lincvs.bin
76 %attr(755,root,root) %{_datadir}/%{name}/Tools
77 %lang(ca) %{_datadir}/%{name}/Messages/ca_ES.qm
78 %lang(de) %{_datadir}/%{name}/Messages/de.qm
79 %lang(es) %{_datadir}/%{name}/Messages/es.qm
80 %lang(fr) %{_datadir}/%{name}/Messages/fr.qm
81 %lang(it) %{_datadir}/%{name}/Messages/it.qm
82 %lang(ja) %{_datadir}/%{name}/Messages/ja.qm
83 %lang(ru) %{_datadir}/%{name}/Messages/ru.qm
84 %lang(vi) %{_datadir}/%{name}/Messages/vi.qm
85 %{_desktopdir}/*.desktop
86 %{_pixmapsdir}/*.xpm
This page took 0.472989 seconds and 3 git commands to generate.