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