Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37515373
en ru br
ALT Linux repositórios
S:1.2.1-alt2.1

Group :: Sistema/Internacionalização
RPM: qgoogletranslator

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: qgoogletranslator
Version: 1.2.1
Release: alt2.1
Summary: Qt gui for google translate based on ajax api
License: GPLv3
Group: System/Internationalization
URL: http://code.google.com/p/qgt/

Source: %name-%version.tar
Patch: qgoogletranslator-1.2.1-alt-glibc-2.16.patch

BuildRequires: gcc-c++ libqt4-devel
BuildRequires: cmake

Packager: Andrey Cherepanov <cas at altlinux.org>

%description
Description: dictionary lookup program, based on translate.google.com site
* Translation of selection buffer contents (by key press or automatically)
* Show up translation result in tool tip, main window and system tray
* Support for pronouncing feature
* Proxy support
* Reserved words (words, excluded from translation)
* Translation history
* Input language autodetection


%prep
%setup -q
%patch -p2
subst "s,/usr/local,%buildroot/usr/,g" ./CMakeLists.txt
subst "s,X11_LIBRARIES},X11_LIBRARIES} X11,g" ./CMakeLists.txt

%build
mkdir build
cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_C_FLAGS='%optflags' \
-DCMAKE_CXX_FLAGS='%optflags'
%make VERBOSE=1

%install
cd build
make install DESTDIR=%buildroot

%files
%_bindir/%name
%dir %_datadir/%name
%dir %_datadir/%name/l10n
%_datadir/%name/*
%_datadir/pixmaps/%name.png
%_datadir/applications/%name.desktop

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009