]> git.pld-linux.org Git - packages/esvn.git/blob - esvn.spec
- up to 0.6.12
[packages/esvn.git] / esvn.spec
1 Summary:        eSvn - a cross-platform (Qt-based) GUI frontend for the Subversion revision system
2 Summary(pl.UTF-8):      eSvn - wieloplatformowy (oparty na Qt) graficzny interfejs użytkownika do Subversion
3 Name:           esvn
4 Version:        0.6.12
5 Release:        1
6 License:        GPL
7 Group:          X11/Development/Tools
8 Source0:        http://dl.sourceforge.net/esvn/%{name}-%{version}-1.tar.gz
9 # Source0-md5:  25a54a392b3798681b00dfe32807c9e3
10 Patch0:         %{name}-build.patch
11 URL:            http://zoneit.free.fr/esvn/
12 BuildRequires:  qmake
13 BuildRequires:  qt-devel >= 1:3.0.0
14 BuildRequires:  sed >= 4.0
15 Requires:       subversion
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 eSvn is a cross-platform (Qt-based) GUI frontend for the Subversion
20 revision system.
21
22 %description -l pl.UTF-8
23 eSvn jest wieloplatformowym (opartym na Qt) graficznym interfejsem
24 użytkownika dla Subversion.
25
26 %prep
27 %setup -q -n %{name}
28 %patch0 -p1
29
30 %build
31 %{__sed} -i 's,-lqt ,-lqt-mt ,g' *.vpj
32 %{__sed} -i 's,Categories.*,Categories=Qt;Development;RevisionControl;,' eSvn.desktop
33
34 export QTDIR=%{_prefix}
35 %{__make} \
36         CXX="%{__cxx}"
37
38 %install
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{_desktopdir},%{_docdir}/esvn}
41 install esvn $RPM_BUILD_ROOT%{_bindir}/esvn
42 install esvn-diff-wrapper $RPM_BUILD_ROOT%{_bindir}/esvn-diff-wrapper
43 install esvn.png $RPM_BUILD_ROOT%{_pixmapsdir}/esvn.png
44 install eSvn.desktop $RPM_BUILD_ROOT%{_desktopdir}/eSvn.desktop
45 cp -f -r html-docs $RPM_BUILD_ROOT%{_docdir}/esvn
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(644,root,root,755)
52 %doc AUTHORS COPYING ChangeLog LICENSE README VERSION
53 %attr(755,root,root) %{_bindir}/esvn
54 %attr(755,root,root) %{_bindir}/esvn-diff-wrapper
55 %{_pixmapsdir}/esvn.png
56 %{_desktopdir}/eSvn.desktop
57 %{_docdir}/esvn
This page took 0.112094 seconds and 4 git commands to generate.