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