ALT Linux repositórios
Group :: Desenvolvimento/Outros
RPM: esvn
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define qtdir %_qt3dir
%define ver 0.6.11
%define vrel 1
Name: esvn
Summary: eSvn is a cross-platform (QT-based) GUI frontend for the Subversion revision system
Version: %ver
Release: alt3
Source: http://esvn.umputun.com/%name-%ver-%vrel.tar.gz
Patch0: esvn.patch
Group: Development/Other
URL: http://esvn.umputun.com/
License: GPL
Requires: subversion
BuildPreReq: gcc-c++ libqt3-devel libqt3-settings menu-devel
%description
eSvn is a cross-platform (QT-based) GUI frontend for the Subversion revision system.
Author:
-------
Eugene Bort <esvn at umputun.com>
%prep
%setup -q -n %name
%__subst s/doc\\/esvn/doc\\/esvn-%ver/ src/mainwindow.cpp
%patch0 -p1
%build
PATH=$PATH:%qtdir/bin
qmake esvn.pro
qmake esvn-diff-wrapper.pro
%__subst s/-fno-exceptions/-fexceptions/ esvn.mak
%__subst s/-fno-exceptions/-fexceptions/ esvn-diff-wrapper.mak
%__make -f esvn.mak
%__make -f esvn-diff-wrapper.mak
%install
%__mkdir_p %buildroot/{%_bindir,%_datadir/pixmaps,%_datadir/applications,%_docdir/%name-%version}
%__install -m755 %name %buildroot%_bindir/%name
%__install -m755 esvn-diff-wrapper %buildroot%_bindir/esvn-diff-wrapper
%__install -m644 %name.png %buildroot/%_datadir/pixmaps/%name.png
%__install -m644 eSvn.desktop %buildroot%_datadir/applications/%name.desktop
%__install -m644 AUTHORS COPYING LICENSE README VERSION ChangeLog %buildroot%_docdir/%name-%version
cp -f -r html-docs %buildroot/%_docdir/%name-%version/
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/%name
%_bindir/esvn-diff-wrapper
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop
%dir %_docdir/%name-%version
%dir %_docdir/%name-%version/html-docs
%_docdir/%name-%version/*
%changelog
…
Todas as alterações você pod ver aqui
%define qtdir %_qt3dir
%define ver 0.6.11
%define vrel 1
Name: esvn
Summary: eSvn is a cross-platform (QT-based) GUI frontend for the Subversion revision system
Version: %ver
Release: alt3
Source: http://esvn.umputun.com/%name-%ver-%vrel.tar.gz
Patch0: esvn.patch
Group: Development/Other
URL: http://esvn.umputun.com/
License: GPL
Requires: subversion
BuildPreReq: gcc-c++ libqt3-devel libqt3-settings menu-devel
%description
eSvn is a cross-platform (QT-based) GUI frontend for the Subversion revision system.
Author:
-------
Eugene Bort <esvn at umputun.com>
%prep
%setup -q -n %name
%__subst s/doc\\/esvn/doc\\/esvn-%ver/ src/mainwindow.cpp
%patch0 -p1
%build
PATH=$PATH:%qtdir/bin
qmake esvn.pro
qmake esvn-diff-wrapper.pro
%__subst s/-fno-exceptions/-fexceptions/ esvn.mak
%__subst s/-fno-exceptions/-fexceptions/ esvn-diff-wrapper.mak
%__make -f esvn.mak
%__make -f esvn-diff-wrapper.mak
%install
%__mkdir_p %buildroot/{%_bindir,%_datadir/pixmaps,%_datadir/applications,%_docdir/%name-%version}
%__install -m755 %name %buildroot%_bindir/%name
%__install -m755 esvn-diff-wrapper %buildroot%_bindir/esvn-diff-wrapper
%__install -m644 %name.png %buildroot/%_datadir/pixmaps/%name.png
%__install -m644 eSvn.desktop %buildroot%_datadir/applications/%name.desktop
%__install -m644 AUTHORS COPYING LICENSE README VERSION ChangeLog %buildroot%_docdir/%name-%version
cp -f -r html-docs %buildroot/%_docdir/%name-%version/
%post
%update_menus
%postun
%clean_menus
%files
%_bindir/%name
%_bindir/esvn-diff-wrapper
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop
%dir %_docdir/%name-%version
%dir %_docdir/%name-%version/html-docs
%_docdir/%name-%version/*
%changelog
…
Todas as alterações você pod ver aqui